Hi,

The BUDGET_OPTIMIZER strategy is simply not available through the API 
anymore 
<https://developers.google.com/adwords/api/docs/guides/migration/v201402>, 
so you will not be able to set up your campaign to use it via the API.

If you use the TARGET_SPEND ("Maximize clicks") bidding strategy instead, 
as recommended in the v201402 Migration Guide 
<https://developers.google.com/adwords/api/docs/guides/migration/v201402>, 
then you will have to first create a shared bidding strategy through the 
BiddingStrategyService 
<https://developers.google.com/adwords/api/docs/reference/v201406/BiddingStrategyService>,
 
and then use the SharedBiddingStrategy.id 
<https://developers.google.com/adwords/api/docs/reference/v201406/BiddingStrategyService.SharedBiddingStrategy#id>
 returned 
to set up your campaign. As mentioned in our Bidding Guide 
<https://developers.google.com/adwords/api/docs/guides/bidding>:

Each BiddingStrategyType and associated BiddingScheme type is only valid 
> for either a SharedBiddingStrategy 
> <https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService.SharedBiddingStrategy>
>  *or* a non-shared BiddingStrategyConfiguration of a specific campaign, 
> ad group, or keyword.


The table in the guide shows that a TARGET_SPEND strategy can only be 
created as SharedBiddingStrategy, not as part of a Campaign-specific 
bidding strategy configuration.

The v201402 Migration Guide also points out that:

EnhancedCpc setting can no longer be enabled for Manual CPC bidding 
> strategy.


However, you could use the ENHANCED_CPC bidding type 
<https://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService.EnhancedCpcBiddingScheme>,
 
although with this type you cannot specify criteria-specific bid overrides.

Best regards,
Josh, AdWords API Team

On Saturday, August 23, 2014 2:58:23 AM UTC-4, Akshay Joy wrote:
>
> Hi Josh Redcliff,
>
> Thank you for the valuable response. I am working on the migration of 
> BUDGET_OPTIMIZER to TARGET_SPEND. 
>
> API:- 201402
> Library:- C#
>
> When I try to create a Campaign in adwords.google.com with Bidding 
> (Manual+Enable Enhanced CPC / Automatic + CPC Bid Limit(Some value)), I can 
> able to create a campaign with the same bidding without error. Also When I 
> try to import the same campaign into the custom appliaction, I am getting 
> the proper values with *enableEnhancedCPC=true. *Also it supports the 
> BUDGET_OPTMIZER in the Campaign. 
>
> But when I try to create a campaign with same bidding 
> setting  (Manual+Enable Enhanced CPC / Automatic + CPC Bid Limit(Some 
> value)) , biddiing request xml shows below.
>
>  <biddingStrategyConfiguration>
>         <biddingStrategyType>MANUAL_CPC</biddingStrategyType>
>         <biddingScheme xsi:type="ManualCpcBiddingScheme">
>           <enhancedCpcEnabled>true</enhancedCpcEnabled>
>         </biddingScheme>
>       </biddingStrategyConfiguration>
>
> with Automatic Bidding + CPC Bid Limit
> <biddingStrategyConfiguration>
>         <biddingStrategyType>BUDGET_OPTIMIZER</biddingStrategyType>
>         <biddingScheme xsi:type="BudgetOptimizerBiddingScheme">
>           <bidCeiling>
>             <ComparableValue.Type>Money</ComparableValue.Type>
>             <microAmount>10000000</microAmount>
>           </bidCeiling>
>           <enhancedCpcEnabled>false</enhancedCpcEnabled>
>         </biddingScheme>
>       </biddingStrategyConfiguration>
>
> these request always gives error 
> BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ operations[0].
> operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled; 
> trigger:'true']"}
>
> &
>
>
>
> {"[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ 
> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
> trigger:'BUDGET_OPTIMIZER']"}
>
> But while importing the newly created campaign with the same settings, I 
> am not getting any error. 
>
> 1. Please tell me how its behaving like this?
> 2. Like adowrds.google.com, how can I use the same BUDGET_OPTIMIZER 
> setting with V201402 API.
> 3. How to solve the issue without using shared bidding Startegy for 
> Automatic bidding?
>
> On Friday, August 22, 2014 12:04:21 PM UTC+5:30, 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/70921ad0-e8ab-41d3-8324-0ddaf8448a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to