Google Ads API is returning zero values for a specific compaign

43 views
Skip to first unread message

Rehan Munir

unread,
Sep 15, 2022, 2:22:07 AM9/15/22
to Google Ads API and AdWords API Forum
I am using following query to get data for all the ads linked to the account.

SELECT campaign.id, campaign.name, ad_group.id, ad_group.name, ad_group_ad.ad.text_ad.headline,ad_group_ad.ad.text_ad.description1,ad_group_ad.ad.text_ad.description2,ad_group_ad.ad.display_url,metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.all_conversions, ad_group_ad.ad.id,metrics.bounce_rate, metrics.average_time_on_site,metrics.average_page_views, ad_group_ad.ad.image_ad.image_url,ad_group_ad.ad.final_urls, ad_group_ad.ad.expanded_text_ad.headline_part1, ad_group_ad.ad.expanded_text_ad.headline_part2, ad_group_ad.ad.expanded_text_ad.description, ad_group_ad.ad.expanded_text_ad.description2, ad_group_ad.ad.expanded_text_ad.headline_part3 FROM ad_group_ad;

It returns all the ads for all the campaigns. But for a specific campaign, metrics values like cost_micros, clicks are returned zero. But on UI it is displaying these details.

Any help in this regards will be highly appreciated.

Google Ads API Forum Advisor

unread,
Sep 15, 2022, 2:50:16 AM9/15/22
to rehani...@gmail.com, adwor...@googlegroups.com
Hello Rehan,

Thank you for reaching out to the Google Ads API team.

With regard to your concern, could you provide a screenshot of the whole Google Ads UI showing this data and the complete request and response logs with request ID and request header generated on your end so we can have a better view and can further investigate this?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eOjc2:ref
Reply all
Reply to author
Forward
0 new messages