Create customer lists

POST {{baseUrl}}/ad_accounts/:ad_account_id/customer_lists

Create 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.

Note that once you have created your customer list, you must convert it into an audience (of the “CUSTOMER_LIST” type) using the create audience endpoint before it can be used.

Request Body

{"name"=>"The Glengarry Glen Ross leads", "records"=>"email1@pinterest.com,email2@pinterest.com,..<more records>", "list_type"=>"EMAIL"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;ad_account_id&quot;:&quot;549756359984&quot;,&quot;created_time&quot;:1452208622,&quot;id&quot;:&quot;643&quot;,&quot;name&quot;:&quot;The Glengarry Glen Ross leads&quot;,&quot;num_batches&quot;:2,&quot;num_removed_user_records&quot;:0,&quot;num_uploaded_user_records&quot;:11,&quot;status&quot;:&quot;PROCESSING&quot;,&quot;type&quot;:&quot;customerlist&quot;,&quot;updated_time&quot;:1461269616,&quot;exceptions&quot;:{}}