Re: Change a campaign from shared budget to individual budget through the API

2,447 views
Skip to first unread message

Danial Klimkin

unread,
May 28, 2013, 5:14:36 AM5/28/13
to adwor...@googlegroups.com
Hello Sergio,


A shared budget can not be changed to an individual one with the API. The only way is to create a new budget.


-Danial, AdWords API Team.


On Thursday, May 23, 2013 12:21:36 PM UTC+4, Sergio Berná Niñerola wrote:
Is it possible to change a campaign from a shared budget to an individual budget through Adwords API?

Im not interested in creating a new Shared Budget and applying it to a single campaign, since that creates a shared budget object but just for that campaign, and that shared budget cannot be modified in bulk.

The only way I have been able to do so is by using the Web Application, in which you can set again the individual budget. But through the API any attempt made is answered with a BudgetError.CANNOT_EDIT_SHARED_BUDGET, while the thing im trying is not to edit the shared budget but to set an individual budget just for that campaign.

telef...@gmail.com

unread,
Feb 17, 2016, 11:49:38 AM2/17/16
to AdWords API Forum
Hi Danial,
What would the basic flow of this be?  Use BudgetOrderService to create a new budget with a unique name, set as a non-shared budget, then attach it to that campaign?

Here's the backstory:  I have an MCC accounts with 1300 accounts inside. Each account has about 20 campaigns, so I have about 26,000 campaigns.  Today each one is setup with a shared budget ("shared with" only one campaign though, so it's not really being "shared").  But we started using Kenshoo as a bid management platform, and I'm afraid when Kenshoo sends budget changes to the campaigns, AdWords shared budgets are causing issues.  Maybe it's not since the budgets aren't actually shared among multiple campaigns, so I need to check into that.  But the Kenshoo team did ask me to remove the shared budgets, and it looks like I have no option to do that other than use the API. 

I'm familiar with scripting in AdWords, but the API is a whole other beast.  But still, using it should be faster than manually editing 26,000 campaigns! 

Any insight would be greatly appreciated.

Danial Klimkin

unread,
Mar 15, 2016, 1:10:40 PM3/15/16
to AdWords API Forum
Hello Shawn,


Sorry for the delay, I was away for a bit.

Yes, you need to create a budget, but with the BudgetService, setting isExplicitlyShared to false. You'll get an ID back.

Then, you can create a campaign with budget ID set to the ID above. We have code examples for each of the client libraries demonstrating that:



-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages