<operand xmlns:ns8="https://adwords.google.com/api/adwords/rm/v201710" xsi:type="ns8:ExpressionRuleUserList">
<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>Your code worked.There isn't client librarise for us,Because we use Node.js to develop this project.I maybe lose jop without you reply.I want to konw if we can be a friend.
there is another trouble when i try to upload a media of miage.it return 'Invalid content was found starting with element 'v:data',but the data of base64 is useful.
<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v="https://adwords.google.com/api/adwords/cm/v201702">
<x:Header>
<v:RequestHeader>
<v:clientCustomerId>XXX-XXX-XXXX</v:clientCustomerId>
<v:developerToken>XXXXXXXXXXXXXXXXXX</v:developerToken>
<v:userAgent>test</v:userAgent>
<v:validateOnly>false</v:validateOnly>
<v:partialFailure>false</v:partialFailure>
</v:RequestHeader>
</x:Header>
<x:Body>
<v:upload>
<v:media>
<v:type>IMAGE</v:type>
<v:data>base64</v:data>
</v:media>
</v:upload>
</x:Body>
</x:Envelope>
<soapenv:Body>
<upload xmlns="https://adwords.google.com/api/adwords/cm/v201710">
<media xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201710" xsi:type="ns2:Image">
<ns2:type>IMAGE</ns2:type>
<ns2:data>base64binary data sample</ns2:data>
</media>
</upload>
</soapenv:Body>