AI-generated Key Takeaways
-
Fetches budget orders, typically used to retrieve active budget orders with a specified condition.
-
Provides methods to retrieve budget orders (
get()
) and apply conditions (withCondition()
). -
withCondition()
currently supports only"Status = ACTIVE"
to filter for active budget orders. -
Returns an iterator (
AdsApp.BudgetOrderIterator
) to access the fetched budget orders.
Typical usage:
var budgetOrderIterator = AdsApp.budgetOrders() .withCondition("Status = ACTIVE") .get();
Methods:
Member | Type | Description |
---|---|---|
get() | AdsApp.BudgetOrderIterator |
Fetches the requested budget orders and returns an iterator. |
withCondition(condition) | AdsApp.BudgetOrderSelector |
Adds the specified condition to the selector. |
get()
Fetches the requested budget orders and returns an iterator. Return values:
Type | Description |
---|---|
AdsApp.BudgetOrderIterator |
Iterator of the requested budget orders. |
withCondition(condition)
Adds the specified condition to the selector.
Supports only:
"Status = ACTIVE"
Arguments:
Name | Type | Description |
---|---|---|
condition | String |
Condition to add to the selector. |
Return values:
Type | Description |
---|---|
AdsApp.BudgetOrderSelector |
The selector with the condition applied. |