Audience Metrics by Ad Group

107 views
Skip to first unread message

Josh Allen

unread,
Sep 13, 2021, 3:17:55 PM9/13/21
to AdWords API and Google Ads API Forum
Hello,

I have a question about the campaign_audience_view and ad_group_audience_view resources in the Google Ads API (v8).

It looks like audience targeting can be configured by either campaign or ad group.  Further, it looks like campaign_audience_view reports metrics for campaigns configured with audience targeting, and ad_group_audience_view reports metrics for ad groups configured with audience targeting.  First of all, is that correct?

I would like to retrieve metrics from the campaign_audience_view resource, but grouped by ad_group, something like the GAQL query below, but that does not seem possible.

    SELECT campaign_audience_view.resource_name, campaign.id, ad_group.id, campaign_criterion.criterion_id, metrics.impressions, metrics.clicks
    FROM campaign_audience_view
    WHERE segments.date = (some date)

However, via the Google Ads UI's reporting tool, I can create a custom table report with metrics grouped by audience and ad group (i.e., with "Audience Segment" and "Ad Group" as rows, and metrics like "Clicks" or "Impressions" as columns).

Is it possible to retrieve metrics grouped by audience and ad group from the campaign_audience_view?

Thanks in advance,
- Josh

Google Ads API Forum Advisor

unread,
Sep 14, 2021, 4:48:00 AM9/14/21
to adwor...@googlegroups.com
Hi Josh,

Thank you for reaching out to our API support team.

It is unfortunately not possible to group the records by ad group using the campaign_audience_view. This is because this view / report specializes in statistics of audiences being targeted or associated at the campaign level.

If you have audiences associated at the ad group level, then the ad_group_audience_view can be utilized for those.

The custom reporting feature seen in the UI is not possible via the Google Ads API. A feature request has already been raised regarding this. For now, you may keep an eye on our blog for updates or announcements.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2NTm3K:ref

Josh Allen

unread,
Sep 14, 2021, 10:12:13 AM9/14/21
to AdWords API and Google Ads API Forum
Understood.  I suspected this might be the case, but figured I'd check.  Thanks for your quick response!

- Josh

Algirdas Jarockis

unread,
Jan 19, 2022, 7:28:03 AM1/19/22
to Google Ads API and AdWords API Forum
Hello. 
I'm migrating audience performance report from Adwords API to Google Ads API. Did I understand correctly from this conversation, that grouping by ad_group is not possible anymore in new API while it worked perfectly in Adwords?

Google Ads API Forum Advisor

unread,
Jan 19, 2022, 1:17:38 PM1/19/22
to algirdas...@gmail.com, adwor...@googlegroups.com

Hello Algirdas,

The resource name has been changed to the following mapping from the AdWords API reports to the corresponding Google Ads API resources. The AUDIENCE_PERFORMANCE_REPORT details can be found in the Google Ads API from the campaign_audience_view, ad_group_audience_view reports.
With regards to your concern about the ad_group level you may use the ad_group_audience_view report for the expected output.
Hope this helps. Feel free to let us know if you have any further questions.

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team
 

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