Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2016-07-08 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi Asker,

This is an old forum thread, could you kindly start a new thread for your 
question?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, July 7, 2016 at 5:57:58 PM UTC-4, Asker wrote:
>
> The discussion here says:  "Starting with v201402, you can no longer 
> enable enhanced CPC for the manual CPC bidding strategy (see the 
> *Deprecated* section in the v201402 release notes 
> ).".
>
>
> If the above is true why does Google AdWords management console offers a 
> check box to enable ECPC with Manual CPC as recommended in Google 
> documentations here 
> .  In this link 
> scroll down and read* "How to turn on ECPC"*.   There seems to be a 
> contradiction between what is stated here and what is in the link.
>
>
>
> On Monday, December 1, 2014 at 11:32:52 AM UTC-5, Georg Döhring wrote:
>>
>> Hello,
>>
>> we're having trouble creating/updating object with some 
>> biddingStrategies. When trying to create/update we're receiving an "
>> CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"-Error.
>>
>> This is the request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/;
>>
>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201406;
>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
>> 
>> 
>> xxx
>> x
>> x
>> 
>> 
>> 
>> 
>> 
>> 
>> ADD
>> 
>> SHELL Testkampagne 547c80bc970ef
>> ENABLED
>> 20141201
>> 20371230
>> 
>> 183654574
>> 
>> 
>> ROTATE
>> 
>> 
>> true
>> 
>> 
>> intelliad.com
>> en
>> 
>> 
>> SEARCH
>> 
>> true
>> 
>> true
>> 
>> false
>> 
>> false
>> 
>> 
>> 
>> BUDGET_OPTIMIZER
>> > xsi:type="ns1:BudgetOptimizerBiddingScheme">
>> 
>> 50
>> 
>> 
>> false
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>> This is the response:
>>
>> http://schemas.xmlsoap.org/soap/envelope/;>
>> 
>> > xmlns="https://adwords.google.com/api/adwords/cm/v201406;>
>> 0005092a0ce92e310ac4bec71e005653
>> CampaignService
>> mutate
>> 0
>> 152
>> 
>> 
>> 
>> 
>> soap:Server
>> 
>> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
>> 
>> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
>> trigger:'BUDGET_OPTIMIZER']
>> 
>> 
>> > xmlns="https://adwords.google.com/api/adwords/cm/v201406;>
>> 
>> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
>> 
>> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType;
>> trigger:'BUDGET_OPTIMIZER']
>> 
>> 
>> ApiException
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
>> xsi:type="BiddingErrors">
>> 
>> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
>> BUDGET_OPTIMIZER
>> 
>> BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
>> BiddingErrors
>> 
>> CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>> This seems to happen when we try to attach an anonymous bidding strategy 
>> that also has options in the biddingScheme. So when we're trying to create a 
>> campaign with a "Manual Cpc" and option "enhancedCpc", the same error 
>> occurs. Could you please have a look at this? It is important for us, as 
>> we're trying to implement this for the required minimum functionality audit.
>>
>>
>> Thank you very much,
>>
>> Georg Döhring
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2016-07-07 Thread Asker
The discussion here says:  "Starting with v201402, you can no longer enable 
enhanced CPC for the manual CPC bidding strategy (see the *Deprecated* section 
in the v201402 release notes 
).".


If the above is true why does Google AdWords management console offers a 
check box to enable ECPC with Manual CPC as recommended in Google 
documentations here 
.  In this link 
scroll down and read* "How to turn on ECPC"*.   There seems to be a 
contradiction between what is stated here and what is in the link.



On Monday, December 1, 2014 at 11:32:52 AM UTC-5, Georg Döhring wrote:
>
> Hello,
>
> we're having trouble creating/updating object with some biddingStrategies. 
> When trying to create/update we're receiving an "
> CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"-Error.
>
> This is the request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/;
>
> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201406;
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
> 
> 
> xxx
> x
> x
> 
> 
> 
> 
> 
> 
> ADD
> 
> SHELL Testkampagne 547c80bc970ef
> ENABLED
> 20141201
> 20371230
> 
> 183654574
> 
> 
> ROTATE
> 
> 
> true
> 
> 
> intelliad.com
> en
> 
> 
> SEARCH
> 
> true
> 
> true
> 
> false
> 
> false
> 
> 
> 
> BUDGET_OPTIMIZER
>  xsi:type="ns1:BudgetOptimizerBiddingScheme">
> 
> 50
> 
> 
> false
> 
> 
> 
> 
> 
> 
> 
>
>
> This is the response:
>
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201406;>
> 0005092a0ce92e310ac4bec71e005653
> CampaignService
> mutate
> 0
> 152
> 
> 
> 
> 
> soap:Server
> 
> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
> 
> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
> trigger:'BUDGET_OPTIMIZER']
> 
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201406;>
> 
> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
> 
> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType;
> trigger:'BUDGET_OPTIMIZER']
> 
> 
> ApiException
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
> xsi:type="BiddingErrors">
> 
> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
> BUDGET_OPTIMIZER
> 
> BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
> BiddingErrors
> 
> CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
> 
> 
> 
> 
> 
> 
>
>
> This seems to happen when we try to attach an anonymous bidding strategy that 
> also has options in the biddingScheme. So when we're trying to create a 
> campaign with a "Manual Cpc" and option "enhancedCpc", the same error occurs. 
> Could you please have a look at this? It is important for us, as we're trying 
> to implement this for the required minimum functionality audit.
>
>
> Thank you very much,
>
> Georg Döhring
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Hi Josh,

thank you for your reply. This does clarify some thinks, thanks. Seems as 
if we missed about that deprecation. Maybe you should update the API 
doc 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
 
as there is the enhancedCpc Option still mentioned.

For the problem with BudgetOtimizer what's the solution here? Seems as if 
my fellow Dominic Hofilena has the same problem 
here: https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
According to the Bidding guide, a budget optimizer is non-shared so the 
request above should work?

Thank you,
Georg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/73d84c06-60e0-4756-975a-8eb3cc06c6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Georg,

The BudgetOptimizer bidding strategy was deprecated in v201402 
https://developers.google.com/adwords/api/docs/reference/#v201402. Sorry 
I didn't mention this before -- I forgot about this change.

In place of the BudgetOptimizer strategy, use the shared TargetSpend 
strategy.

Good point on the API docs -- I'll look into having those updated to 
reflect these changes.

Cheers,
Josh, AdWords API Team

On Tuesday, December 2, 2014 3:12:15 AM UTC-5, Georg Döhring wrote:

 Hi Josh,

 thank you for your reply. This does clarify some thinks, thanks. Seems as 
 if we missed about that deprecation. Maybe you should update the API doc 
 https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
  
 as there is the enhancedCpc Option still mentioned.

 For the problem with BudgetOtimizer what's the solution here? Seems as if 
 my fellow Dominic Hofilena has the same problem here: 
 https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
 According to the Bidding guide, a budget optimizer is non-shared so the 
 request above should work?

 Thank you,
 Georg


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/c07d31ff-ebf6-407a-9064-2dae8f08aadd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Thank you for the anwser!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/f416d1d8-723e-48a3-8263-85931a7cad20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Georg Döhring
Hello,

we're having trouble creating/updating object with some biddingStrategies. 
When trying to create/update we're receiving an 
CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN-Error.

This is the request:

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201406;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
ns1:RequestHeader
ns1:clientCustomerIdxxx/ns1:clientCustomerId
ns1:developerTokenx/ns1:developerToken
ns1:userAgentx
/ns1:userAgent
/ns1:RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:mutate
ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
ns1:nameSHELL Testkampagne 547c80bc970ef/ns1:name
ns1:statusENABLED/ns1:status
ns1:startDate20141201/ns1:startDate
ns1:endDate20371230/ns1:endDate
ns1:budget
ns1:budgetId183654574/ns1:budgetId
/ns1:budget

ns1:adServingOptimizationStatusROTATE/ns1:adServingOptimizationStatus
ns1:frequencyCap/
ns1:settings xsi:type=ns1:KeywordMatchSetting
ns1:optIntrue/ns1:optIn
/ns1:settings
ns1:settings xsi:type=ns1:DynamicSearchAdsSetting
ns1:domainNameintelliad.com/ns1:domainName
ns1:languageCodeen/ns1:languageCode
/ns1:settings

ns1:advertisingChannelTypeSEARCH/ns1:advertisingChannelType
ns1:networkSetting
ns1:targetGoogleSearchtrue/ns1:targetGoogleSearch
ns1:targetSearchNetworktrue/ns1:targetSearchNetwork

ns1:targetContentNetworkfalse/ns1:targetContentNetwork

ns1:targetPartnerSearchNetworkfalse/ns1:targetPartnerSearchNetwork
/ns1:networkSetting
ns1:biddingStrategyConfiguration

ns1:biddingStrategyTypeBUDGET_OPTIMIZER/ns1:biddingStrategyType
ns1:biddingScheme 
xsi:type=ns1:BudgetOptimizerBiddingScheme
ns1:bidCeiling
ns1:microAmount50/ns1:microAmount
/ns1:bidCeiling

ns1:enhancedCpcEnabledfalse/ns1:enhancedCpcEnabled
/ns1:biddingScheme
/ns1:biddingStrategyConfiguration
/ns1:operand
/ns1:operations
/ns1:mutate
/SOAP-ENV:Body
/SOAP-ENV:Envelope


This is the response:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;
requestId0005092a0ce92e310ac4bec71e005653/requestId
serviceNameCampaignService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime152/responseTime
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode

faultstring[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'BUDGET_OPTIMIZER']
/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;

message[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingStrategyType;
trigger:'BUDGET_OPTIMIZER']
/message

ApplicationException.TypeApiException/ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=BiddingErrors

fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingStrategyType/fieldPath
triggerBUDGET_OPTIMIZER/trigger

errorStringBiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/errorString
ApiError.TypeBiddingErrors/ApiError.Type

reasonCANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope


This seems to happen when we try to attach an anonymous bidding strategy that 
also has options in the biddingScheme. So when we're trying to create a 
campaign with a Manual Cpc and option enhancedCpc, 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Georg Döhring
Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
the exact same request with enhancedCpc=false works fine.

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201406;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
ns1:RequestHeader
ns1:clientCustomerId7467495078/ns1:clientCustomerId
ns1:developerTokenSH1qQ1E55OR4LCvmHetowg/ns1:developerToken
ns1:userAgentintelliAd-2013-php-4.6.1 (AwApi-PHP/5.4.0, 
Common-PHP/5.4.0, PHP/5.4.9-4ubuntu2.4)
/ns1:userAgent
/ns1:RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:mutate
ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
ns1:nameSHELL Testkampagne 547c9e162cb8e/ns1:name
ns1:statusENABLED/ns1:status
ns1:startDate20141201/ns1:startDate
ns1:endDate20371230/ns1:endDate
ns1:budget
ns1:budgetId183661294/ns1:budgetId
/ns1:budget

ns1:adServingOptimizationStatusROTATE/ns1:adServingOptimizationStatus
ns1:frequencyCap/
ns1:settings xsi:type=ns1:KeywordMatchSetting
ns1:optIntrue/ns1:optIn
/ns1:settings
ns1:settings xsi:type=ns1:DynamicSearchAdsSetting
ns1:domainNameintelliad.com/ns1:domainName
ns1:languageCodeen/ns1:languageCode
/ns1:settings

ns1:advertisingChannelTypeSEARCH/ns1:advertisingChannelType
ns1:networkSetting
ns1:targetGoogleSearchtrue/ns1:targetGoogleSearch
ns1:targetSearchNetworktrue/ns1:targetSearchNetwork

ns1:targetContentNetworkfalse/ns1:targetContentNetwork

ns1:targetPartnerSearchNetworkfalse/ns1:targetPartnerSearchNetwork
/ns1:networkSetting
ns1:biddingStrategyConfiguration

ns1:biddingStrategyTypeMANUAL_CPC/ns1:biddingStrategyType
ns1:biddingScheme 
xsi:type=ns1:ManualCpcBiddingScheme

ns1:enhancedCpcEnabledtrue/ns1:enhancedCpcEnabled
/ns1:biddingScheme
/ns1:biddingStrategyConfiguration
/ns1:operand
/ns1:operations
/ns1:mutate
/SOAP-ENV:Body
/SOAP-ENV:Envelope


The response is:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;
requestId0005092a8696f2090ac4b8ea42002c42/requestId
serviceNameCampaignService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime98/responseTime
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode

faultstring[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
 trigger:'true']
/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;

message[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
trigger:'true']
/message

ApplicationException.TypeApiException/ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=BiddingErrors

fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled
/fieldPath
triggertrue/trigger

errorStringBiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/errorString
ApiError.TypeBiddingErrors/ApiError.Type

reasonCANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Georg Döhring
Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
the exact same request with enhancedCpc=false works fine.

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201406;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
ns1:RequestHeader
ns1:clientCustomerIdx/ns1:clientCustomerId
ns1:developerTokenxx/ns1:developerToken
ns1:userAgentx
/ns1:userAgent
/ns1:RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:mutate
ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
ns1:nameSHELL Testkampagne 547c9e162cb8e/ns1:name
ns1:statusENABLED/ns1:status
ns1:startDate20141201/ns1:startDate
ns1:endDate20371230/ns1:endDate
ns1:budget
ns1:budgetId183661294/ns1:budgetId
/ns1:budget

ns1:adServingOptimizationStatusROTATE/ns1:adServingOptimizationStatus
ns1:frequencyCap/
ns1:settings xsi:type=ns1:KeywordMatchSetting
ns1:optIntrue/ns1:optIn
/ns1:settings
ns1:settings xsi:type=ns1:DynamicSearchAdsSetting
ns1:domainNameintelliad.com/ns1:domainName
ns1:languageCodeen/ns1:languageCode
/ns1:settings

ns1:advertisingChannelTypeSEARCH/ns1:advertisingChannelType
ns1:networkSetting
ns1:targetGoogleSearchtrue/ns1:targetGoogleSearch
ns1:targetSearchNetworktrue/ns1:targetSearchNetwork

ns1:targetContentNetworkfalse/ns1:targetContentNetwork

ns1:targetPartnerSearchNetworkfalse/ns1:targetPartnerSearchNetwork
/ns1:networkSetting
ns1:biddingStrategyConfiguration

ns1:biddingStrategyTypeMANUAL_CPC/ns1:biddingStrategyType
ns1:biddingScheme 
xsi:type=ns1:ManualCpcBiddingScheme

ns1:enhancedCpcEnabledtrue/ns1:enhancedCpcEnabled
/ns1:biddingScheme
/ns1:biddingStrategyConfiguration
/ns1:operand
/ns1:operations
/ns1:mutate
/SOAP-ENV:Body
/SOAP-ENV:Envelope


The response is:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;
requestId0005092a8696f2090ac4b8ea42002c42/requestId
serviceNameCampaignService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime98/responseTime
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode

faultstring[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
 trigger:'true']
/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;

message[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
trigger:'true']
/message

ApplicationException.TypeApiException/ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=BiddingErrors

fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled
/fieldPath
triggertrue/trigger

errorStringBiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/errorString
ApiError.TypeBiddingErrors/ApiError.Type

reasonCANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Josh Radcliff (AdWords API Team)
Hi Georg,

There are two separate issues related to your question.

1. Starting with v201402, you can no longer enable enhanced CPC for the 
manual CPC bidding strategy (see the *Deprecated* section in the v201402 
release notes 
https://developers.google.com/adwords/api/docs/reference/#v201402).

2. In place of #1, you should use a bidding strategy of type ENHANCED_CPC. 
However, as mentioned in our Bidding Guide 
https://developers.google.com/adwords/api/docs/guides/bidding, you can 
only use ENHANCED_CPC when creating a *shared* bidding strategy, so you'll 
have to first create the shared strategy via BiddingStrategyService 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService,
 
and then use the returned SharedBiddingStrategy.id 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.SharedBiddingStrategy#id
 to 
populate the campaign's biddingStrategyConfiguration.biddingStrategyId 
https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService.BiddingStrategyConfiguration#biddingStrategyId
.

Cheers,
Josh, AdWords API Team

On Monday, December 1, 2014 12:02:07 PM UTC-5, Georg Döhring wrote:

 Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
 the exact same request with enhancedCpc=false works fine.

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

 xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201406;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 SOAP-ENV:Header
 ns1:RequestHeader
 ns1:clientCustomerIdx/ns1:clientCustomerId
 ns1:developerTokenxx/ns1:developerToken
 ns1:userAgentx
 /ns1:userAgent
 /ns1:RequestHeader
 /SOAP-ENV:Header
 SOAP-ENV:Body
 ns1:mutate
 ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
 ns1:nameSHELL Testkampagne 547c9e162cb8e/ns1:name
 ns1:statusENABLED/ns1:status
 ns1:startDate20141201/ns1:startDate
 ns1:endDate20371230/ns1:endDate
 ns1:budget
 ns1:budgetId183661294/ns1:budgetId
 /ns1:budget
 
 ns1:adServingOptimizationStatusROTATE/ns1:adServingOptimizationStatus
 ns1:frequencyCap/
 ns1:settings xsi:type=ns1:KeywordMatchSetting
 ns1:optIntrue/ns1:optIn
 /ns1:settings
 ns1:settings xsi:type=ns1:DynamicSearchAdsSetting
 ns1:domainNameintelliad.com/ns1:domainName
 ns1:languageCodeen/ns1:languageCode
 /ns1:settings
 
 ns1:advertisingChannelTypeSEARCH/ns1:advertisingChannelType
 ns1:networkSetting
 ns1:targetGoogleSearchtrue/ns1:targetGoogleSearch
 
 ns1:targetSearchNetworktrue/ns1:targetSearchNetwork
 
 ns1:targetContentNetworkfalse/ns1:targetContentNetwork
 
 ns1:targetPartnerSearchNetworkfalse/ns1:targetPartnerSearchNetwork
 /ns1:networkSetting
 ns1:biddingStrategyConfiguration
 
 ns1:biddingStrategyTypeMANUAL_CPC/ns1:biddingStrategyType
 ns1:biddingScheme 
 xsi:type=ns1:ManualCpcBiddingScheme
 
 ns1:enhancedCpcEnabledtrue/ns1:enhancedCpcEnabled
 /ns1:biddingScheme
 /ns1:biddingStrategyConfiguration
 /ns1:operand
 /ns1:operations
 /ns1:mutate
 /SOAP-ENV:Body
 /SOAP-ENV:Envelope


 The response is:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader 
 xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 requestId0005092a8696f2090ac4b8ea42002c42/requestId
 serviceNameCampaignService/serviceName
 methodNamemutate/methodName
 operations0/operations
 responseTime98/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 soap:Fault
 faultcodesoap:Server/faultcode
 
 faultstring[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
 
 operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
  trigger:'true']
 /faultstring
 detail
 ApiExceptionFault 
 xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 
 message[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @