Hi, 

Yes, its possible to assign a shared budget to a Campaign using AdWords 
API. You need to use CampaignService to perform a CampaignService.mutate() 
SET operation, and set the budget attribute of the campaign to a Budget 
<https://developers.google.com/adwords/api/docs/reference/v201702/CampaignService.Budget>
 object 
with its budgetId 
<https://developers.google.com/adwords/api/docs/reference/v201702/CampaignService.Budget#budgetid>
 set 
to the ID of the existing budget as shown here 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/advancedoperations/UsePortfolioBiddingStrategy.java#L197>.
 
Please see the UsePortfolioBiddingStrategy 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/advancedoperations/UsePortfolioBiddingStrategy.java#L197>
 Java 
example which shows how to create a portfolio bidding strategy and use it 
to construct a campaign. Example code in other languages is provided 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 [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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe4c7710-b8c6-40c7-b704-be84cc582233%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • assign campaign... Eran Yasso
    • Re: assign... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to