AdWordsApp.​BudgetOrder

Represents an AdWords budget order. Budget orders are used for managing client budgets at the account level. Each budget order is associated with a billing account which can take invoices for consolidated billing. For details about budget orders and billing accounts, see Budget Order Service.

Methods:

MemberTypeDescription
getBillingAccount AdWordsApp.BillingAccount Returns the associated billing account.
getEndDateTime AdWordsApp.AdWordsDate Returns the budget order's end date.
getId long Returns the ID of the budget order.
getName String Returns the name of the budget order.
getPoNumber Long Returns the purchase order number.
getSpendingLimit Double Returns the effective spending limit in the account's currency, including all adjustments that have been applied to the budget order.
getStartDateTime AdWordsApp.AdWordsDate Returns the budget order's start date.
getTotalAdjustments Double Returns the total adjustments that have been applied to the spending limit, in the account's currency.

getBillingAccount()

Returns the associated billing account. Will be null if billing setup is still pending.

Return values:

TypeDescription
AdWordsApp.BillingAccount The budget order's start date.

getEndDateTime()

Returns the budget order's end date.

Return values:

TypeDescription
AdWordsApp.AdWordsDate The budget order's end date.

getId()

Returns the ID of the budget order.

Return values:

TypeDescription
long The ID of the budget order.

getName()

Returns the name of the budget order.

Return values:

TypeDescription
String Name of the budget order.

getPoNumber()

Returns the purchase order number.

Return values:

TypeDescription
Long The purchase order number.

getSpendingLimit()

Returns the effective spending limit in the account's currency, including all adjustments that have been applied to the budget order. null indicates no limits. Code example.

Return values:

TypeDescription
Double The effective spending limit.

getStartDateTime()

Returns the budget order's start date.

Return values:

TypeDescription
AdWordsApp.AdWordsDate The budget order's start date.

getTotalAdjustments()

Returns the total adjustments that have been applied to the spending limit, in the account's currency. To get the base spending limit, subtract this from the effective spending limit. null indicates no adjustments have been applied.

Return values:

TypeDescription
Double The net sum of adjustments since the creation of the budget order.

Send feedback about...

AdWords Scripts
AdWords Scripts
Need help? Visit our support page.