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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4f4ec836-e772-4dba-aadd-d1c3811ab0e7n%40googlegroups.com.

Reply via email to