Created several campaigns some moments ago, setting budgetID to NULL and 
amount = X & the API allowed me to create individual budgets.

On Thursday, October 18, 2012 6:20:23 PM UTC+2, Goran Jovic wrote:
>
> How do I set *individual* (not shared) campaign budget in v201209?
>
> This was possible in v201206, but the same code fails in the new API 
> version because budgetId field is not set:
>
> Budget budget = new Budget();
>     budget.setPeriod(BudgetBudgetPeriod.DAILY);
>     budget.setAmount(new Money(null, 50000000L));
>     budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
>     campaign.setBudget(budget); //fails with: RequiredError.REQUIRED @ 
> operations[0].operand.budget.budgetId
>
> I assume that this feature is still available, because Adwords web 
> application offers options for both shared and individual budgets and there 
> aren't any fields in the Budget class to discriminate between the two types.
>
> How can I achieve that via API? Is it still possible, or is 
> it necessary to "emulate" individual budgets by creating shareable ones and 
> then share them only with one campaign each?
>
> Thank you for your reply,
> Goran
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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



Reply via email to