:Facepalm:
I have no idea how I missed that field. Thanks for the help! 
-Alex Jones
On Friday, October 19, 2012 9:19:24 AM UTC-4, Danial Klimkin wrote:
>
> Hello Alex,
>
>
> Budget is not, but BudgetId is, see:
>
>   
> https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201209-CampaignService
>
> Starting from v201209 you will need to use the new BudgetService to update 
> budgets:
>
>   
> https://developers.google.com/adwords/api/docs/reference/latest/BudgetService
>
>
> -Danial, AdWords API Team.
>
>
>
> On Wednesday, October 17, 2012 1:02:08 AM UTC+4, Alex Jones wrote:
>>
>> I'm upgrading to v201209 API from v201109, and have hit a snag.  I'm 
>> using the Java libraries, and given a campaign, would like to get the 
>> budget associated with it, so that the values in that associated budget can 
>> be updated. Here's where the problem lies - Budget isn't a Selectable 
>> field, and the Budget Object doesn't expose any information 
>> about campaigns it's associated with outside of the number of campaigns 
>> it's tied to. Any ideas of how to get around this without storing the 
>> budgetID in a local database for later reference?]
>>
>> psuedocode of what I would like to do:
>> //set selectors and predicates
>> page = campaignService.get(selector) //returns a page of campaigns that 
>> the selector
>> foreach(campaign in page){ 
>> updateBudget(newBudget,campaign.getBudget()); //replaces the current 
>> money the budget has available with the value in newBudget
>> }
>> //logging and storing
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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