Hi Paul, 

You will need to create the user list using AdWordsUserListService 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService>
 
and then add the audiences using the AdWordsUserListService.mutateMembers() 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService#mutatemembers>.
 
The AddCrmBasedUserList 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201708%2Fremarketing%2FAddCrmBasedUserList.java&sa=D&sntz=1&usg=AFQjCNEhGlxKKq3bliN46_K07KH3pi35Iw>
 
Java example shows how to add a user list and upload members to the list. 
Once you have the user lists created, you will need to use the 
CampaignCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService#mutate>
 
to set the user list as a targeting criteria to the campaign. You can check 
the AddCampaignTargetingCriteria 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/targeting/AddCampaignTargetingCriteria.java>
 
sample in Java for adding a targeting criteria to a campaign. Code samples 
in other languages are also available here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. 
   1. Week 1 -- Upload 100 email ID's to a campaign as Target Users.
   You will need to use AdWordsUserListService.mutateMembers() 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService#mutatemembers>
 as 
   specified above and add these new members to the list.
   2. Week 2 -- I want to suppress 25 of these email ID's (because they are 
   no longer valid) and append another 50 (this is the Target Users).
   To remove the users, you can perform 
   AdWordsUserListService.mutateMembers() 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService#mutatemembers>
 and 
   then do a REMOVE 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.MutateMembersOperation#operator>
 with 
   the memberList 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.MutateMembersOperand#memberslist>
 populated 
   with the 25 emails that you need to remove. To add the users, you can 
   perform AdWordsUserListService.mutateMembers() 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService#mutatemembers>
 and 
   then do a ADD 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.MutateMembersOperation#operator>
 with 
   the memberList 
   
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.MutateMembersOperand#memberslist>
 populated 
   with the 50 emails that you need to add
   3. By week 2, I should only have a valid set of 75 + 50 --> 125 email 
   id's under the campaigns.
   Once the operations in step 2 is completed, your list will only have 125 
   email users. 
   
Please note that it might take a few hours for the list to be populated 
with the members and be available for targeting. Let me know if you have 
any additional questions. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/67e6e7c2-2f9e-453e-8155-bb38aed462c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to h... Paul Joy Parayannilam
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... Paul Joy Parayannilam
        • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
          • ... Paul Joy Parayannilam
            • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to