AI-generated Key Takeaways
-
AdsApp.budgetOrders()is used to fetch budget orders. -
The
withCondition()method allows filtering budget orders by status. -
The
get()method retrieves the budget orders and returns an iterator.
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. |