How to get Audience Segment Type

44 views
Skip to first unread message

King Oruga

unread,
Jan 19, 2023, 4:18:13 PM1/19/23
to Google Ads API and AdWords API Forum
Hi, my question is similar to https://groups.google.com/g/adwords-api/c/FPemsjwKJOw and specifically I am looking to get the Audience segment type as it is shown in the UI shown in the other post. The query suggested in the other post 
  • SELECT ad_group_audience_view.resource_name, campaign.name, campaign.status, ad_group_criterion.type, ad_group_criterion.display_name, ad_group_criterion.criterion_id, user_list.nameuser_list.id FROM ad_group_audience_view WHERE campaign.status = 'PAUSED'
does not produce the audience segment type (website visitors, combined segment, etc). Is there a way to pull the audience segment type that is shown in the UI?

Google Ads API Forum Advisor

unread,
Jan 20, 2023, 2:13:17 AM1/20/23
to kor...@gannett.com, adwor...@googlegroups.com

Hi King, 

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well today.

With regards to your concern, to get the audience segment, you may use the user_list.name field and for the type, you may use the user_list.type field. Please see reference below or ad_group_audience_view Query Builder.

SELECT user_list.id, user_list.name, user_list.type, user_list.resource_name FROM ad_group_audience_view

In line with this, if ever it does not work for you, please provide a full screenshot of the Ads UI that you are looking to replicate in the Ads API.

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Have a great day.

Regards,

Google Logo
Marjorie
Google Ads API Team
 


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