Exclude removed ad groups from campaign_audience_view

69 views
Skip to first unread message

Stepanian

unread,
Feb 20, 2021, 6:31:49 PM2/20/21
to AdWords API and Google Ads API Forum
I am trying to get performance data for audiences using the campaign_audience_view. I am able to get all the data I need, filtered by enabled and paused campaigns. 

However, I also want to add a predicate for enabled and paused ad groups (exclude removed ad groups). I was able to do this in the AdWords API Audience Performance Report. But I can't do the same thing in the Ads API (the ad_group field is not available in that view and adding a where clause for ad_group.status causes and error).

Is there a way to exclude removed ad groups from that report?

Thanks.

Google Ads API Forum Advisor Prod

unread,
Feb 22, 2021, 12:25:47 PM2/22/21
to ra...@spinneret.com, adwor...@googlegroups.com

Hi Stepanian,

Thank you for reaching out. If you would like to query ad group related audience data, you would need to query the ad_group_audience_view resource instead. This would allow you to set the predicate on the ad group level.

Thanks and regards,
Xiaoming, Google Ads API Team
 


Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2CTHCI:ref

Stepanian

unread,
Feb 22, 2021, 12:39:34 PM2/22/21
to AdWords API and Google Ads API Forum
The ad_group_audience_view provides the performance data for ad group level audience criteria. What we need is the performance data for campaign level audience criteria, which I can get through campaign_audience_view, but I need to exclude data for removed ad groups.

Google Ads API Forum Advisor Prod

unread,
Feb 23, 2021, 12:24:02 AM2/23/21
to ra...@spinneret.com, adwor...@googlegroups.com
Hi Stepanian,

I am a colleague of Xiaoming and let me provide support to your concern.

I am afraid that this is not possible as campaign_audience_view only focus on retrieving data and statistic aggregated by campaign and audience criterion.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2CTHCI:ref

Stepanian

unread,
Feb 23, 2021, 1:45:50 AM2/23/21
to AdWords API and Google Ads API Forum
We are able to filter with ad group status in the Audience Performance Report using the AdWords API. Is there a workaround in the new Ads API?

Thanks.

Google Ads API Forum Advisor Prod

unread,
Feb 23, 2021, 2:45:00 PM2/23/21
to ra...@spinneret.com, adwor...@googlegroups.com

Hi Stepanian,

Thank you for reaching out. Unfortunately, the data in campaign_audience_view is aggregated by campaign and audience criterion so the ad group could not be used as a filter. Please keep using the Audience Performance Report if it works.

Thanks and regards,
Xiaoming, Google Ads API Team



Google Logo
Xiaoming
Google Ads API Team
 


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