Ho to get audiences for remarketing with Google Ads API?

95 views
Skip to first unread message

Andrea Primaverili

unread,
May 28, 2019, 2:38:11 AM5/28/19
to AdWords API and Google Ads API Forum
Hi,
I would like to know how can i get the audiences list from my Google Ads account via API. I use the Java SDK and there are no examples yet about it in the remarketing folder.
I would like also know how can i set the audiences for a campaign or an adgroup.
Thank you.

Google Ads API Forum Advisor Prod

unread,
May 28, 2019, 5:56:41 AM5/28/19
to adwor...@googlegroups.com
Hi Andrea,

There is currently no available example for retrieving your audience lists via the Google Ads API. You may, however, use the UserListService.GetUserList to retrieve all your UserList information.

As for associating a userlist into an adgroup or a campaign, you can use either the AdGroupCriterionService.MutateAdGroupCriteria to create an AdGroupCriterion of type user_list (UserListInfo), or the CampaignCriterionService.MutateCampaignCriteria to create a CampaignCriterion also of type user_list (UserListInfo).

I hope this helps.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UAqoH2:ref
Message has been deleted
Message has been deleted

Andrea Primaverili

unread,
May 28, 2019, 11:41:33 AM5/28/19
to AdWords API and Google Ads API Forum
Hi thank you,

But how can i get also the matching rules and the list members (eg "visitors of a page")? Are those informations in another table? Thank you

Google Ads API Forum Advisor Prod

unread,
May 29, 2019, 1:06:14 AM5/29/19
to adwor...@googlegroups.com
Hi Andrea,

The rules can be retrieved via the rules field of the LogicalUserListInfo object. As for the members, I'm afraid that these are currently not supported in the Google Ads API. 
Reply all
Reply to author
Forward
0 new messages