Hi, 

To use TargetSpendBiddingScheme 
<https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService.TargetSpendBiddingScheme>
 as 
a standard bidding strategy, you just need to use the 
BiddingStrategyConfiguration 
<https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.BiddingStrategyConfiguration>
 object. 
The BiddingStrategyService 
<https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService>
 is 
used to create a SharedBiddingStrategy 
<https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService.SharedBiddingStrategy>
 (portfolio 
strategy), which is the reason you encountered the RequiredError.REQUIRED 
error because the name was not specified in the request. Could you try 
using CampaignService 
<https://developers.google.com/adwords/api/docs/reference/latest/CampaignService>
 
and update the BiddingStrategyConfiguration 
<https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.BiddingStrategyConfiguration>
 to 
use the TARGET_SPEND strategy? The AddCampaigns.java 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201708/basicoperations/AddCampaigns.java#L110>
 example 
shows how to set this field. 

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/538490f5-29fb-4278-a9d6-06bdeb9202e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Set Standard St... rafa . romero
    • Re: Set St... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to