Use follow code: $bid = new CpcBid(); $money = new Money(); $money->setMicroAmount(1095000000); //Change this to your micro value. $bid->setBid($money); $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); $biddingStrategyConfiguration->setBids([$bid]); $adGroupCriterion->setBiddingStrategyConfiguration($biddingStrategyConfiguration);
El viernes, 22 de junio de 2012, 16:57:20 (UTC-5), Steve escribió: > > Hi, > > Is it possible to update the maxCpc of an existing keyword through the API? > > If it is, can someone provide an example in PHP? I tried the following and > it did not work: > > $bids = new ManualCPCAdGroupCriterionBids(); > $bids->maxCpc = new Bid(new Money(1000000)); > $adGroupCriterion->bids = $bids; > > Thank you in advance for taking time to help me out. > > Steve > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/af34d0f2-9b35-4b88-a5b1-cde9d896aba0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.