Hello Danial,
Setting a non-shared budget works now, thanks!
I still have a problem with Enhanced CPC.
#1 If I try it this way:
$biddingStrategyConfigurationC = new
BiddingStrategyConfiguration();
$biddingStrategyConfigurationC->biddingStrategyType =
'ENHANCED_CPC';
$biddingScheme = new EnhancedCpcBiddingScheme();
$biddingStrategyConfigurationC->biddingScheme = $biddingScheme;
I get BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType;
trigger:'ENHANCED_CPC
#2 If I do it this way:
$biddingStrategyConfigurationC = new
BiddingStrategyConfiguration();
$biddingStrategyConfigurationC->biddingStrategyType =
'MANUAL_CPC';
$biddingScheme = new EnhancedCpcBiddingScheme();
$biddingStrategyConfigurationC->biddingScheme = $biddingScheme;
I get BiddingErrors.INVALID_BIDDING_SCHEME @
operations[0].operand.biddingStrategyConfiguration.biddingScheme;
trigger:'The type of MANUAL_CPC requires a ManualCpcBiddingScheme but was
EnhancedCpcBiddingScheme'
#3 The only way it works for me is this but I don't want to use a shared
bidding strategy:
$sharedBiddingStrategyC->name = 'ENHANCED_CPC';
$sharedBiddingStrategyC->type = 'ENHANCED_CPC';
$operation = new BiddingStrategyOperation();
$operation->operator = 'ADD';
$operation->operand = $sharedBiddingStrategyC;
try
{
$result =
$biddingStrategyService->mutate(array($operation));
}
catch (\Exception $e)
{
return "Error while trying to set bidding:" .
$e->getMessage();
}
$biddingStrategy = $result->value[0];
$biddingStrategyConfigurationC = new
\BiddingStrategyConfiguration();
$biddingStrategyConfigurationC->biddingStrategyId =
$biddingStrategy->id;
Could you please give step-by-step instructions on how to do it?
#4 The code in the example file did not work either for me:
// Set bidding strategy (required).
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC';
// You can optionally provide a bidding scheme in place of the type.
$biddingScheme = new ManualCpcBiddingScheme();
$biddingScheme->enhancedCpcEnabled = FALSE;
$biddingStrategyConfiguration->biddingScheme = $biddingScheme;
Thanks,
András
2014. november 24., hétfő 12:14:43 UTC+1 időpontban Danial Klimkin a
következőt írta:
>
> Hello András,
>
>
> 1. Yes, just create a budget with isExplicitShared = false.
>
> 2. You need to use the EnhancedCpcBiddingScheme:
>
>
> https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.EnhancedCpcBiddingScheme
>
>
> -Danial, AdWords API Team.
>
>
> On Sunday, November 23, 2014 6:10:56 PM UTC+3, András Révai wrote:
>>
>> Hi,
>>
>> #1 Is there a way to set a non-shared budget for a campaign in version
>> v201409?
>>
>> #2 How exactly do I set Enhanced CPC for a campaign?
>>
>> Thanks,
>>
>> András
>>
>>
>>
>>
>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/056960ea-ff62-44c2-80a2-b220a548d37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.