soap response and request

<?xml version="1.0" encoding="UTF-8"?><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/cm/v201601"; 
soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>885-fwef-7414</ns1:clientCustomerId>
            <ns1:developerToken>fwefw</ns1:developerToken>
            <ns1:userAgent>fewfwe (AwApi-Java, AdWords-Axis/2.10.0, 
Common-Java/2.10.0, Axis/1.4, Java/1.7.0_95, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201601";>
            <operations>
                <operator>ADD</operator>
                <operand 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201601"; 
xsi:type="ns2:BiddableAdGroupCriterion">
                    <adGroupId>26675539979</adGroupId>
                    <criterion xsi:type="ns2:ProductPartition">
                        <id>-1</id>
                        <partitionType>SUBDIVISION</partitionType>
                    </criterion>
                </operand>
            </operations>
            <operations>
                <operator>ADD</operator>
                <operand 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201601"; 
xsi:type="ns3:BiddableAdGroupCriterion">
                    <adGroupId>26675539979</adGroupId>
                    <criterion xsi:type="ns3:ProductPartition">
                        <id>-2</id>
                        <partitionType>UNIT</partitionType>
                        <parentCriterionId>-1</parentCriterionId>
                        <caseValue xsi:type="ns3:ProductOfferId">
                            <value>112431</value>
                        </caseValue>
                    </criterion>
                </operand>
            </operations>
            <operations>
                <operator>ADD</operator>
                <operand 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201601"; 
xsi:type="ns4:NegativeAdGroupCriterion">
                    <adGroupId>26675539979</adGroupId>
                    <criterion xsi:type="ns4:ProductPartition">
                        <id>-3</id>
                        <partitionType>UNIT</partitionType>
                        <parentCriterionId>-1</parentCriterionId>
                        <caseValue xsi:type="ns4:ProductOfferId"/>
                    </criterion>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

2016-03-16 12:08:38 WARN  soapXmlLogger:85 - SOAP Response:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>
            <requestId>00052e24c38945980a4c46ea810a5c0f</requestId>
            <serviceName>AdGroupCriterionService</serviceName>
            <methodName>mutate</methodName>
            <operations>3</operations>
            <responseTime>94</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[RequiredError.REQUIRED @ 
operations[1].operand.biddingStrategyConfiguration]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>
                    <message>[RequiredError.REQUIRED @ 
operations[1].operand.biddingStrategyConfiguration]</message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="RequiredError">
                        
<fieldPath>operations[1].operand.biddingStrategyConfiguration</fieldPath>
                        <trigger/>
                        <errorString>RequiredError.REQUIRED</errorString>
                        <ApiError.Type>RequiredError</ApiError.Type>
                        <reason>REQUIRED</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

On Wednesday, March 16, 2016 at 7:36:50 AM UTC+5:30, jhufg....@yahoo.co.in 
wrote:
>
> Hi yin ,
>  I have added the other node with product dimension null 
> rootNode.addChild(ProductDimensions.createOfferId(null)).asExcludedUnit();
>
> Now i am getting different error 
>
>  <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="RequiredError">
>                         
> <fieldPath>operations[1].operand.biddingStrategyConfiguration</fieldPath>
>                         <trigger/>
>                         <errorString>RequiredError.REQUIRED</errorString>
>                         <ApiError.Type>RequiredError</ApiError.Type>
>                         <reason>REQUIRED</reason>
>                     </errors>
>                 </ApiExceptionFault>
>
>
>
> On Tuesday, March 15, 2016 at 7:47:44 PM UTC+5:30, Yin Niu wrote:
>>
>> Hello, 
>>
>> Please review our shopping campaign guide 
>> <https://developers.google.com/adwords/api/docs/guides/shopping> and the 
>> slides 
>> <http://www.google.com/url?q=http%3A%2F%2Fwww.slideshare.net%2Fmarcwan%2F02-shopping&sa=D&sntz=1&usg=AFQjCNF7fG6CWUpTpgKlLIr3NKB9hKo8AA>.
>>  
>>  Every "subdivision" should always have a "Others" unit in addition to the 
>> units with specific criteria.
>>
>> In the UI, this is the "Everything else in...." entry.
>>
>> Cheers,
>> Yin, 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/d5aa59dd-f7b2-4402-aea6-a3ea0a7c1f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to