AdsApp.​BudgetOrderSelector

Stay organized with collections Save and categorize content based on your preferences.
Fetches budget orders.

Typical usage:

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

Methods:

MemberTypeDescription
get AdsApp.BudgetOrderIterator Fetches the requested budget orders and returns an iterator.
withCondition AdsApp.BudgetOrderSelector Adds the specified condition to the selector.

get()

Fetches the requested budget orders and returns an iterator.

Return values:

TypeDescription
AdsApp.BudgetOrderIterator Iterator 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
condition String Condition to add to the selector.

Return values:

TypeDescription
AdsApp.BudgetOrderSelector The selector with the condition applied.