I would like to retrieve the KPIs of a PerformanceMax campaign at 
AssetGroup level. I can create the query in the Google Ads Query Builder. 
Unfortunately, I get the following error message, but it should actually 
work to retrieve the data

SELECT campaign.id, campaign.name, metrics.clicks, metrics.cost_micros, 
metrics.impressions FROM asset_group WHERE segments.date BETWEEN 
'2024-04-01' AND '2024-04-26' AND campaign.id = xxxxxxx

Error: Cannot select or filter on the following segments: 
'segments.date'(could not support requested resources: 'ASSET_GROUP'), 
since segment is incompatible with the resource in the FROM clause or other 
selected segmenting resources.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f7113c91-dc76-4e06-857b-bec2445902e2n%40googlegroups.com.
  • Ca... Markus H.
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to