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:
get()
Fetches the requested budget orders and returns an iterator.
Return values:
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:
Name | Type | Description |
condition |
String |
Condition to add to the selector. |
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eFetches budget orders, typically used to retrieve active budget orders with a specified condition.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to retrieve budget orders (\u003ccode\u003eget()\u003c/code\u003e) and apply conditions (\u003ccode\u003ewithCondition()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewithCondition()\u003c/code\u003e currently supports only \u003ccode\u003e"Status = ACTIVE"\u003c/code\u003e to filter for active budget orders.\u003c/p\u003e\n"],["\u003cp\u003eReturns an iterator (\u003ccode\u003eAdsApp.BudgetOrderIterator\u003c/code\u003e) to access the fetched budget orders.\u003c/p\u003e\n"]]],[],null,["# AdsApp.BudgetOrderSelector\n\nFetches budget orders.\n\nTypical usage:\n\n```gdscript\nvar budgetOrderIterator = AdsApp.budgetOrders()\n .withCondition(\"Status = ACTIVE\")\n .get();\n```\n\n### Methods:\n\n| Member | Type | Description |\n|------------------------------------------------------|----------------------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [get()](#get) | [AdsApp.BudgetOrderIterator](/google-ads/scripts/docs/reference/adsapp/adsapp_budgetorderiterator) | Fetches the requested budget orders and returns an iterator. |\n| [withCondition(condition)](#withCondition_condition) | [AdsApp.BudgetOrderSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_budgetorderselector) | Adds the specified condition to the selector. |\n\n`get()`\n-------\n\nFetches the requested budget orders and returns an iterator.\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------|------------------------------------------|\n| [AdsApp.BudgetOrderIterator](/google-ads/scripts/docs/reference/adsapp/adsapp_budgetorderiterator) | Iterator of the requested budget orders. |\n\n`withCondition(condition)`\n--------------------------\n\nAdds the specified condition to the selector.\n\nSupports only:\n\n```text\n\"Status = ACTIVE\"\n```\nThe purpose of this is to return only the current budget order.\n\n### Arguments:\n\n| Name | Type | Description |\n|-----------|----------|-----------------------------------|\n| condition | `String` | Condition to add to the selector. |\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------|------------------------------------------|\n| [AdsApp.BudgetOrderSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_budgetorderselector) | The selector with the condition applied. |"]]