Hello Tarun,
It looks like you are trying to add audience to your campaign. It is a 2
step process please find my response below:
1. You need to create a CRM based user list which contains all the
emails that you want to upload to the user list. You could use the
AddCrmBasedUserList.java
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201806/remarketing/AddCrmBasedUserList.java>
in
Java to add the emails. You can refer the code samples in other languages
here <https://developers.google.com/adwords/api/docs/clientlibraries>.
Please note that an audience list must have at least 1,000 active members
for ads to serve on Google Search, YouTube and Gmail. It takes almost 6 to
12 hours for the list to be populated with members. Also, you could see the
users lists under Audience lists of the Audience manager windows after
logging into your AdWords account. But you can not see the members(emails
Ids) of those lists due to the privacy policy. You could refer to this
guide
<https://developers.google.com/adwords/api/docs/guides/remarketing>for
more details on user lists.
2. After successfully populating the user list into the AdWords account,
you could use the mutate
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService#mutate>
operation
of CampaignCriterionService
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService>
and
set the Criterion type
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.Criterion#criteriontype>
as
USER_List. Likewise, you could use mutate
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#mutate>
operation
of AdGroupCriterionService
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#mutate>
and
set criterion type
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService.Criterion#type>as
USER_LIST. You could also refer this guide
<https://support.google.com/adwords/answer/2497940?hl=en> to add that
user list to target your campaign/AdGroup manually.
If your question is different? please elaborate the scenario and let me
know if you have any further questions.
Regards,
Sai Teja, AdWords API Team.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/c9b51b27-6300-4e28-abf9-bc499582098b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.