Hi all,

While transitioning to the newest version of Adwords API (we are using Ruby 
on Rails) I saw a strange error with one of our tests:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
  <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
    <requestId>yyyyyyyyyyyyyyyyyyyyyyyyyyy</requestId>
    <serviceName>AdGroupCriterionService</serviceName>
    <methodName>mutate</methodName>
    <operations>4</operations>
    <responseTime>721</responseTime>
  </ResponseHeader>
</soap:Header>
<soap:Body>
  <soap:Fault>
    <faultcode>soap:Server</faultcode>
    
<faultstring>[CriterionError.CANNOT_SET_BIDS_ON_PLACEMENTS_IN_SEARCH_PLUS_CAMPAIGNS
 
@ operations[3].operand.biddingStrategyConfiguration.bids]</faultstring>
    <detail>
      <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
        
<message>[CriterionError.CANNOT_SET_BIDS_ON_PLACEMENTS_IN_SEARCH_PLUS_CAMPAIGNS 
@ operations[3].operand.biddingStrategyConfiguration.bids]</message>
        <ApplicationException.Type>ApiException</ApplicationException.Type>
        <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionError">
          
<fieldPath>operations[3].operand.biddingStrategyConfiguration.bids</fieldPath>
          <trigger></trigger>
          
<errorString>CriterionError.CANNOT_SET_BIDS_ON_PLACEMENTS_IN_SEARCH_PLUS_CAMPAIGNS</errorString>
          <ApiError.Type>CriterionError</ApiError.Type>
          <reason>UNKNOWN</reason>
        </errors>
      </ApiExceptionFault>
    </detail>
  </soap:Fault>
</soap:Body>
</soap:Envelope>

The operation hash with which I was getting this is:

[
  {
    :operator=>"ADD",
    :operand=> {
      :xsi_type=>"BiddableAdGroupCriterion",
      :criterion=> {:xsi_type=>"Keyword", :text=>"mars cruise", 
:match_type=>"BROAD"},
      :bidding_strategy_configuration=> {
        :bids=>[{:xsi_type=>"CpcBid", :bid=>{:micro_amount=>"100000"}}]
      },
      :ad_group_id=>16062902775}
  },
  {
    :operator=>"ADD",
    :operand=> {
      :xsi_type=>"BiddableAdGroupCriterion",
      :criterion=> {:xsi_type=>"Keyword", :text=>"testing criteria", 
:match_type=>"BROAD"},
      :bidding_strategy_configuration=> {
        :bids=>[{:xsi_type=>"CpcBid", :bid=>{:micro_amount=>"100000"}}]
      },
      :ad_group_id=>16062902775
    }
  },
  {
    :operator=>"ADD",
    :operand=> {
      :xsi_type=>"NegativeAdGroupCriterion",
      :criterion=>{:xsi_type=>"Placement", :url=>"test3.google.com"},
      :ad_group_id=>16062902775
    }
  },
  {
    :operator=>"ADD",
    :operand=> {
      :xsi_type=>"BiddableAdGroupCriterion",
      :criterion=>{:xsi_type=>"Placement", :url=>"test2.google.com"},
      :bidding_strategy_configuration=> {
        :bids=>[{:xsi_type=>"CpcBid", :bid=>{:micro_amount=>"100000"}}]
      },
      :ad_group_id=>16062902775
    }
  }
]

(The campaign containing the adgroup had the bid strategy type set 
to: MANUAL_CPC)
(When I comment the last criterion the error disappears)

There are two things I would want to check with you:
1. Somehow I couldn't find this error in the documentation, did I miss 
something or is it an undocumented error?
2. And more important: which implications will this have for our every days 
work? What is changed between v201309 and v201402 that I should implement 
in code too?

Thanks,
Szabolcs.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to