The combination of dimensions, metrics, and filters in your report is invalid

1,875 views
Skip to first unread message

khalid...@gmail.com

unread,
Jun 25, 2014, 1:07:11 PM6/25/14
to google-doubleclick-...@googlegroups.com
Hi, I am an Advertisement Agency developer. I want to know how to create a report with the specific parameters below: 

Filter:
 dfa:floodlightConfigId

Dimension:
 dfa:paidSearchCampaign

Metric:
 dfa:clicks
 dfa:paidSearchClicks
 dfa:mediaCost
 dfa:costPerClick
 dfa:roadblockImpressions
 dfa:impressions
 dfa:paidSearchAveragePosition
 dfa:clickRate
 dfa:totalConversions
 
 
 However, I get an error saying the parameters are incompatible.

Jonathon Imperiosi (DFA API Team)

unread,
Jul 1, 2014, 12:29:45 PM7/1/14
to google-doubleclick-...@googlegroups.com, khalid...@gmail.com
Hello,

Not all reporting fields work together. There is likely some combination of dimensions, metrics or filters you've listed that is not valid. Since determining which fields work together can be quite tricky, I normally suggest using the Report Builder UI to help. The UI will automatically limit you to only valid combinations of fields. Once your report is created from the UI, you can use the API to run and make edits to it.

You could also look into using the Reports.compatibleFields service to programmatically determine which combination of fields are valid.

Regards,
- Jonathon Imperiosi, DFA API Team
Reply all
Reply to author
Forward
0 new messages