You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi,
Is it possible to assign campaign to a shared budget using AdWrods API?
Thanks,
Shwetha Vastrad (AdWords API Team)
unread,
Apr 12, 2017, 2:26:14 PM4/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
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 object with its budgetId set to the ID of the existing budget as shown here. Please see the UsePortfolioBiddingStrategy 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.