Sorry for my english.


To add an adjustment to the age rate, send a request to the service
 CampaignCriterionService:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201705";>
   <soapenv:Header>
      <v20:RequestHeader>
         <v20:clientCustomerId>2585558101</v20:clientCustomerId>
         <v20:developerToken>**********************</v20:developerToken>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:mutate>
         <v20:operations>
            <v20:operator>ADD</v20:operator>
            <v20:operand>
               <v20:campaignId>627733913</v20:campaignId>
              <v20:isNegative>false</v20:isNegative>
               <v20:criterion>        
                  <v20:type>AGE_RANGE</v20:type>
  <v20:Criterion.Type>AGE_RANGE_18_24</v20:Criterion.Type>
               </v20:criterion>  
               <v20:bidModifier>9.0</v20:bidModifier>
            </v20:operand>
         </v20:operations>
      </v20:mutate>
   </soapenv:Body>
</soapenv:Envelope>



As a result, the answer is returned:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Header>
      <ResponseHeader xmlns=
"https://adwords.google.com/api/adwords/cm/v201705";>
         <requestId>000559ff9d2d71d90a3728247807d3c1</requestId>
         <serviceName>CampaignCriterionService</serviceName>
         <methodName>mutate</methodName>
         <operations>1</operations>
         <responseTime>186</responseTime>
      </ResponseHeader>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>[CampaignCriterionError.CONCRETE_TYPE_REQUIRED @ 
operations[0].operand.criterion]</faultstring>
         <detail>
            <ApiExceptionFault xmlns=
"https://adwords.google.com/api/adwords/cm/v201705";>
               <message>[CampaignCriterionError.CONCRETE_TYPE_REQUIRED @ 
operations[0].operand.criterion]</message>
               <ApplicationException.Type>ApiException
</ApplicationException.Type>
               <errors xsi:type="CampaignCriterionError" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
                  <fieldPath>operations[0].operand.criterion</fieldPath>
                  <fieldPathElements>
                     <field>operations</field>
                     <index>0</index>
                  </fieldPathElements>
                  <fieldPathElements>
                     <field>operand</field>
                  </fieldPathElements>
                  <fieldPathElements>
                     <field>criterion</field>
                  </fieldPathElements>
                  <trigger/>
                  <errorString>CampaignCriterionError.CONCRETE_TYPE_REQUIRED
</errorString>
                  <ApiError.Type>CampaignCriterionError</ApiError.Type>
                  <reason>CONCRETE_TYPE_REQUIRED</reason>
               </errors>
            </ApiExceptionFault>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

What is CONCRETE TYPE? how to fix the error?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/70eb8c72-b136-48a9-b580-3c4f49442f51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • CampaignCriteri... 'Denis Abdrahmanov' via AdWords API Forum
    • Re: Campai... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: Ca... 'Denis Abdrahmanov' via AdWords API Forum

Reply via email to