Create customer lists
Changed onCreate a customer list from your records (hashed or plain-text email addresses, or hashed MAIDs or IDFAs).
A customer list is one of the four types of Pinterest audiences: for more information, see Audience targeting or the Audiences section of the ads management guide.
Please review our requirements for what type of information is allowed when uploading a customer list.
When you create a customer list, the system scans the list for existing Pinterest accounts; the list must include at least 100 Pinterest accounts. Your original list will be deleted when the matching process is complete. The filtered list – containing only the Pinterest accounts that were included in your starting list – is what will be used to create the audience.
To use your customer list after creating it, convert it into a customer list audience by passing the CUSTOMER_LIST audience type at the create audience endpoint.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"list_type": "EMAIL",
"name": "The Glengarry Glen Ross leads",
"records": "email1@pinterest.com,email2@pinterest.com,..<more records>"
}Response
The request has succeeded.
Example response
{
"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
the
request property type changed fromstringto no type - breaking
the
response's property type changed fromstringto no type for status - info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - 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
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
added to the
response propertyallOflist for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
removed the
PROCESSINGenum value from theresponse property for the response status - info
removed the
READYenum value from theresponse property for the response status - info
removed the
TOO_SMALLenum value from theresponse property for the response status - info
removed the
UPLOADINGenum value from theresponse property for the response status - info
the
response's property pattern^\d+$was added for the status - info
added the success response with the status
- breaking
- warning
removed the request property
- warning