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