Unable to retrieve ad_group_ad metrics after successfully retrieving campaign level metrics

77 views
Skip to first unread message

Estanislao Garcia Goya

unread,
Sep 15, 2023, 12:50:50 PM9/15/23
to Google Ads API and AdWords API Forum
Hi,
I've tried to pull campaign level metrics and i've been successful at it. But when making the same request at the ad_group_ad level, metrics come back empty, with zeros.
How could this happen? Not all campaigns should have ad attached to them?

campaign level
SELECT
campaign.status,
metrics.impressions,
metrics.clicks,
metrics.ctr,
metrics.average_cpc,
metrics.cost_micros
FROM campaign

Response:
INFO:google.ads.googleads.client:Request made: ClientCustomerId: 7429962507, Host: googleads.googleapis.com, Method: /google.ads.googleads.v14.services.GoogleAdsService/Search, RequestId: UKFOuchDWff3OWUbA6RwMg, IsFault: False, FaultMessage: None
SearchPager<results { campaign { resource_name: "customers/7429962507/campaigns/19899012473" status: ENABLED name: "Software Design & Development" } metrics { clicks: 341 cost_micros: 11079688023 ctr: 0.012521113314239553 average_cpc: 32491753.73313783 impressions: 27234 } }

when requesting the same but at the ad_group_ad level:
SELECT
campaign.status,
ad_group_ad.status,
metrics.clicks,
metrics.impressions,
metrics.conversions,
metrics.video_quartile_p100_rate,
metrics.video_views,
metrics.current_model_attributed_conversions,
metrics.cost_micros
FROM
ad_group_ad

i am receiving this:
INFO:google.ads.googleads.client:Request made: ClientCustomerId: 7429962507, Host: googleads.googleapis.com, Method: /google.ads.googleads.v14.services.GoogleAdsService/Search, RequestId: djXqZbCFQ2qWsHjsCuoXkw, IsFault: False, FaultMessage: None
SearchPager<results { campaign { resource_name: "customers/7429962507/campaigns/19899012473" status: ENABLED name: "Software Design & Development" } metrics { clicks: 0 video_views: 0 conversions: 0.0 cost_micros: 0 current_model_attributed_conversions: 0.0 impressions: 0 } ad_group_ad { resource_name: "customers/7429962507/adGroupAds/151119724761~652641837331" status: ENABLED ad { resource_name: "customers/7429962507/ads/652641837331" id: 652641837331 } } }

Google Ads API Forum Advisor

unread,
Sep 20, 2023, 7:46:16 AM9/20/23
to estan...@manso.dev, adwor...@googlegroups.com
Hi,

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

By reviewing your concern, I understand that your query is regarding ad_group_ad level metrics. Since the API mirrors the UI whatever data or feature shows up in the UI, the API should have the same. Having said that, could you please provide us the uncropped UI screenshot of the ad_group to assist you further.

You can send the details via Reply privately to the author option, or direct private reply to this email.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2om4zq:ref"

Thanks,
 
Google Logo Google Ads API Team

 

Mohansai P

unread,
Jun 26, 2024, 1:04:39 PM6/26/24
to Google Ads API and AdWords API Forum
May I know the solution for this?

Google Ads API Forum Advisor

unread,
Jun 27, 2024, 12:50:11 AM6/27/24
to mohansai...@gmail.com, adwor...@googlegroups.com
Hi,

To analyse the issue from our end, could you please provide us with the uncropped UI ad_group screenshot which you are trying to fetch via Google Ads API.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02om4zq:ref" (ADR-00198744)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


Google Ads API Forum Advisor

unread,
Jun 27, 2024, 12:52:18 AM6/27/24
to mohansai...@gmail.com, adwor...@googlegroups.com
Hi,

Kindly ignore my previous response. To analyse the issue from our end, could you please provide us with the uncropped UI ad_group screenshot which you are trying to fetch via Google Ads API.

 
You can send the details via Reply privately to the author option, or direct private reply to this email.
 
Reply all
Reply to author
Forward
0 new messages