I was comparing results between requests to the AdWords and new Ads APIs 
and was noticing some missing data coming from the new Ads API. Upon 
further investigation, it's missing the rows where impressions == 0. The 
documentation seems to indicate that this should not be happening...

Workflow Changes in the Google Ads API  |  Google Developers 
<https://developers.google.com/google-ads/api/docs/migration/workflow?hl=en>

   - Rows for zero impressions are returned by default in the Google Ads 
   API. There is no includeZeroImpressions parameter. If you want to 
   exclude zero impression rows, use a predicate such as metrics.impressions 
   > 0 in your Google Ads Query Language.

...but the only conditional expression I have in my WHERE is around dates.

SELECT ...
FROM ad_group_ad
WHERE segments.date >= "2022-03-30" AND segments.date <= "2022-04-05"

Jason

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1952c3f4-d974-4db9-bf7a-0d619b507da2n%40googlegroups.com.
  • Ze... 'Jason Brinkle' via Google Ads API and AdWords API Forum
    • ... Mat
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to