Change bid for adgroup

31 views
Skip to first unread message

Italo Armenti

unread,
Feb 16, 2015, 6:01:19 AM2/16/15
to adwor...@googlegroups.com
Hello,
I've been surfing the API documentation for a while now but still I can't find an answer to my question.

Through the AdGroupService I get a specific adgroup id that (in ruby) looks like this:
{ :id=>13170524214,
  :campaign_id=>191016414,
  :bidding_strategy_configuration=>{
    :bids=>[
     {:bids_type=>"CpaBid", 
      :bid=> {:comparable_value_type=>"Money", :micro_amount=>3500000}, 
     :xsi_type=>"CpaBid"}]}
}

I would like to change the cpa bid's amount to $4. How can I do that?

Thanks!

Danial Klimkin

unread,
Feb 16, 2015, 8:33:48 AM2/16/15
to adwor...@googlegroups.com
Hello Italo,


You need to send a mutate operation with :id field and the fields you want to update, similarly how it is done with campaign in this example:



-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages