Get order lines
GET {{baseUrl}}/ad_accounts/:ad_account_id/order_lines?page_size=25&order=DESCENDING&bookmark=<string>
List existing order lines associated with an ad account.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page_size | number | Maximum number of items to include in a single page of the response. See documentation on <a href='/docs/getting-started/pagination/'>Pagination</a> for more information. | |
order | string | 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. | |||
bookmark | string | Cursor used to fetch the next page of items |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"campaign_ids":["\u003cstring\u003e","\u003cstring\u003e"],"id":"753691","type":"\u003cstring\u003e","ad_account_id":"\u003cstring\u003e","purchase_order_id":"\u003cstring\u003e","start_time":"\u003cnumber\u003e","end_time":"\u003cnumber\u003e","budget":"\u003cnumber\u003e","paid_budget":"\u003cnumber\u003e","status":"ACTIVE","name":"\u003cstring\u003e","paid_type":"TEST"},{"campaign_ids":["\u003cstring\u003e","\u003cstring\u003e"],"id":"500783","type":"\u003cstring\u003e","ad_account_id":"\u003cstring\u003e","purchase_order_id":"\u003cstring\u003e","start_time":"\u003cnumber\u003e","end_time":"\u003cnumber\u003e","budget":"\u003cnumber\u003e","paid_budget":"\u003cnumber\u003e","status":"PAUSED","name":"\u003cstring\u003e","paid_type":"BONUS"}],"bookmark":"\u003cstring\u003e"}