Can we still update campaign budget via api, our code below to update
budget worked on v201309 but error on v201402
GoogleCampaign.CampaignOperation op = new CampaignOperation();
op.operand = new Campaign {id = campaignID, idSpecified = true};
op.operand.budget = new Budget();
op.operand.budget.amount = new Money();
op.operand.budget.amount.microAmount = Util.FromDecimal(budget);
op.operand.budget.amount.microAmountSpecified = true;
op.@operator = Operator.SET;
op.operatorSpecified = true;
var result = campaignService.mutate(new[] {op});
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.