Adwords v201402 Api Automatic Bidding Scheme Issue

268 views
Skip to first unread message

Akshay Joy

unread,
Aug 22, 2014, 2:34:21 AM8/22/14
to adwor...@googlegroups.com

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;



Josh Radcliff (AdWords API Team)

unread,
Aug 22, 2014, 1:22:16 PM8/22/14
to adwor...@googlegroups.com
Hi,

You are on the right track - as mentioned in the v201402 migration guide, the replacement for BUDGET_OPTIMIZER is TARGET_SPEND.

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 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 for more details.

Best regards,
Josh, AdWords API Team

Akshay Joy

unread,
Aug 23, 2014, 2:57:08 AM8/23/14
to adwor...@googlegroups.com
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?

Akshay Joy

unread,
Aug 23, 2014, 2:58:23 AM8/23/14
to adwor...@googlegroups.com

Josh Radcliff (AdWords API Team)

unread,
Aug 25, 2014, 9:37:05 AM8/25/14
to adwor...@googlegroups.com
Hi,

The BUDGET_OPTIMIZER strategy is simply not available through the API anymore, 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, then you will have to first create a shared bidding strategy through the BiddingStrategyService, and then use the SharedBiddingStrategy.id returned to set up your campaign. As mentioned in our Bidding Guide:

Each BiddingStrategyType and associated BiddingScheme type is only valid for either a 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, although with this type you cannot specify criteria-specific bid overrides.

Best regards,
Josh, AdWords API Team

Akshay Joy

unread,
Aug 27, 2014, 2:33:55 AM8/27/14
to adwor...@googlegroups.com
Hi Josh,

Thank you for your valuable response. So it confirmed that BUDGET_OPTIMIZER is longer supported.

But I want to update only Budget for Particular existing Campaign (BUDGET_OPTIMIZER). I just want to update only the BUDGET for that Campaign which created before with BUDGET_OPTIMIZER. I checked the BudgetService wsdl, I didn't find any method which supports Update only the Budget for the Campaign.

Help me to figure out to Update only BUDGET for existing Campaign which created old API ? 

<wsdl:operation name="get">...</wsdl:operation>
<wsdl:operation name="mutate">...</wsdl:operation>
<wsdl:operation name="query">...</wsdl:operation>  

Josh Radcliff (AdWords API Team)

unread,
Aug 27, 2014, 9:32:34 AM8/27/14
to adwor...@googlegroups.com
Hi,

If you simply want to assign a new budget to an existing campaign, you can issue a CampaignService.mutate request with a CampaignOperation where:
Cheers,
Josh, AdWords API Team

Akshay Joy

unread,
Oct 15, 2014, 1:24:29 AM10/15/14
to adwor...@googlegroups.com


Hi

Yeseteday When I tried to Edit One Campaign I came across one issue, just I changed BiddingStratergy to Automatic(Only Edit Operation, not Create), I can export the Campaign to Adwords without any error. But one when I checked the in Adwords.com, its automatically changes to manual Click. I know create wont support any campaign for scheme BUDGET_OPTIMIZER. But why its happening for Edit Campaign.


On Friday, August 22, 2014 12:04:21 PM UTC+5:30, Akshay Joy wrote:

Josh Radcliff (AdWords API Team)

unread,
Oct 15, 2014, 5:25:13 PM10/15/14
to adwor...@googlegroups.com
Hi,

I'm not sure why the user interface is making that change. Please contact AdWords (non-API) Help from the user interface by clicking the Help link under the gear icon in the upper right corner.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages