Hi Jeremie,
Can you help me know if the solution mentioned by Shwetha has worked for 
you or not? 
Thanks for the help.

On Friday, 13 May 2016 21:53:38 UTC+5:30, Jeremie wrote:
>
> Thanks a lot, I'll try this
>
> On Wednesday, May 11, 2016 at 4:34:27 PM UTC-3, Shwetha Vastrad (AdWords 
> API Team) wrote:
>>
>> Hi Jeremie,
>>
>> To add new emails to a CrmBasedUserList, use a selector 
>> <https://developers.google.com/adwords/api/docs/reference/v201603/AdwordsUserListService.Selector>
>>  like 
>> the one below to get the Id of the User List you want to update.
>>
>>             <serviceSelector>
>>                 <fields>Id</fields>
>>                 <fields>Name</fields>
>>                 <fields>ListType</fields>
>>                 <predicates>
>>                     <field>Name</field>
>>                     <operator>EQUALS</operator>
>>                     <values>ListName</values>
>>                 </predicates>
>>             </serviceSelector> 
>>
>> Once you have the Id, you can add emails to the user list using the Id 
>> retrieved above using a Mutate operation 
>> <https://developers.google.com/adwords/api/docs/reference/v201603/AdwordsUserListService.MutateMembersOperation>
>>  as 
>> described below:
>>
>>        <mutateMembers>
>>             <operations>
>>                 <operator>ADD</operator>
>>                 <operand>
>>                     <userListId>UserListId</userListId>
>>                     <dataType>EMAIL_SHA256</dataType>
>>                     <members>HashedEmailAddress1</members>
>>                     <members>HashedEmailAddress2</members>
>>                     <members>HashedEmailAddress3</members>
>>                 </operand>
>>             </operations>
>>         </mutateMembers>
>>
>> This is how the SOAP request should look like. You can use the client 
>> libraries 
>> <https://developers.google.com/adwords/api/docs/clientlibraries> to 
>> achieve the same result.
>>
>> Regards,
>> Shwetha, 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/8e2aaf87-3c9b-4f5c-bcdf-9f8a15344075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to