Returns the selector of all campaigns that share this budget.
Returns the amount of the budget, in the currency of the account.
Returns the delivery method of the budget.
Returns the delivery method of the budget. Possible return values:
STANDARD
, ACCELERATED
.
Returns the type of this entity as a
String
, in this case,
"Budget"
.
Returns the type of this entity as a
String
, in this case,
"Budget"
.
Returns the ID of the budget.
Returns the name of the budget.
Returns the name of the budget. Every budget must have a non-empty name; all budget names in an account are distinct.
Returns stats for the specified custom date range.
Returns stats for the specified custom date range. Both parameters can be either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
form. For instance,
March 24th, 2013
is represented as either
{year: 2013, month: 3, day: 24}
or
"20130324"
. The date range is inclusive on both ends, so
forDateRange("20130324", "20130324")
defines a range of a single day.
Returns
true
if the budget is explicitly shared, and
false
otherwise.
Returns
true
if the budget is explicitly shared, and
false
otherwise.
true
, this budget was created through the BudgetService or through the UI shared library with the purpose of sharing this budgets across one or more campaigns.false
, this budget was created with the intention to be used with a single campaign, and the Budget's name will stay in the sync with the associated Campaign's name.Sets the budget's amount to the specified value, in the currency of the account.
Sets the budget's amount to the specified value, in the currency of the account.
Returns nothing.
Represents an AdWords budget. Budgets are used for managing the amount of money spent on AdWords. Budgets may be shared among a number of campaigns; use Budget.campaigns() to find the campaigns that are using the budget. For more information on Shared Budgets, please see AdWords API article .