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

Reply via email to