Takeshi, At the time I was running this and numerous (tens of times) other examples, nothing was being Deleted (Removed) by me, and all had exactly this same behavior. Later I did try to remove some of these Budgets from the BudgetService (seperate posting) and saw many errors.
What I really do not understand is when I check out a Campaign I see a Budget object with a budgetID and BudgetName present. Then when I go look in the BudgetService I do not see this budgetID present, but I do see the BudgetName present. Since the BudgetName must be unique for an account, and I did not place it in the BudgetService, I do not understand what is going on? Where did all these Budgets in the BudgetService come from (since I did not add them to it, and why would they not match the one used by the same named Campaign? Also, i pulled these budgetID values directly from the campaign and/or BudgetService and tried to use them immediately, so how can that budgetID be INVALID? I did not generate it; it came directly from the system. Best regards, On Thursday, November 1, 2012 1:38:22 AM UTC-7, Takeshi Hagikura wrote: > > Hello Bryan, > > By any chance did you delete that Budget with BudgetId 96414882? > i found the Budget with Id : 96414882 is deleted status. > > Can you please try adding another Budget? > > Best, > - Takeshi, AdWords API Team > > > 2012年10月29日月曜日 4時53分06秒 UTC+9 Bryan Minor: >> >> Working with AdWords API v201209. I have setup the new BudgetService >> approach, but keep getting the following message: >> >> InnerException = {"[EntityNotFound.INVALID_ID @ >> operations[0].operand.budget.budgetId; trigger:'BudgetId: 96414882']"} >> >> When trying to execute: >> >> campaignService_C.mutate(CampaignOperations_C); >> >> For the following campaign: >> >> //Create campaign >> campaign_C = new Campaign(); >> >> campaign_C.idSpecified = true; >> campaign_C.id = campaignID_l; >> >> //Assigning the Budget to the Campaign >> campaign_C.budget = budget_C; >> //campaign_C.budget = new Budget(); >> campaign_C.budget.budgetId = budget_C.budgetId; >> >> With the following operations: >> >> // Setup Campaign Operations >> CampaignOperations_C = new CampaignOperation[1]; >> CampaignOperations_C[0] = new CampaignOperation(); >> CampaignOperations_C[0].operand = campaign_C; >> CampaignOperations_C[0].@operator = Operator.SET; >> CampaignOperations_C[0].operatorSpecified = true; >> >> Previous to these lines of code the BudgetService was created. Then the >> Budget with the correct "BudgetName" was found, and then this budgetId >> value (BudgetId: 96414882) was provided as shown to the Campaign. >> >> I do not understand why this BudgetId is INVALID_ID? >> >> Any help on this issue is greatly appreciated. >> >> Best regards, >> Bryan >> >> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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