Get customer lists
GET {{baseUrl}}/ad_accounts/:ad_account_id/customer_lists?page_size=25&order=ASCENDING&bookmark=reprehenderit Ut
Get a set of customer lists including id and name based on the filters provided.
(Customer lists are a type of audience.) For more information, see Audience targeting or the Audiences section of the ads management guide.
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":[{"ad_account_id":"549756359984","created_time":1452208622,"id":"643","name":"The Glengarry Glen Ross leads","num_batches":2,"num_removed_user_records":0,"num_uploaded_user_records":11,"status":"PROCESSING","type":"customerlist","updated_time":1461269616,"exceptions":{}},{"ad_account_id":"549756359984","created_time":1452208622,"id":"643","name":"The Glengarry Glen Ross leads","num_batches":2,"num_removed_user_records":0,"num_uploaded_user_records":11,"status":"PROCESSING","type":"customerlist","updated_time":1461269616,"exceptions":{}}],"bookmark":"nulla amet"}