order_lines

Get order lines.

Changed on

List existing order lines associated with an ad account.

get/ad_accounts/{ad_account_id}/order_lines

Request

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Query parameters

bookmarkstring

Cursor used to fetch the next page of items

page_sizeinteger

Maximum number of items to include in a single page. See documentation on Pagination for more information.

order'ASCENDING' | 'DESCENDING'

The order in which to sort the items returned: "ASCENDING" or "DESCENDING" by ID. Note that higher-value IDs are associated with more-recently added items.

Response

The request has succeeded.

bookmarkstring nullable

Example response

{
  "items": [
    {
      "campaign_ids": [
        "626735565838"
      ],
      "paid_type": "PAID",
      "status": "ACTIVE"
    }
  ]
}

Changes

    • breaking

      for the query request parameter order, default value ASCENDING was added

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      the response's property type changed from no type to object for status