Identifying Campaigns Using Customer Match Lists

46 views
Skip to first unread message

Tim Tsai

unread,
Aug 3, 2018, 5:39:31 PM8/3/18
to AdWords API and Google Ads API Forum
Hi there,

I know that you can use the API to create Customer Match Lists, and that Customer Match Lists live in the AdWordsUserListService.

What if I want to determine if a campaign is employing a Customer Match Audience List? From looking at the documentation for CriterionUserList in the CampaignCriterionService, it does not look like the CriterionUserList distinguishes Customer Match lists from other user lists. Is there a way to read a campaign's settings via the API and determine if it is employing a Customer Match user list?




Thanks,
Tim

Luis Xander Talag (AdWords API Team)

unread,
Aug 6, 2018, 1:08:28 AM8/6/18
to AdWords API and Google Ads API Forum
Hi Tim,

 I'm afraid that there is no direct way to determine if your CriterionUserList is of type Customer Match through the TargetingSettingDetail of your campaign. You have to get first the userListId of that criterion by using the CampaignCriterionService.get() method. Then, you could use the AdWordsUserListService.get() method to find out the type of your user list.

Let me know if you have further clarifications.

Thanks and regards,
Luis
AdWords API Team

Tim Tsai

unread,
Aug 6, 2018, 9:37:06 AM8/6/18
to AdWords API and Google Ads API Forum
I see, thanks for the quick response Luis!
Reply all
Reply to author
Forward
0 new messages