AdsApp.​BudgetOrderSelector

Fetches budget orders.

Typical usage:

var budgetOrderIterator = AdsApp.budgetOrders()
  .withCondition("Status = ACTIVE")
  .get();

Methods:

MemberTypeDescription
getAdsApp.BudgetOrderIteratorFetches the requested budget orders and returns an iterator.
withConditionAdsApp.BudgetOrderSelectorAdds the specified condition to the selector.

get()

Fetches the requested budget orders and returns an iterator.

Return values:

TypeDescription
AdsApp.BudgetOrderIteratorIterator of the requested budget orders.

withCondition(condition)

Adds the specified condition to the selector.

Supports only:

"Status = ACTIVE"
The purpose of this is to return only the current budget order.

Arguments:

NameTypeDescription
conditionStringCondition to add to the selector.

Return values:

TypeDescription
AdsApp.BudgetOrderSelectorThe selector with the condition applied.