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:

  
https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/examples/v201409/basic_operations/update_campaign.rb


-Danial, AdWords API Team.


On Monday, February 16, 2015 at 2:01:19 PM UTC+3, Italo Armenti wrote:
>
> 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!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/43ff46c5-e9a0-4ca1-a355-ab3994717c58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to