Hi, 

Using a portfolio-only bidding strategy type 
<https://developers.google.com/adwords/api/docs/guides/bidding#strategy_types> 
or 
scheme in the context of a standard strategy generates a BiddingErrors 
error with reason INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE. To use the 
TargetRoasBiddingScheme, you need to create a SharedBiddingStrategy 
<https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService.SharedBiddingStrategy>
 object 
using BiddingStrategyService 
<https://developers.google.com/adwords/api/docs/reference/v201708/BiddingStrategyService>
 and 
set the biddingStrategyId 
<https://developers.google.com/adwords/api/docs/reference/v201708/CampaignService.BiddingStrategyConfiguration#biddingstrategyid>
 in 
the BiddingStrategyConfiguration 
<https://developers.google.com/adwords/api/docs/reference/v201708/CampaignService.BiddingStrategyConfiguration>.
 
The UsePortfolioBiddingStrategy 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201708/advancedoperations/UsePortfolioBiddingStrategy.java>
 Java 
example shows how to add a portfolio bidding strategy and use it to 
construct a campaign. Example code in other languages can be found here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. 

Regards,
Shwetha, 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+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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/54bbf243-07c1-468d-bf2c-df88efaf12c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to