Hi,

It seems that you are not using one of our client libraries 
<https://developers.google.com/adwords/api/docs/clientlibraries>, that's 
why it generated an error on your end since there is something wrong in 
your XML request in creating an ExpressionRuleUserList 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.ExpressionRuleUserList>.
 
See sample SOAP request snippet below in creating this user list type.

<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/v201710"; soapenv:mustUnderstand=
"0">
            <ns2:clientCustomerId xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201710";>XXX-XXX-XXXX
</ns2:clientCustomerId>
            <ns3:developerToken xmlns:ns3=
"https://adwords.google.com/api/adwords/cm/v201710";>REDACTED
</ns3:developerToken>
            <ns4:userAgent xmlns:ns4=
"https://adwords.google.com/api/adwords/cm/v201710";>unknown </ns4:userAgent>
            <ns5:validateOnly xmlns:ns5=
"https://adwords.google.com/api/adwords/cm/v201710";>false</ns5:validateOnly>
            <ns6:partialFailure xmlns:ns6=
"https://adwords.google.com/api/adwords/cm/v201710";>false
</ns6:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/rm/v201710";>
            <operations>
                <ns7:operator xmlns:ns7=
"https://adwords.google.com/api/adwords/cm/v201710";>ADD</ns7:operator>
                <operand xmlns:ns8=
"https://adwords.google.com/api/adwords/rm/v201710"; xsi:type=
"ns8:ExpressionRuleUserList">
                    <ns8:name>Expression based user list sample</ns8:name>
                    <ns8:description>Users who checked out in three month 
window OR visited the checkout page with more than one item in their cart
</ns8:description>
                    <ns8:prepopulationStatus>REQUESTED
</ns8:prepopulationStatus>
                    <ns8:rule>
                        <ns8:groups>
                            <ns8:items>
                                <ns8:StringRuleItem>
                                    <ns8:key>
                                        <ns8:name>ecomm_pagetype</ns8:name>
                                    </ns8:key>
                                    <ns8:op>EQUALS</ns8:op>
                                    <ns8:value>checkout</ns8:value>
                                </ns8:StringRuleItem>
                            </ns8:items>
                            <ns8:items>
                                <ns8:NumberRuleItem>
                                    <ns8:key>
                                        <ns8:name>cartsize</ns8:name>
                                    </ns8:key>
                                    <ns8:op>GREATER_THAN</ns8:op>
                                    <ns8:value>1.0</ns8:value>
                                </ns8:NumberRuleItem>
                            </ns8:items>
                        </ns8:groups>
                        <ns8:groups>
                            <ns8:items>
                                <ns8:DateRuleItem>
                                    <ns8:key>
                                        <ns8:name>checkoutdate</ns8:name>
                                    </ns8:key>
                                    <ns8:op>AFTER</ns8:op>
                                    <ns8:value>20171221</ns8:value>
                                </ns8:DateRuleItem>
                            </ns8:items>
                            <ns8:items>
                                <ns8:DateRuleItem>
                                    <ns8:key>
                                        <ns8:name>checkoutdate</ns8:name>
                                    </ns8:key>
                                    <ns8:op>BEFORE</ns8:op>
                                    <ns8:value>20180321</ns8:value>
                                </ns8:DateRuleItem>
                            </ns8:items>
                        </ns8:groups>
                        <ns8:ruleType>DNF</ns8:ruleType>
                    </ns8:rule>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

You can emulate the SOAP request above and let us know if you encounter any 
issues. If it still does not work, please provide your latest SOAP request 
and response logs via *Reply privately to author* option.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/ac2e6088-e661-4afd-9554-7d4747463f29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • UserListError.CO... 18824261965
    • Re: UserLis... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Use... 18824261965
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... 18824261965
            • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to