Remarketing audience user lists via API

46 views
Skip to first unread message

Valarmathi Arikrishnan

unread,
Jun 22, 2020, 7:09:51 AM6/22/20
to AdWords API and Google Ads API Forum
Hello,

Is there a way to upload users (customer emails) to audience user list using curl if yes kindly provide the samples?

Thanks,
Valarmathi A

Google Ads API Forum Advisor Prod

unread,
Jun 22, 2020, 2:08:29 PM6/22/20
to valar...@palmtreeinfotech.com, adwor...@googlegroups.com
Hi Valarmathi,

Thank you for reaching out. Yes, this is possible however there are unfortunately no examples available. I would recommend following the instructions here starting at step 3. In order to create the XML, you can follow the WSDL structure of the AdwordsUserListService here. You need to use the MutateMembersOperand to set the ID of the user list and also to specify the members you're going to upload. You should also make sure to set the MutateMembersOperation to ADD.

The XML body should look similar to the following:
<soapenv:Body>
       <mutateMembers xmlns="https://adwords.google.com/api/adwords/rm/v201809">
           <operations>
               <ns7:operator xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201809">ADD</ns7:operator>
               <operand>
                   <userListId>xxxxxxxxxx</userListId>
                   <membersList>
                       <hashedEmail>123abc</hashedEmail>
                   </membersList>
               </operand>
           </operations>
       </mutateMembers>
   </soapenv:Body>

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q218KIj:ref

Valarmathi Arikrishnan

unread,
Jun 23, 2020, 3:25:50 AM6/23/20
to AdWords API and Google Ads API Forum
Thank you so much. This is very useful. 
Reply all
Reply to author
Forward
0 new messages