Hi Zied,

Were you able to receive Luis' reply in private? I'm asking this as upon 
checking with the team, the SOAP request you've provided previously is not 
completely correct. If you weren't able to receive Luis' private reply, 
here's our findings: Based on this line "<listType>CRM_BASED</listType>", 
this doesn't make the userlist work as CrmBasedUserList. Also on this line 
"UserList userList = new UserList()", I noticed that your userlist is a 
generic one. If you aren't using one of our client libraries, I suggest you 
to do so and refer on this code block 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-dotnet-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2FCSharp%2Fv201809%2FRemarketing%2FAddCrmBasedUserList.cs%23L95&sa=D&sntz=1&usg=AFQjCNF7JEKLYP0REwvFIT0oGUi4e0rXaw>
 in 
the AddCrmBasedUserList 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-dotnet-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2FCSharp%2Fv201809%2FRemarketing%2FAddCrmBasedUserList.cs&sa=D&sntz=1&usg=AFQjCNGHv8Mky_r8w8pTwF2VwbRgKkZPuA>
 file 
of the .NET client library.

If you're still encountering errors, please provide to me the latest 
complete SOAP request and response logs so we can further investigate.

Thanks,
Peter
AdWords API Team

On Tuesday, December 4, 2018 at 10:28:33 PM UTC+8, Zied Chaari wrote:
>
> Hi Thanet,
>
> Any update about this issue.
>
>
> On Tuesday, November 27, 2018 at 11:18:22 AM UTC+1, Thanet Knack 
> Praneenararat (AdWords API Team) wrote:
>>
>> Hello Zied,
>>
>> I'm confirming this with Engineering.
>> With recent changes in user list policy, it might affect the user list in 
>> the test accounts too.
>> I'll update this thread once I have more info.
>>
>> Best,
>> Thanet, AdWords API Team
>>
>> On Tuesday, November 27, 2018 at 1:23:28 AM UTC+9, Zied Chaari wrote:
>>>
>>> Hi Luis,
>>>
>>> Always the same problem.
>>>
>>> *This is my code: (.Net)*
>>> UserList userList = new UserList()
>>> {
>>>     id = long.Parse(SAudience.Social_ID),
>>>     name = SAudience.Audience.Name,
>>>     listType = UserListType.CRM_BASED
>>> };
>>>
>>> UserListOperation operation = new UserListOperation
>>> {
>>>     operand = userList,
>>>     @operator = Operator.SET
>>> };
>>>
>>> UserListReturnValue result = userListService.mutate(new 
>>> UserListOperation[]
>>> {
>>>     operation
>>> });
>>>
>>> *Request (I'm using a Test Account):*
>>> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
>>>     <s:Header>
>>>         <RequestHeader xmlns="
>>> https://adwords.google.com/api/adwords/rm/v201809";>
>>>             <clientCustomerId xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809
>>> ">7482331905</clientCustomerId>
>>>             <developerToken xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809
>>> ">xxxxxxxxxxxxx</developerToken>
>>>             <userAgent xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809";>unknown 
>>> (AwApi-DotNet/24.1.0, Common-Dotnet/9.4.0, .NET CLR/4.0.30319.42000, 
>>> OAuthServiceAccountFlow, gzip)</userAgent>
>>>         </RequestHeader>
>>>     </s:Header>
>>>     <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>>>         <mutate xmlns="https://adwords.google.com/api/adwords/rm/v201809
>>> ">
>>>             <operations>
>>>                 <operator xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809";>SET</operator>
>>>                 <operand>
>>>                     <id>736365788</id>
>>>                     <name>Audience Google 8 - Update</name>
>>>                     <listType>CRM_BASED</listType>
>>>                 </operand>
>>>             </operations>
>>>         </mutate>
>>>     </s:Body>
>>> </s:Envelope>
>>>
>>> *Response:*
>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>>>     <soap:Header>
>>>         <ns2:ResponseHeader xmlns:ns2="
>>> https://adwords.google.com/api/adwords/rm/v201809"; xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809";>
>>>             <requestId>00057b93aa6536510a812f942709cc4f</requestId>
>>>             <serviceName>AdwordsUserListService</serviceName>
>>>             <methodName>mutate</methodName>
>>>             <operations>1</operations>
>>>             <responseTime>190</responseTime>
>>>         </ns2:ResponseHeader>
>>>     </soap:Header>
>>>     <soap:Body>
>>>         <soap:Fault>
>>>             <faultcode>soap:Client</faultcode>
>>>             <faultstring>[UserListError.USER_LIST_MUTATE_NOT_SUPPORTED @ 
>>> operations[0].operand]</faultstring>
>>>             <detail>
>>>                 <ns2:ApiExceptionFault xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201809"; xmlns:ns2="
>>> https://adwords.google.com/api/adwords/rm/v201809";>
>>>                     
>>> <message>[UserListError.USER_LIST_MUTATE_NOT_SUPPORTED @ 
>>> operations[0].operand]</message>
>>>                     
>>> <ApplicationException.Type>ApiException</ApplicationException.Type>
>>>                     <errors xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ns2:UserListError">
>>>                         <fieldPath>operations[0].operand</fieldPath>
>>>                         <fieldPathElements>
>>>                             <field>operations</field>
>>>                             <index>0</index>
>>>                         </fieldPathElements>
>>>                         <fieldPathElements>
>>>                             <field>operand</field>
>>>                         </fieldPathElements>
>>>                         <trigger></trigger>
>>>                         
>>> <errorString>UserListError.USER_LIST_MUTATE_NOT_SUPPORTED</errorString>
>>>                         <ApiError.Type>UserListError</ApiError.Type>
>>>                         
>>> <ns2:reason>USER_LIST_MUTATE_NOT_SUPPORTED</ns2:reason>
>>>                     </errors>
>>>                 </ns2:ApiExceptionFault>
>>>             </detail>
>>>         </soap:Fault>
>>>     </soap:Body>
>>> </soap:Envelope>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/caf6f0d7-1948-4dbd-a491-f0e682c892bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Zied Chaari
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Zied Chaari
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... Zied Chaari
            • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API and Google Ads API Forum
              • ... Zied Chaari
              • ... Zied Chaari
                • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
                • ... Zied Chaari

Reply via email to