Dear Vincent 
         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>832-678-2911</v:clientCustomerId>
            <v:developerToken>KntZPmiZOmEfvgX07_sjWQ</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>

At last Merry Christmas and wish we can become friends。
在 2017年12月21日星期四 UTC+8下午6:22:12,Vincent Racaza (AdWords API Team)写道:
>
> 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 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 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/d3af1b38-9361-470a-967a-727cbfc8be24%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