Hello Danial! thanks, i successfuly create sharedBiddingStrategy and add it to campaign. But i cant know how set bid strategy like interface variant "AdWords will set my bids to help maximize clicks within my target budget" with "CPC bid limit" ?
https://www.dropbox.com/s/fcwutioz4a3965v/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202015-02-12%2009.25.08.png?dl=0 Добрый день, гибкая стратегия ставок задается без проблем. Однако никак не удается разобраться с установкой "Система AdWords будет выбирать ставки так, чтобы обеспечить максимальное число кликов в рамках целевого бюджета." и "Включение Оптимизатора цены за конверсию" как это сделано в интерфейсе. https://www.dropbox.com/s/tneuscdyza41ahd/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202015-02-12%2009.28.32.png Это рудименты интерфейса или как то через API их можно выставить? вторник, 10 февраля 2015 г., 17:07:21 UTC+3 пользователь Danial Klimkin написал: > > Hello Lena, > > > For the bidding scheme, you need to create one with BiddingStrategyService > and provide it's ID: > > > https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService > > As per EnhancedCpc, it's no longer available in the API since v201402: > > "EnhancedCpc setting can no longer be enabled for Manual CPC bidding > strategy" > > from https://developers.google.com/adwords/api/docs/reference/#v201402 > > > -Danial, AdWords API Team. > > > On Tuesday, February 10, 2015 at 1:24:50 PM UTC+3, Лена Про wrote: >> >> >> Hello. >> >> I have several problemv with using BiddingStrategyConfiguration. >> >> First, i cant set TargetSpend Binnding on campaign creation: >> >> >> $biddingScheme = new \TargetSpendBiddingScheme(); >> $biddingScheme->bidCeiling = new \Money(1000000); >> $biddingStrategyConfiguration = new \BiddingStrategyConfiguration(); >> $biddingStrategyConfiguration->biddingScheme = $biddingScheme; >> >> $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; >> >> $operation = new \CampaignOperation(); >> $operation->operand = $campaign; >> $operation->operator = 'ADD'; >> >> I get error : [BiddingErrors.INVALID_BIDDING_SCHEME @ >> operations[0].operand.biddingStrategyConfiguration.biddingScheme; >> trigger:'When a named bidding strategy is being set biddingScheme must be >> null'] >> >> Ok, i try this: >> $biddingStrategyConfiguration = new \BiddingStrategyConfiguration(); >> $biddingStrategyConfiguration->biddingStrategyType = 'TARGET_SPEND'; >> $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; >> >> I get error: >> BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ >> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; >> trigger:'TARGET_SPEND' >> >> >> Then use this code campaign create successfuly: >> >> $biddingScheme = new >> \ManualCpcBiddingScheme(); >> $biddingScheme->enhancedCpcEnabled = false; >> $biddingStrategyConfiguration = new >> \BiddingStrategyConfiguration(); >> $biddingStrategyConfiguration->biddingScheme = $biddingScheme; >> >> >> I try change "enhancedCpcEnabled" to true. >> Error: [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ >> operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled; >> trigger:'true'] >> >> >> >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/4d4075d3-3fa3-45cd-9bfe-c0af263308fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
