Error: Incompatible fields: 400 badRequest Selected dimensions and metrics cannot be queried together.
Hello,
I want to add a campaign filter to my DBM data source. When I do this I get the following error:
Error: Incompatible fields: 400 badRequest Selected dimensions and metrics cannot be queried together. ga:Date, ga:Year, ga:week, ga:dbmimpressions, ga:dbmclicks, ga:dbmcost, ga:dbmctr, ga:dbmcpc, ga:dbmcpm IllegalDimensionMetricCombinationException
I am combining the following:
- Metrics: ["ga:dbmImpressions","ga:dbmClicks","ga:dbmCost","ga:dbmCTR","ga:dbmCPC","ga:dbmCPM"]
- Filters: [{"field":"Source","operator":"==","value":"dbm","combineToPrev":";"},{"field":"Campaign","operator":"=@","value":"always","combineToPrev":";"}]
I don't get any errors when I delete the filter. The strange thing is that I can run with the same filters with these metrics:
[{"field":"Source","operator":"==","value":"dbm","combineToPrev":";"},{"field":"Campaign","operator":"=@","value":"always","combineToPrev":";"}]
Gr,
Nils Sickman