Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-21 Thread Ray Tsang (AdWords API Team)
Jeremy,

I was able to look into this - Enhanced CPC can be created only as a 
named/shared bidding strategy.  What that means is you'll need to use the 
BiddingStratgyService to create it, and then use the newly assigned bidding 
strategy ID with your Campaign.

I hope this helps.

Thanks,

On Thursday, March 20, 2014 8:10:49 AM UTC-4, Jeremy Aube wrote:

 Also, it looks like it's still possible to enable enhanced cpc through the 
 interface without have to create an explicit bidding strategy, so shouldn't 
 it still be possible to do this through the API?

 On Wednesday, March 19, 2014 5:05:37 PM UTC-4, Jeremy Aube wrote:

 Yes we had this working before with v201309 with the following request 
 difference:

   biddingStrategyConfiguration
 biddingStrategyTypeMANUAL_CPC/biddingStrategyType
 biddingScheme xsi:type=ManualCpcBiddingScheme
   enhancedCpcEnabledtrue/enhancedCpcEnabled
 /biddingScheme
   /biddingStrategyConfiguration
 /operand

 We knew this wouldn't work based on the migration instructions as well as 
 the CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN error we were getting. We 
 were hoping there might still be a way to enable enhanced cpc without 
 having to create a separate bidding strategy.

 On Wednesday, March 19, 2014 4:24:13 PM UTC-4, Ray Tsang (AdWords API 
 Team) wrote:

 Jeremy,

 There was indeed a change in v201402 - please see our migration 
 pagehttps://developers.google.com/adwords/api/docs/guides/migration/v201402
 .
 That being said - were you able to create enhanced cpc bidding strategy 
 previously?

 Anonymous bidding strategy means that you are creating an enhanced cpc 
 bidding strategy as you create a new Campaign, rather than referencing to 
 an existing ID.  You could create one via the 
 BiddingStrategyServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService
 .

 Please let me know if this behavior change is new for you.

 Cheers,

 Ray

 On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:

 Starting in v201402, it appears we can no longer set the bidding 
 strategy to enhanced cpc for new campaigns. Here is the SOAP request and 
 response:

 I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : ?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://www.w3.org/2003/05/soap-envelope;
   env:Header
 wsdl:RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   userAgent***/userAgent
   developerToken***/developerToken
   clientCustomerId***/clientCustomerId
 /wsdl:RequestHeader
   /env:Header
   env:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201402;
   operations xsi:type=CampaignOperation
 operatorADD/operator
 operand
   name***/name
   statusPAUSED/status
   budget
 budgetId223925663/budgetId
 periodDAILY/period
 amount
   microAmount1000/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
 isExplicitlySharedfalse/isExplicitlyShared
 statusACTIVE/status
   /budget
   settings xsi:type=KeywordMatchSetting
 optIntrue/optIn
   /settings
   advertisingChannelTypeSEARCH/advertisingChannelType
   networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworktrue/targetSearchNetwork
 targetContentNetworkfalse/targetContentNetwork
   /networkSetting
   biddingStrategyConfiguration
 biddingStrategyTypeENHANCED_CPC/biddingStrategyType
   /biddingStrategyConfiguration
 /operand
   /operations
   policy/
 /mutate
   /env:Body
 /env:Envelope

 I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   requestId0004f4fafa60a6500ae6c9483b03/requestId
   serviceNameMutateJobService/serviceName
   methodNamegetResult/methodName
   operations1/operations
   responseTime752/responseTime
 /ResponseHeader
   /soap:Header
   soap:Body
 getResultResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   rval
 SimpleMutateResult
   results
 PlaceHolder/
   /results
   errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=BiddingErrors
 
 fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingStrategyType/fieldPath
 triggerENHANCED_CPC/trigger
 
 

Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-20 Thread Jeremy Aube
Also, it looks like it's still possible to enable enhanced cpc through the 
interface without have to create an explicit bidding strategy, so shouldn't 
it still be possible to do this through the API?

On Wednesday, March 19, 2014 5:05:37 PM UTC-4, Jeremy Aube wrote:

 Yes we had this working before with v201309 with the following request 
 difference:

   biddingStrategyConfiguration
 biddingStrategyTypeMANUAL_CPC/biddingStrategyType
 biddingScheme xsi:type=ManualCpcBiddingScheme
   enhancedCpcEnabledtrue/enhancedCpcEnabled
 /biddingScheme
   /biddingStrategyConfiguration
 /operand

 We knew this wouldn't work based on the migration instructions as well as 
 the CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN error we were getting. We 
 were hoping there might still be a way to enable enhanced cpc without 
 having to create a separate bidding strategy.

 On Wednesday, March 19, 2014 4:24:13 PM UTC-4, Ray Tsang (AdWords API 
 Team) wrote:

 Jeremy,

 There was indeed a change in v201402 - please see our migration 
 pagehttps://developers.google.com/adwords/api/docs/guides/migration/v201402
 .
 That being said - were you able to create enhanced cpc bidding strategy 
 previously?

 Anonymous bidding strategy means that you are creating an enhanced cpc 
 bidding strategy as you create a new Campaign, rather than referencing to 
 an existing ID.  You could create one via the 
 BiddingStrategyServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService
 .

 Please let me know if this behavior change is new for you.

 Cheers,

 Ray

 On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:

 Starting in v201402, it appears we can no longer set the bidding 
 strategy to enhanced cpc for new campaigns. Here is the SOAP request and 
 response:

 I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : ?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://www.w3.org/2003/05/soap-envelope;
   env:Header
 wsdl:RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   userAgent***/userAgent
   developerToken***/developerToken
   clientCustomerId***/clientCustomerId
 /wsdl:RequestHeader
   /env:Header
   env:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201402;
   operations xsi:type=CampaignOperation
 operatorADD/operator
 operand
   name***/name
   statusPAUSED/status
   budget
 budgetId223925663/budgetId
 periodDAILY/period
 amount
   microAmount1000/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
 isExplicitlySharedfalse/isExplicitlyShared
 statusACTIVE/status
   /budget
   settings xsi:type=KeywordMatchSetting
 optIntrue/optIn
   /settings
   advertisingChannelTypeSEARCH/advertisingChannelType
   networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworktrue/targetSearchNetwork
 targetContentNetworkfalse/targetContentNetwork
   /networkSetting
   biddingStrategyConfiguration
 biddingStrategyTypeENHANCED_CPC/biddingStrategyType
   /biddingStrategyConfiguration
 /operand
   /operations
   policy/
 /mutate
   /env:Body
 /env:Envelope

 I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   requestId0004f4fafa60a6500ae6c9483b03/requestId
   serviceNameMutateJobService/serviceName
   methodNamegetResult/methodName
   operations1/operations
   responseTime752/responseTime
 /ResponseHeader
   /soap:Header
   soap:Body
 getResultResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   rval
 SimpleMutateResult
   results
 PlaceHolder/
   /results
   errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=BiddingErrors
 
 fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingStrategyType/fieldPath
 triggerENHANCED_CPC/trigger
 
 errorStringBiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/errorString
 ApiError.TypeBiddingErrors/ApiError.Type
 reasonINVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/reason
   /errors
 /SimpleMutateResult
   /rval
 /getResultResponse
   /soap:Body
 /soap:Envelope

 I don't really get what invalid anonymous bidding strategy type means. 
 I'm hoping it doesn't mean we have to 

Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-19 Thread Ray Tsang (AdWords API Team)
Jeremy,

There was indeed a change in v201402 - please see our migration 
pagehttps://developers.google.com/adwords/api/docs/guides/migration/v201402
.
That being said - were you able to create enhanced cpc bidding strategy 
previously?

Anonymous bidding strategy means that you are creating an enhanced cpc 
bidding strategy as you create a new Campaign, rather than referencing to 
an existing ID.  You could create one via the 
BiddingStrategyServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService
.

Please let me know if this behavior change is new for you.

Cheers,

Ray

On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:

 Starting in v201402, it appears we can no longer set the bidding strategy 
 to enhanced cpc for new campaigns. Here is the SOAP request and response:

 I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : ?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://www.w3.org/2003/05/soap-envelope;
   env:Header
 wsdl:RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   userAgent***/userAgent
   developerToken***/developerToken
   clientCustomerId***/clientCustomerId
 /wsdl:RequestHeader
   /env:Header
   env:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201402;
   operations xsi:type=CampaignOperation
 operatorADD/operator
 operand
   name***/name
   statusPAUSED/status
   budget
 budgetId223925663/budgetId
 periodDAILY/period
 amount
   microAmount1000/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
 isExplicitlySharedfalse/isExplicitlyShared
 statusACTIVE/status
   /budget
   settings xsi:type=KeywordMatchSetting
 optIntrue/optIn
   /settings
   advertisingChannelTypeSEARCH/advertisingChannelType
   networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworktrue/targetSearchNetwork
 targetContentNetworkfalse/targetContentNetwork
   /networkSetting
   biddingStrategyConfiguration
 biddingStrategyTypeENHANCED_CPC/biddingStrategyType
   /biddingStrategyConfiguration
 /operand
   /operations
   policy/
 /mutate
   /env:Body
 /env:Envelope

 I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   requestId0004f4fafa60a6500ae6c9483b03/requestId
   serviceNameMutateJobService/serviceName
   methodNamegetResult/methodName
   operations1/operations
   responseTime752/responseTime
 /ResponseHeader
   /soap:Header
   soap:Body
 getResultResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   rval
 SimpleMutateResult
   results
 PlaceHolder/
   /results
   errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=BiddingErrors
 
 fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingStrategyType/fieldPath
 triggerENHANCED_CPC/trigger
 
 errorStringBiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/errorString
 ApiError.TypeBiddingErrors/ApiError.Type
 reasonINVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/reason
   /errors
 /SimpleMutateResult
   /rval
 /getResultResponse
   /soap:Body
 /soap:Envelope

 I don't really get what invalid anonymous bidding strategy type means. I'm 
 hoping it doesn't mean we have to deal with another service in order to set 
 simple campaign settings, as having to do so for campaign criterion and 
 campaign budget has resulted in increased code complexity with no visible 
 gain for us.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit 

Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-19 Thread Jeremy Aube
Yes we had this working before with v201309 with the following request 
difference:

  biddingStrategyConfiguration
biddingStrategyTypeMANUAL_CPC/biddingStrategyType
biddingScheme xsi:type=ManualCpcBiddingScheme
  enhancedCpcEnabledtrue/enhancedCpcEnabled
/biddingScheme
  /biddingStrategyConfiguration
/operand

We knew this wouldn't work based on the migration instructions as well as 
the CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN error we were getting. We 
were hoping there might still be a way to enable enhanced cpc without 
having to create a separate bidding strategy.

On Wednesday, March 19, 2014 4:24:13 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:

 Jeremy,

 There was indeed a change in v201402 - please see our migration 
 pagehttps://developers.google.com/adwords/api/docs/guides/migration/v201402
 .
 That being said - were you able to create enhanced cpc bidding strategy 
 previously?

 Anonymous bidding strategy means that you are creating an enhanced cpc 
 bidding strategy as you create a new Campaign, rather than referencing to 
 an existing ID.  You could create one via the 
 BiddingStrategyServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService
 .

 Please let me know if this behavior change is new for you.

 Cheers,

 Ray

 On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:

 Starting in v201402, it appears we can no longer set the bidding strategy 
 to enhanced cpc for new campaigns. Here is the SOAP request and response:

 I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : ?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://www.w3.org/2003/05/soap-envelope;
   env:Header
 wsdl:RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   userAgent***/userAgent
   developerToken***/developerToken
   clientCustomerId***/clientCustomerId
 /wsdl:RequestHeader
   /env:Header
   env:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201402;
   operations xsi:type=CampaignOperation
 operatorADD/operator
 operand
   name***/name
   statusPAUSED/status
   budget
 budgetId223925663/budgetId
 periodDAILY/period
 amount
   microAmount1000/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
 isExplicitlySharedfalse/isExplicitlyShared
 statusACTIVE/status
   /budget
   settings xsi:type=KeywordMatchSetting
 optIntrue/optIn
   /settings
   advertisingChannelTypeSEARCH/advertisingChannelType
   networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworktrue/targetSearchNetwork
 targetContentNetworkfalse/targetContentNetwork
   /networkSetting
   biddingStrategyConfiguration
 biddingStrategyTypeENHANCED_CPC/biddingStrategyType
   /biddingStrategyConfiguration
 /operand
   /operations
   policy/
 /mutate
   /env:Body
 /env:Envelope

 I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   requestId0004f4fafa60a6500ae6c9483b03/requestId
   serviceNameMutateJobService/serviceName
   methodNamegetResult/methodName
   operations1/operations
   responseTime752/responseTime
 /ResponseHeader
   /soap:Header
   soap:Body
 getResultResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   rval
 SimpleMutateResult
   results
 PlaceHolder/
   /results
   errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=BiddingErrors
 
 fieldPathoperations[0].operand.biddingStrategyConfiguration.biddingStrategyType/fieldPath
 triggerENHANCED_CPC/trigger
 
 errorStringBiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/errorString
 ApiError.TypeBiddingErrors/ApiError.Type
 reasonINVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE/reason
   /errors
 /SimpleMutateResult
   /rval
 /getResultResponse
   /soap:Body
 /soap:Envelope

 I don't really get what invalid anonymous bidding strategy type means. 
 I'm hoping it doesn't mean we have to deal with another service in order to 
 set simple campaign settings, as having to do so for campaign criterion and 
 campaign budget has resulted in increased code complexity with no visible 
 gain for us.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our