Hi Josh,
Thanks For your reply. I've tried them already.

MUTATE REQUEST:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   <soapenv:Header>
      <v20:RequestHeader>
         <v20:clientCustomerId>461-090-****</v20:clientCustomerId>
         <v20:developerToken>SfA0knzB72VQ3t1iVu5ndQ</v20:developerToken>
         <v20:userAgent>Test</v20:userAgent>
         <v20:validateOnly>false</v20:validateOnly>
         <v20:partialFailure>false</v20:partialFailure>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:mutate>
         <v20:operations>
            <v20:operator>SET</v20:operator>
            <v20:operand xsi:type="BiddableAdGroupCriterion" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
               <v20:adGroupId>15437588649</v20:adGroupId>
               <v20:criterion>
                  <v20:id>86870128449</v20:id>
               </v20:criterion>
              
 <v20:AdGroupCriterion.Type>BiddableAdGroupCriterion</v20:AdGroupCriterion.Type>
            </v20:operand>
         </v20:operations>
      </v20:mutate>
   </soapenv:Body>
</soapenv:Envelope>

And about not setting anything, I think i should take different error about 
not setting anything. I'm trying to solve concrete type error first then 
will try to change userStatus and biddingStrategyConfiguration. Like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   <soapenv:Header>
      <v20:RequestHeader>
         <v20:clientCustomerId>461-090-3671</v20:clientCustomerId>
         <v20:developerToken>SfA0knzB72VQ3t1iVu5ndQ</v20:developerToken>
         <v20:userAgent>Test</v20:userAgent>
         <v20:validateOnly>false</v20:validateOnly>
         <v20:partialFailure>false</v20:partialFailure>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:mutate>
         <v20:operations>
            <v20:operator>SET</v20:operator>
            <v20:operand xsi:type="BiddableAdGroupCriterion" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
               <v20:adGroupId>15437588649</v20:adGroupId>
               <v20:criterion>
                  <v20:id>86870128449</v20:id>
               </v20:criterion>
              
 <v20:AdGroupCriterion.Type>BiddableAdGroupCriterion</v20:AdGroupCriterion.Type>
            <v20:userStatus>ENABLED</v20:userStatus>
            </v20:operand>
         </v20:operations>
      </v20:mutate>
   </soapenv:Body>
</soapenv:Envelope>



<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>Unmarshalling Error: cvc-complex-type.2.4.d: Invalid 
content was found starting with element 'v20:userStatus'. No child element 
is expected at this point.</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>


I'm making this requests from Salesforce platform. So neither Java nor Php 
Client Libraries are not exact match for me. I parsed the wsdl file of 
AdGroupCriterionService to .cls and trying to use that.

Thanks.

Emre

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/df167ae3-851e-4a0f-a6d1-dfcccab7d9ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to