OPERATOR_NOT_SUPPORTED when using AdwordsUserListService

167 views
Skip to first unread message

er...@exposebox.com

unread,
Aug 19, 2015, 4:08:57 AM8/19/15
to AdWords API Forum
I'm sending the following SOAP envelopes and get in return the same error result:

soap:Server: [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], RequiredError.REQUIRED @ operations[0].operator, RequiredError.REQUIRED @ operations[0].operand]: [object Object]


Envelope 1

<soap:Envelope
    <soap:Header>
        <tns:RequestHeader>
            <tns:clientCustomerId>--------</tns:clientCustomerId>
            <tns:developerToken>---------</tns:developerToken>
            <tns:userAgent>-------------</tns:userAgent>
        </tns:RequestHeader>
    </soap:Header>
    <soap:Body>
        <mutate
            <operations soapenc:arrayType="ns1:UserListOperation[1]" xsi:type="soapenc:Array"
                xmlns:ns1="https://adwords.google.com/api/adwords/rm/v201506"
                xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                <operations xsi:type="ns1:UserListOperation">
                    <operator xsi:type="cm:Operator">ADD</operator>
                    <operand xsi:type="ns1:BasicUserList"
                        xmlns="">
                        <name xsi:type="xsd:string">Mars cruise customers #1439904839789</name>
                        <description xsi:type="xsd:string">A list of mars cruise customers in the last year</description>
                        <status xsi:type="ns1:UserListMembershipStatus">OPEN</status>
                        <membershipLifeSpan xsi:type="xsd:long">365</membershipLifeSpan>
                        <conversionTypes xsi:type="ns1:UserListConversionType">
                            <name xsi:type="xsd:string">Mars cruise customers #1439904839788</name>
                        </conversionTypes>
                    </operand>
                </operations>
            </operations>
        </mutate>
    </soap:Body>
</soap:Envelope>


Envelope 2

<soap:Envelope
    <soap:Header>
        <ns1:RequestHeader
            <ns1:clientCustomerId>----------</ns1:clientCustomerId>
            <ns1:developerToken>-----------</ns1:developerToken>
            <ns1:userAgent>-----------</ns1:userAgent>
        </ns1:RequestHeader>
    </soap:Header>
    <soap:Body>
        <tns:mutate
            <tns:operations>
                <tns:operator>ADD</tns:operator>
                <tns:operand xsi:type="BasicUserList">
                    <tns:name>API TEST - 1439905248572</tns:name>
                    <tns:description>API TEST - 1439905248572</tns:description>
                    <tns:membershipLifeSpan>30</tns:membershipLifeSpan>
                    <tns:conversionTypes>
                        <tns:name>API TEST - 1439905248572</tns:name>
                    </tns:conversionTypes>
                    <tns:status>OPEN</tns:status>
                </tns:operand>
            </tns:operations>
        </tns:mutate>
    </soap:Body>
</soap:Envelope>

What is missing from these envelopes?
How can I resolve the OPERATOR_NOT_SUPPORTED issue? 

Anthony Madrigal

unread,
Aug 21, 2015, 11:20:49 AM8/21/15
to AdWords API Forum
Hello,

This error may occur if you are trying to execute these operations against your MCC account. Could you confirm whether or not you were using your manager account for these requests?

Thanks,
Anthony
AdWords API Team

Eran Betzalel (ExposeBox)

unread,
Aug 22, 2015, 5:16:13 AM8/22/15
to adwordsapiadvi...@google.com, AdWords API Forum
Already solved it, It was a XML namespace issue.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/Iz3pUWV0I1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cb3c081e-db75-420b-b1e5-be219f4465ab%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Eran Betzalel
Developer
Email:    er...@exposebox.com
Website: www.exposebox.com
Reply all
Reply to author
Forward
0 new messages