Hello everybody,

Refering to documentation (
https://developers.google.com/google-ads/api/docs/reporting/zero-impressions) 
zero imprressions could be excluded using segments. However, that's not 
working properly. If I try to execute following query, I still get many 
zero impression values:

SELECT 
campaign.id
,ad_group.id
,ad_group_ad.ad.id
,segments.date
,metrics.impressions
,metrics.clicks
,metrics.cost_micros
,metrics.conversions
,metrics.conversions_value
,metrics.gmail_secondary_clicks
,metrics.absolute_top_impression_percentage
,metrics.top_impression_percentage
,metrics.video_views 


FROM ad_group_ad 


WHERE segments.date '2019-12-01'


Do you have any idea, how to exclude zero impressions and zero clicks? I 
need all values where 

metrics.impressions > 0
OR metrics.clicks > 0
OR metrics.cost_micros > 0
OR metrics.conversions > 0
OR metrics.conversions_value > 0
OR metrics.gmail_secondary_clicks > 0
OR metrics.absolute_top_impression_percentage > 0
OR metrics.top_impression_percentage > 0
OR metrics.video_views > 0

However, OR condition is not available in WHERE clause (
https://developers.google.com/google-ads/api/docs/query/grammar). So what 
could I do?


Best regards,
Hannes 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/13afa9fd-a922-415e-b33e-035749606e65%40googlegroups.com.
  • Google Ads - Exc... 'Hannes Fischer' via AdWords API and Google Ads API Forum

Reply via email to