Hi, You are on the right track - as mentioned in the v201402 migration guide <https://developers.google.com/adwords/api/docs/guides/migration/v201402>, the replacement for BUDGET_OPTIMIZER is TARGET_SPEND <https://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService.TargetSpendBiddingScheme> .
The *validateOnly* flag is only for testing a *single* mutate call, so you will have to actually create the shared bidding strategy first before you can test your CampaignService.mutate <https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService#mutate> call with *validateOnly* set to true. Note that when you use *validateOnly* you will get back an empty response if the request succeeds, and a SOAP fault if it does not. See our Working with Objects Guide <https://developers.google.com/adwords/api/docs/guides/working-with-objects#validating-mutates> for more details. Best regards, Josh, AdWords API Team On Friday, August 22, 2014 2:34:21 AM UTC-4, Akshay Joy wrote: > > I tried to use Automatic Bidding Scheme(*BUDGET_OPTIMIZER*) in the Custom > application to create Campaign, when I try to create a campaign , I amg > getting the error unable to attach the campaign with scheme > *BUDGET_OPTIMIZER*. Later I checked the migration guide, they said it is > no longer supported, they introduced new bidding scheme *TARGET_SPEND* and > also that is SharedBiddingStartergy type. I am confusing whether I need to > choose *TARGET_SPEND* or something else. > > Please help me to choose which is the correct replacement for the > Automatic Bidding Scheme (*BUDGET_OPTIMIZER*) in Adwords v201402 Api. > > Inrorder to use TARGET_SPEND , I have to create SharedBiddingStartergy > service mutate the Service, and get the Id set to > campaign.biddingStartergyConfiguration.biddingStartergyId, > > But What am facing is that SharedBiddingStratergy requires name before > invoking the call for validation and real export. how can I achieve > sharedbiddingStartergyService without any name mentioned in the custome > code. > > If I use some random name in the SharedBiddingStratergy name, name shows > in the Adwords.google.com looks weird. Please suggest a workaround for > this. > > sharedBiddingStrategy.name = "Maximize Clicks " + objCampaign.Name; > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/7585e6b8-0b39-46ae-9ec0-114f3d373f85%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
