How to set individual campaign budget in v201306?
How do I set individual (not shared) campaign budget in v201306? This was possible in v201209 by setting budgetId to NULL. But the same code which i used in v201209 does not work in latest API version. And now im forced to create shared budget, even this feature is available in Google Adwords web application. So i don't want to create shared budget even if it's used only for one campaign. Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: INVALID_OPERATION_ENHANCED_CAMPAIGN
Here is one of my request IDs 0004d6143ec3e8580ae5bfca63e9 thank you! On Monday, February 18, 2013 10:14:49 PM UTC+1, Dragan Gavrilovic wrote: > > Hi, i have set campaign as enhanced but after i wanted to set targets > > Language => 1000 > Location => 2840 > Platform => 30001 > > and now im getting error > CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN > which i can not find in API documentation. > > Any advice with this? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
INVALID_OPERATION_ENHANCED_CAMPAIGN
Hi, i have set campaign as enhanced but after i wanted to set targets Language => 1000 Location => 2840 Platform => 30001 and now im getting error CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN which i can not find in API documentation. Any advice with this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: How do I set individual campaign budget in v201209?
Hi, i have same problem with API v201209 Alex thanks for the tip. But is there any solution to create *individual*budget, not shared, even if it's used by one campaign only. Thanks! On Friday, October 19, 2012 10:58:42 PM UTC+8, Alex Jones wrote: > > My Investigation so far suggests that the api libraries don't let you set > up individual budgets. > My current project emulates a single budget by generating a unique name > for the budget (in my case InternalCampaignId.GoogleCampaignId.Budget). > Then to ensure it's associated only with one campaign, I check that > referenceCount == 1 before any operations on the budget. If it fails, an > error is thrown and the operation does not happen. In most cases this is > enough to make it act as if the budget was still part of the campaign > object. If you have any questions, let me know. > > Hope this helps, > Alex Jones > > On Thursday, October 18, 2012 4:54:39 PM UTC-4, Goran Jovic wrote: >> >> The problem is, if I do that I didn't really create an individual budget, >> but just a shared budget applied to only one campaign. >> >> The reason I asked is that Adwords webapp makes the distinction between >> explicitly created shared budgets and individual budgets (or at least >> appears to), which made me wonder if there was another way to manipulate >> individual budgets. >> >> If not, I guess that is the way to go. >> >> >> On Thursday, October 18, 2012 10:08:22 PM UTC+2, David Bonner wrote: >>> >>> I believe you need to create the budget object first, using the >>> BudgetService, then associate that budgetId with the campaign. >>> >>> On Thursday, 18 October 2012 12:20:23 UTC-4, 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, 5000L)); 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