Hi,

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

Based on the information provided, I understand that you are encountering a 
challenge retrieving performance metrics specifically for 'observed' audiences 
within the Google Ads API. Upon filtering and checking the campaign ID 
(20547189556), I could see that audiences are targeted at the ad_group level so 
you were able to retrieve them using the ad_group_audience_view report whereas 
for the campaign (12911341324) you were unable to retrieve the audiences using 
the ad_group_audience_view report. I have filtered the campaign ID 
(12911341324) in your account and tried to check the audience segments page, 
then I could see all of your audiences are targeted at the campaign level not 
the ad_group level and this is main reason why you were unable to retrieve the 
audiences for the campaign ID (12911341324) by using the ad_group_audience_view 
report.

As your audiences for the campaign ID (12911341324) are targeted at the 
campaign level, you should use the campaign_audience_view report retrieve the 
audiences along with the metrics using the Google Ads API. We have tried to 
retrieve this audiences using the campaign_audience_view report and we were 
successfully able to retrieve them without any issues, so I would suggest you 
to try the same approach and let us know how it goes from your end. However, I 
am sharing the sample GAQL query as per your requirement:

SELECT campaign.id, campaign_audience_view.resource_name, metrics.impressions, 
metrics.cost_micros, segments.date, 
campaign_criterion.type FROM campaign_audience_view WHERE segments.date = 
'2025-03-01' AND campaign.id = 12911341324

I hope this clarifies.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-03-10 04:59:46Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!5004Q02vH7O4:ref" (ADR-00292480)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/5IXf4000000000000000000000000000000000000000000000SSW5VM00bDxeukYtS0SMVuzeC4n_gA%40sfdc.net.
  • RE... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Pablo Lemos

Reply via email to