Hi,

I am currently trying to generate reports that segment the metrics data on 
variables like age, gender, income, etc., but on the *campaign *level (i.e. 
reports that are akin to the *GENDER_PERFORMANCE_REPORT*, 
*AGE_RANGE_PERFORMANCE_REPORT*, etc in the Adwords API).

As of right now, I am able to generate reports that segment the data on the 
*ad_group 
*level by selecting the *ad_group_criterion*.<*variable*>.*type*. I tried 
selecting the *campaign_criterion*.<*variable*>.*type *field but this gave 
me this error:

 error_code {
    query_error: PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE
  }
  message: "Cannot select fields from the following resource: 
\'CAMPAIGN_CRITERION\', since the resource is incompatible with the 
resource in FROM clause."

After reading the docs more closely I see that it says, "These fields 
[campaign_criterion] *will not segment* metrics in your SELECT clause."

Will I have to aggregate the data on the *ad_group *level to get the 
reports for the *campaign *level, or is there a way to leverage the Google 
Ads API differently to get the data on the *campaign *level?

Thanks,
Jake 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3b4da119-67b3-4960-92a3-ab897b86eb4fn%40googlegroups.com.

Reply via email to