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 [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/fb8d2e3e-39ad-4d3e-99f9-36a17844199c%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