What can cause this error CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN

204 views
Skip to first unread message

Dominic Hofilena

unread,
Nov 27, 2014, 10:15:22 PM11/27/14
to adwor...@googlegroups.com
Hi,

Im getting this error when creating a new campaign

CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; trigger:'BUDGET_OPTIMIZER'

What could cause this error? My other bidding schemes work. like CONVERSION_OPTIMIZER and MANUAL_CPC. I'm confused with this one

Im attaching the code I'm using.

Thanks in Advance

Dominic

addCampaign.php

Danial Klimkin

unread,
Nov 28, 2014, 7:18:36 AM11/28/14
to adwor...@googlegroups.com
Hello Dominic,


Could you please send us the XML code you are sending in the request? Please make sure to remove sensitive details such as developer token and authorization details.


-Danial, AdWords API Team.

Dominic Hofilena

unread,
Nov 29, 2014, 5:26:15 AM11/29/14
to adwor...@googlegroups.com
Thanks Danial,

Here my XML code

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId>
<ns1:developerToken>{confidential}</ns1:developerToken>
<ns1:userAgent>INSERT_COMPANY_NAME_HERE (AwApi-PHP/5.5.2, Common-PHP/5.5.2, PHP/5.5.12)</ns1:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>ADD</ns1:operator>
<ns1:operand>
<ns1:name>camp 1</ns1:name>
<ns1:budget>
<ns1:budgetId>293235197</ns1:budgetId>
<ns1:name>camp 1_budget2014-11-29_54799b81674bf</ns1:name>
<ns1:period>DAILY</ns1:period>
<ns1:amount>
<ns1:ComparableValue.Type>Money</ns1:ComparableValue.Type>
<ns1:microAmount>1000000</ns1:microAmount>
</ns1:amount>
<ns1:deliveryMethod>STANDARD</ns1:deliveryMethod>
<ns1:isExplicitlyShared>false</ns1:isExplicitlyShared>
<ns1:status>ENABLED</ns1:status>
</ns1:budget>
<ns1:adServingOptimizationStatus>OPTIMIZE</ns1:adServingOptimizationStatus>
<ns1:advertisingChannelType>SEARCH</ns1:advertisingChannelType>
<ns1:networkSetting>
<ns1:targetGoogleSearch>true</ns1:targetGoogleSearch>
<ns1:targetSearchNetwork>true</ns1:targetSearchNetwork>
<ns1:targetContentNetwork>true</ns1:targetContentNetwork>
</ns1:networkSetting>
<ns1:biddingStrategyConfiguration>
<ns1:biddingStrategyType>BUDGET_OPTIMIZER</ns1:biddingStrategyType>
<ns1:biddingScheme xsi:type="ns1:BudgetOptimizerBiddingScheme">
<ns1:bidCeiling>
<ns1:microAmount>0</ns1:microAmount>
</ns1:bidCeiling>
</ns1:biddingScheme>
</ns1:biddingStrategyConfiguration>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Dominic Hofilena

unread,
Dec 1, 2014, 10:06:34 PM12/1/14
to adwor...@googlegroups.com
Um anything :)

Danial Klimkin

unread,
Dec 4, 2014, 8:11:56 PM12/4/14
to adwor...@googlegroups.com
Hello Dominic,


Sorry for the delay, I was traveling.

Opt-in of budget optimizer bidding strategy is removed from V201402 onward. Use the Maximize clicks flexible bid strategy instead.

Also, note you can't set budget details inline, you need to create a budget with BudgetService and set campaign budgetId field to its ID.

Consider reviewing the migration guide:



-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages