On Saturday, April 18, 2020 at 2:16:02 AM UTC+10, adsapiforumadvisor wrote: > > Hi Gregory, > > Thank you for reaching out. Unfortunately, there is no way to add members > to a UserList using Google Ads API at this moment. You will have to use > mutateMembers > <https://developers.google.com/adwords/api/docs/reference/v201809/AdwordsUserListService#mutatemembers> > > from AdWords API or use the UI for now. Our team is aware of this feature > request and the importance of it. You can keep an eye on our Developer > Blog <https://ads-developers.googleblog.com/> for information on future > releases. > > Regards, > Mitchell > Google Ads API Team > > ref:_00D1U1174p._5001UZYbxK:ref >
Hi Mitchell, Thank you for the reply back. I've been looking at the Google Adwords mutateMember as well, and there isn't an example or a clear explanation within the document for how to structure the SOAP:XML request. I've manage to create the SOAP:XML POST request for creating a new Audience List (userList) as follows: <?xml version="1.0"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/rm/v201809" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>741-838-3580</ns1:clientCustomerId> <ns1:developerToken>RfVyeCacwnHAx5wd1369cQ</ns1:developerToken> <ns1:userAgent>example.com:vectorAudiencePost:V1.0</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <mutate 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 xmlns:ns8="https://adwords.google.com/api/adwords/rm/v201809" xsi:type="ns8:CrmBasedUserList"> <ns8:id>1</ns8:id> <ns8:name>vector-test-audience-adwords-POST</ns8:name> <ns8:description>A list of dummy customers</ns8:description> <ns8:status>OPEN</ns8:status> <ns8:membershipLifeSpan>365</ns8:membershipLifeSpan> <ns8:uploadKeyType>CONTACT_INFO</ns8:uploadKeyType> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> But I'm not sure as to whether I have to now create the mutateMembers SOAP:XML and whether to create an entirely new one or I can somehow append the operation into the SOAP:XML I've made above. Cheers, Greg -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/24aed3a8-ab73-4c4a-bb2c-a432091b431a%40googlegroups.com.