Get customer lists

GET {{baseUrl}}/ad_accounts/:ad_account_id/customer_lists?page_size=25&order=DESCENDING&bookmark=<string>

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

KeyDatatypeRequiredDescription
page_sizenumberMaximum 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.
orderstringThe 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.
bookmarkstringCursor used to fetch the next page of items

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;ad_account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;num_batches&quot;:&quot;\u003cnumber\u003e&quot;,&quot;num_removed_user_records&quot;:&quot;\u003cnumber\u003e&quot;,&quot;num_uploaded_user_records&quot;:&quot;\u003cnumber\u003e&quot;,&quot;status&quot;:&quot;TOO_SMALL&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;exceptions&quot;:{}},{&quot;ad_account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;num_batches&quot;:&quot;\u003cnumber\u003e&quot;,&quot;num_removed_user_records&quot;:&quot;\u003cnumber\u003e&quot;,&quot;num_uploaded_user_records&quot;:&quot;\u003cnumber\u003e&quot;,&quot;status&quot;:&quot;UPLOADING&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;exceptions&quot;:{}}],&quot;bookmark&quot;:&quot;\u003cstring\u003e&quot;}