Tuesday, 27 September 2016

Re: Enhanced Cpc Bidding

I'm sorry but I do not fully understand you, figuring some of these links that sent but nothing helped.

I try use this code:


            $biddingStrategyConfiguration = new SharedBiddingStrategy();
            $biddingScheme = new EnhancedCpcBiddingScheme();
            $biddingStrategyConfiguration->biddingScheme = $biddingScheme;
            $biddingStrategyConfiguration->biddingStrategyType = 'ENHANCED_CPC';
            
            $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration;

            

but i've got error 
Class 'SharedBiddingStrategy' not found in

W dniu poniedziałek, 26 września 2016 10:06:02 UTC+2 użytkownik Joyce Lava napisał:
Hello,

This error occurs when using a portfolio-only type or scheme in the context of a standard strategy. In your case, you are using ENHANCED_CPC type which is valid as a SharedBiddingStrategy. That said, could you please create a SharedBiddingStrategy by using BiddingStrategyService and then use the returned SharedBiddingStrategy.id to set as the BiddingStrategyConfiguration.biddingStrategyId and let me know if the error persists after doing so? The complete details about this is discussed in this page.

Thanks,
Joyce, AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a2e7ce5a-b8c4-4ba2-85fd-5c9cefda1ddd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment