Hi Team,

I have updated my project code with V201209 and previously
 (just before 3days) when I create any new Campaign without budgetId it
used to say 'BudgetID' operand required error so I done by creating new
BudgetId using budgetService and assigned that budgetId to campaign and
done mutate.
But now today am not getting any error even if I create new campaign
without any budgetId.


Code goes like this:

Campaign campaign = new Campaign();
campaign.setName("Nov249 #" + System.currentTimeMillis());
campaign.setStatus(CampaignStatus.PAUSED);
campaign.setBiddingStrategy(new ManualCPC());

Budget budget1 = new Budget();
budget1.setPeriod(BudgetBudgetPeriod.DAILY);
budget1.setAmount(new Money(null, 9000000L));
budget1.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
campaign.setBudget(budget1);

CampaignOperation operation = new CampaignOperation();
operation.setOperand(campaign);
operation.setOperator(Operator.ADD);
CampaignReturnValue result = campaignService.mutate(new CampaignOperation[]
{operation});


// Works fine Today but failing before 3days

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en



Reply via email to