Hi Team,
I'm working on a migration from AdWords API to Google Ads API and I found 
an issue while trying to pull AdGroup level performance data 
(absolute_top_impression_percentage and top_impression_percentage) on an 
hourly level. AdWords API allows to pull AdGroup Performance data at an 
hourly level, it is also available in the Google Ads UI.
What is the proper way to pull this data (AdGroup Performance Hourly) 
programmatically using Google Ads API?

GAQL query:
```
SELECT ad_group.id
, metrics.clicks
, metrics.cost_micros
, ad_group.cpc_bid_micros
, metrics.impressions
, metrics.top_impression_percentage
, metrics.absolute_top_impression_percentage
, segments.hour
FROM ad_group
WHERE segments.date = '2021-09-06'
```

Error:
```
Cannot select the following segments because at least one unsupported 
metric is found in SELECT or WHERE clause: 'segments.hour'(unsupported 
metrics: 'absolute_top_impression_percentage', 'top_impression_percentage').
```

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/0e5e65eb-dd9b-468d-8d0f-3de65a53d41en%40googlegroups.com.

Reply via email to