Clarification on Custom Floodlight Variables

197 views
Skip to first unread message

oks...@tapclicks.com

unread,
Dec 5, 2023, 11:31:43 AM12/5/23
to Google's Campaign Manager 360 API Forum
Hi team!
I need more information on Custom Floodlight Variable X values I can pull in API reports.
For instance, my client has next custom variables: 
[userDefinedVariableConfigurations] => Array
                (
                    [0] => Array
                        (
                            [variableType] => U1
                            [dataType] => STRING
                            [reportName] => Item Name
                        )

                    [1] => Array
                        (
                            [variableType] => U2
                            [dataType] => STRING
                            [reportName] => order ID
                        )

                    [2] => Array
                        (
                            [variableType] => U3
                            [dataType] => STRING
                            [reportName] => Item Description
                        )

                    [3] => Array
                        (
                            [variableType] => U6
                            [dataType] => NUMBER
                            [reportName] => Number of items sold
                        )

                    [4] => Array
                        (
                            [variableType] => U7
                            [dataType] => STRING
                            [reportName] => Item Types
                        )

                    [5] => Array
                        (
                            [variableType] => U8
                            [dataType] => STRING
                            [reportName] => Item Variant
                        )
                )
I'd like to request report with type= floodlightCriteria. 
Which fields should I request to get data of my variables U1 - U8? 

Per documentation https://developers.google.com/doubleclick-advertisers/v4/dimensions?hl=en#floodlight-metrics , I can request floodlightVariableMetric1 - floodlightVariableMetric100, floodlightVariableDimension1 - floodlightVariableDimension100 . 
And I'm looking for answer on how my userDefinedVariableConfigurations U1 - U8 are mapped to report request fields.

Thanks in advance for your help!
Oksana

DCM API (DoubleClick Campaign Mgr)

unread,
Dec 5, 2023, 3:54:42 PM12/5/23
to google-doubleclick-...@googlegroups.com
Hi Team,

Thank you for reaching out to the DCM API support team.

By reviewing your concern, I understand that you are facing issues while using the DCM API. Can you please elaborate your issue and share the following details to investigate further:
  • DCM Account ID- You can find under your profile icon in your Campaign Manager 360 UI. You can also find it in the Account section, which is located under the Admin drop-down.
  • Report ID and File ID.
  • Complete JSON request and response logs.
  • Error screenshots (if any).
  • The user email used for authenticating the API query.
 You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qWl6a:ref"

Thanks,
 
Google Logo DCM API Team
​​​​​​​

oks...@tapclicks.com

unread,
Dec 6, 2023, 6:17:34 AM12/6/23
to Google's Campaign Manager 360 API Forum
Hi DCM API Team,
Thanks for looking at my question!
I don't have issues using the DCM API, I rather have a question for which I can't find an answer in documentation.
I 'm on the stage where I need to define proper dimensions and metrics to request in report, so I can't provide the logs yet. 
Could you please explain which https://developers.google.com/doubleclick-advertisers/v4/dimensions?hl=en#floodlight-dimensions and  https://developers.google.com/doubleclick-advertisers/v4/dimensions?hl=en#floodlight-metrics can I use to get data correspondent to userDefinedVariableConfigurations variables U1 - U8? 
Thanks a lot!
Oksana

DCM API (DoubleClick Campaign Mgr)

unread,
Dec 6, 2023, 8:48:15 AM12/6/23
to google-doubleclick-...@googlegroups.com
Hi Oksana,

Thank you for getting back to us.

You can find the floodlightVariableDimension1 - floodlightVariableDimension8 and floodlightVariableMetric1 - floodlightVariableMetric8 for the userDefinedVariableConfigurations variables U1 - U8 in the reporting. 

Hope this helps. For any other assistance you may get back to us.

oks...@tapclicks.com

unread,
Dec 7, 2023, 8:29:19 AM12/7/23
to Google's Campaign Manager 360 API Forum
Thanks team, this is helpful!
I requested floodlightVariableDimension1 - floodlightVariableDimension8 and floodlightVariableMetric1 - floodlightVariableMetric8 and got my U1-U8 custom variables values.
FloodlightVariableDimension1 - floodlightVariableDimension8 contented the string representation of U1-U8, while floodlightVariableMetric1 - floodlightVariableMetric8 contented numeric representation of the same U1-U8.
Just providing my findings for people who could be interested in answer of this topic question. 
Thanks again for your answers DCM API team!

I have one additional question if possible. Can we think that advertiser.id is always the same as advertiser.floodlightConfigurationId in advertiser object
Thanks,
Oksana

DCM API (DoubleClick Campaign Mgr)

unread,
Dec 7, 2023, 1:36:29 PM12/7/23
to google-doubleclick-...@googlegroups.com
Hi Team,


Thank you for getting back to us.

Kindly note that  advertiser.id is not the same as advertiser.floodlightConfigurationId. I would suggest you to refer to this link that gives more information about the floodlightConfigurationId. Hope this helps. Please feel free to get back to us if you still have any queries.

oks...@tapclicks.com

unread,
Dec 7, 2023, 1:42:24 PM12/7/23
to Google's Campaign Manager 360 API Forum
Thanks for confirmation!
Reply all
Reply to author
Forward
0 new messages