Get customer lists
Changed onGet 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
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
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.
When true, excludes customer lists uploaded for new customer acquisition (expanded matching) from the result. Defaults to false (include all).
Response
The request has succeeded.
Example response
{
"items": [
{
"ad_account_id": "549756359984",
"created_time": 1452208622,
"id": "643",
"name": "The Glengarry Glen Ross leads",
"num_batches": 2,
"num_uploaded_user_records": 11,
"status": "PROCESSING",
"type": "customerlist",
"updated_time": 1461269616
}
]
}Changes
- breaking
for the
queryrequest parameterorder, default valueASCENDINGwas added - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional
queryrequest parameterexclude_nca - info
removed
subschema #2from the response bodyallOflist 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
- breaking
the
response's property type changed from no type toobjectfor status
- breaking