Hi,

Have you tried setting the xsi type of your *operand* in the mutate 
request, e.g., xsi:type="BiddableAdGroupCriterion" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";? In addition, your *SET* operation 
isn't actually setting any attributes -- it just includes the AdGroup ID 
and Criterion ID. Could you elaborate on what you are trying to do via this 
request?

Also, have you considered using one of our client libraries 
<https://developers.google.com/adwords/api/docs/clientlibraries>? They 
handle all of the SOAP interactions and XML marshalling/unmarshalling for 
you so you can just work with the API objects.

Cheers,
Josh, AdWords API Team

On Thursday, October 16, 2014 5:24:31 AM UTC-4, Emre Akkuş wrote:
>
> No Matter what i try, i cant get rid of CONCRETE_TYPE_REQUIRED Error. I'm 
> sure that adGroupId and Keyword is exist. (I can make get request ). And My 
> operand is BiddableAdGroupCriterion. I do not know what else i can do.
>
> any help????
>
>
>
>
>
>
> GET RESPONSE OF CRITERIONS:
>
>
>  <entries xsi:type="BiddableAdGroupCriterion" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>                <adGroupId>15437588649</adGroupId>
>                <criterionUse>BIDDABLE</criterionUse>
>                <criterion xsi:type="Keyword">
>                   <id>86870128449</id>
>                   <type>KEYWORD</type>
>                   <Criterion.Type>Keyword</Criterion.Type>
>                   <matchType>BROAD</matchType>
>                </criterion>
>               
>  <AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type>
>             </entries>
>
>
>
>
>
> 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 >
>                <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>
>
> RESPONSE: 
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>    <soap:Header>
>       <ResponseHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201409";>
>          <requestId>00050586be6327580ac415a10c00013b</requestId>
>          <serviceName>AdGroupCriterionService</serviceName>
>          <methodName>mutate</methodName>
>          <operations>0</operations>
>          <responseTime>218</responseTime>
>       </ResponseHeader>
>    </soap:Header>
>    <soap:Body>
>       <soap:Fault>
>          <faultcode>soap:Server</faultcode>
>          <faultstring>[AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @ 
> operations[0].operand]</faultstring>
>          <detail>
>             <ApiExceptionFault xmlns="
> https://adwords.google.com/api/adwords/cm/v201409";>
>                <message>[AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @ 
> operations[0].operand]</message>
>               
>  <ApplicationException.Type>ApiException</ApplicationException.Type>
>                <errors xsi:type="AdGroupCriterionError" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>                   <fieldPath>operations[0].operand</fieldPath>
>                   <trigger/>
>                   
> <errorString>AdGroupCriterionError.CONCRETE_TYPE_REQUIRED</errorString>
>                   <ApiError.Type>AdGroupCriterionError</ApiError.Type>
>                   <reason>CONCRETE_TYPE_REQUIRED</reason>
>                </errors>
>             </ApiExceptionFault>
>          </detail>
>       </soap:Fault>
>    </soap:Body>
> </soap:Envelope>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0192be00-57f7-48ad-a2c5-8daa4f5bed5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to