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 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 [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 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/b8fda4f6-6495-487c-9afa-a2ab79c2e710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to