How to search and add audience segments from Google Ads API

307 views
Skip to first unread message

lsy

unread,
Dec 13, 2022, 1:20:43 PM12/13/22
to Google Ads API and AdWords API Forum
Hi,

From Google Ads UI, we can add audience segments to campaigns or ad groups. As shown in the below image, we can search among the audience segments from UI, and then add multiple segments in the search results to the audience. How can I impletment this process with Google Ads API. 
I know we can create Audience and add it to campaigns or ad groups with API. My focus is how to search among the pre-defined segments with a string?

audience2.png

Thank you,
Shiying

Google Ads API Forum Advisor

unread,
Dec 13, 2022, 10:13:40 PM12/13/22
to lishiy...@gmail.com, adwor...@googlegroups.com
Hi Isy,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern, upon checking on the screenshot that you've provided, you are looking for in-market categories. You may check it on this list.

Please let us know if this is what you are looking for.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2h2bAG:ref

lsy

unread,
Dec 14, 2022, 8:57:18 AM12/14/22
to Google Ads API and AdWords API Forum
Hi Sherwin,

Thank you for your response. Does it mean that we can only get the segment code from the CSV, and cannot search among audience segments using API like GoogleAdsService.Search?

Regards,
Shiying

Google Ads API Forum Advisor

unread,
Dec 14, 2022, 1:48:56 PM12/14/22
to lishiy...@gmail.com, adwor...@googlegroups.com
Hi,

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

You can refer to this guide on how to create audiences based on or containing specific dimensions. You can use the below sample reports to extract some of the details to include in the said audience segment :
Thanks,
Google Logo
Nirmita
Google Ads API Team
 


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