MANUAL_CPC is not supported in v201402?

206 views
Skip to first unread message

Hudarsono Hu

unread,
Jun 13, 2014, 3:35:21 AM6/13/14
to adwor...@googlegroups.com
Hi There,

We got an error message saying "BiddingStrategyError.BIDDING_STRATEGY_NOT_SUPPORTED"  when we tried to create "MANUAL_CPC" bid using BidStrategyService?   

Here is the soap request :

SOAP request: https://adwords.google.com/api/adwords/cm/v201402/BiddingStrategyService

==== header omitted =====

<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201402" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><wsdl:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201402"><userAgent>========== (AwApi-Ruby/0.12.0, Common-Ruby/0.9.5, Savon/1.2.0, ruby/2.1.1, HTTPI/1.1.1, net_http)</userAgent><developerToken>================</developerToken><clientCustomerId>==========</clientCustomerId></wsdl:RequestHeader></env:Header><env:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201402"><operations><operator>ADD</operator><operand><biddingScheme xsi:type="ManualCpcBiddingScheme"><enhancedCpcEnabled>false</enhancedCpcEnabled></biddingScheme><name>1402644565</name><status>ACTIVE</status><type>MANUAL_CPC</type></operand></operations></mutate></env:Body></env:Envelope>


The soap response was :

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201402"><requestId>0004fbb2a313e0b00a424f278c0046f2</requestId><serviceName>BiddingStrategyService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>121</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[BiddingStrategyError.BIDDING_STRATEGY_NOT_SUPPORTED @ operations[0].operand.type; trigger:'MANUAL_CPC']</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201402"><message>[BiddingStrategyError.BIDDING_STRATEGY_NOT_SUPPORTED @ operations[0].operand.type; trigger:'MANUAL_CPC']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="BiddingStrategyError"><fieldPath>operations[0].operand.type</fieldPath><trigger>MANUAL_CPC</trigger><errorString>BiddingStrategyError.BIDDING_STRATEGY_NOT_SUPPORTED</errorString><ApiError.Type>BiddingStrategyError</ApiError.Type><reason>BIDDING_STRATEGY_NOT_SUPPORTED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>


Thanks!


Josh Radcliff (AdWords API Team)

unread,
Jun 13, 2014, 4:14:14 PM6/13/14
to adwor...@googlegroups.com
Hi,

Some bidding strategies cannot be used as shared bidding strategies. You can see this in the UI as well (see the attached screenshot).

However, you still can use these bidding strategies as "anonymous" (or not shared) bidding strategies when creating a campaign or ad group. You can see this in action in our add_campaigns.rb code example.

Cheers,
Josh, AdWords API Team
YOACJjLtHU.png

Luca Fiaschi

unread,
Aug 20, 2014, 12:41:23 PM8/20/14
to adwor...@googlegroups.com
Hi I have a similiar error with api version v201402:

indeed using "anonymous" bidding strategy for the ManualCpcBiddingScheme works only if the parameter 'enhancedCpcEnabled' is set to 'false', when the parameter is set to true, the shared bidding strategy and the "anonymus" bidding strategy fails with the following error:


(BiddingErrors){
   fieldPath = "operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled"
   trigger = "true"
   errorString = "BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"
   ApiError.Type = "BiddingErrors"
   reason = "CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"
 }


However the documentation seems to state that the field is normal boolean



this is my campaign request:

{'status': 'PAUSED', 
'advertisingChannelType': 'SEARCH', 
'name': u'RU-MOS[S[Res_1_RU]: s3aa_27002193_\u041a\u0430\u0444\u0435\u0442\u0435\u0440\u0440\u0438\u044f',
'settings':  [{'positiveGeoTargetType': 'DONT_CARE', 
                    'negativeGeoTargetType': 'DONT_CARE', 
                      'xsi_type': 'GeoTargetTypeSetting'}, 
                  {'optIn': 'true', 'xsi_type': 'KeywordMatchSetting'}], 
'biddingStrategyConfiguration': {'biddingStrategyType': 'MANUAL_CPC', 
                                                       'biddingScheme': {'enhancedCpcEnabled': 'true', 
                                                                                      'xsi_type': 'ManualCpcBiddingScheme'}}, 
'budget': {'budgetId': 295790110L}, 
'adServingOptimizationStatus': u'ROTATE_INDEFINITELY', 
'networkSetting': {'targetContentNetwork': 'false', 
                              'targetSearchNetwork': 'true', 
                              'targetGoogleSearch': 'true', 
                              'targetPartnerSearchNetwork': 'false'}
}

Thanks

Anash P. Oommen (AdWords API Team)

unread,
Aug 21, 2014, 10:16:25 AM8/21/14
to adwor...@googlegroups.com
Hi Luca,

I'll ask the tech writer to update the documentation.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages