Contents

Query Budget Orders

Returns a filtered, sorted, and paginated list of budget orders.

URL

POST https://api.ads.apple.com/v1/shared-budgets/query

Header Parameters

NameTypeDescription
X-Ap-Context Optionalstring

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
SharedBudgetQueryResponse

Successful operation. Returns SharedBudgetQueryResponse (result: array of SharedBudget).

400Bad Request
Content-Type: application/json
ErrorResponse

Bad Request. Returns ErrorResponse.

401Unauthorized
Content-Type: application/json
ErrorResponse

Unauthorized.

403Forbidden
Content-Type: application/json
ErrorResponse

Forbidden.

404Not Found
Content-Type: application/json
ErrorResponse

Resource not found. Returns ErrorResponse.

429Too Many Requests
Content-Type: application/json
ErrorResponse

Rate Limit Exceeded. See Applying Rate Limits.

500Internal Server Error
Content-Type: application/json
ErrorResponse

Internal Server Error. Returns ErrorResponse.

Discussion

This endpoint finds budget orders by name, status, or date range, or retrieves them across an ad account. Narrow and order the result set with filters, sorting, and pagination.

See QueryFilterOperator for the full set of supported comparison operators.

Filterable Fields

Field

Type

Operators

Sortable

Description

deleted

boolean

EQUALS, IN

Whether the budget order has been soft-deleted.

id

integer

EQUALS, IN

System-assigned unique identifier for the budget order.

name

string

EQUALS, IN, LIKE, STARTS_WITH, ENDS_WITH

Yes

The budget order’s display name.

orgId

integer

EQUALS

The organization that owns the budget order.

adAccountIds

array of integers

EQUALS, IN

The ad accounts the budget order is assigned to.

systemStatus

string (enum)

EQUALS, IN

The budget order’s current status. See Budgetsystemstatus.

systemStatusReasons

array of strings (enum)

CONTAINS_ANY, CONTAINS_ALL, NOT_CONTAINS_ANY, NOT_CONTAINS_ALL, IS_NULL, IS_NOT_NULL

Reasons contributing to the current systemStatus. See Budgetsystemstatusreason.

startTime

string (date-time)

EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO

The budget order’s scheduled start date and time.

endTime

string (date-time)

EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO

The budget order’s scheduled end date and time.

creationTime

string (date-time)

EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO

Timestamp when the budget order was created.

modificationTime

string (date-time)

EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO

Timestamp of the last modification to the budget order.

The value and invoiceDetail fields aren’t filterable. The request body is a QueryRequest composed of QueryFilter conditions and QuerySort directives (QuerySortOrder), controlled by QueryPagination.

Payload Examples

See Also