Hi, Support for the Budget Optimizer strategy was removed in v201402, so you're correct that you should use Target Spend instead.
However, in order to use Target Spend, you need to first *separately* create a Target Spend *shared* bidding strategy via the BiddingStrategyService <https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService>, and then use the SharedBiddingStrategy id <https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.SharedBiddingStrategy#id> in your subsequent change to the campaign. That's because the Target Spend strategy is a *shared only* strategy type. See the Bidding guide <https://developers.google.com/adwords/api/docs/guides/bidding> for details. Cheers, Josh, AdWords API Team On Friday, January 2, 2015 6:22:11 AM UTC-5, Anil Vadhavane wrote: > > Hi, > > Using API to change bidding scheme from Manual CPC to "Budget Optimizer" > it shows following error : > > BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ > operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; > trigger:'BUDGET_OPTIMIZER' > > > > On community forum we found reference somewhere to use > *TargetSpendBiddingScheme* instead of *BudgetOptimizerBiddingScheme. *Using > the *TargetSpendBiddingScheme *also shows following error : > > > BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ > operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; > trigger:'TARGET_SPEND' > > > Please suggest. > > > > 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/5d948b09-1988-4d8f-b43e-aebc7b1ff3e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
