EC5353EA-AE2F-4702-8056-5892FA2888F2
google.com, pub-6815276029733847, DIRECT, f08c47fec0942fa0
curl -X POST https://api.pinterest.com/v5/ad_accounts/{ad_account_id}/events --header 'Authorization: Bearer '
{
"data": [
{
"event_name": "checkout",
"action_source": "app_ios",
"event_time": 1451431341,
"event_id": "eventId0001",
"event_source_url": "https://example.org/",
"opt_out": false,
"partner_name": "ss-companyname",
"user_data": {...},
"custom_data": {...},
"app_id": "string",
"app_name": "string",
"app_version": "string",
"device_brand": "string",
"device_carrier": "string",
"device_model": "string",
"device_type": "string",
"os_version": "string",
"wifi": false,
"language": "en"
}
]
}
{
"event_id": "eventId0001"
}
{
"custom_data": {
"currency": "USD",
"value": "425325.89",
"content_ids": [
"string"
],
"content_name": "string",
"content_category": "string",
"content_brand": "string",
"contents": [
{
"item_price": "1325.12",
"quantity": 0
}
],
"num_items": 0,
"order_id": "string",
"search_string": "string",
"opt_out_type": "LDP",
"np": "string"
}
}
{
"data": [{
"event_name": "checkout",
"action_source": "app_ios",
"event_time": 1552333099,
"event_id": "eventId0001",
"event_source_url": "https://example.org/",
"opt_out": false,
"partner_name": "ss-company",
"user_data": {
"em": ["411e44ce1261728ffd2c0686e44e3fffe413c0e2c5adc498bc7da883d476b9c8", "09831ea51bd1b7b32a836683a00a9ccaf3d05f59499f42d9883412ed79289969"],
"ph": ["45df139772a81b6011bdc1c9cc3d1cb408fc0b10ec0c5cb9d4d4e107f0ddc49d"],
"ge": ["0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf"],
"db": ["d4426a0086d10f12ad265539ae8d54221dc67786053d511407204b76e99d7739"],
"ln": ["7e546b3aa43f989dd359672e6c3409d4f9d4e8f155ae1e9b90ee060985468c19"],
"fn": ["ec1e6a072231703f1bc41429052fff8c00a7e0c6aaec2e7107241ca8f3ceb6b2"],
"ct": ["4ac01a129bfd10385c9278c2cf2c46fac5ab57350841234f587c8522a2e4ce36"],
"st": ["49a6d05b8e4b516656e464271d9dd38d0a7e0142f7f49546f4dabd2720cafc34"],
"zp": ["fd5f56b40a79a385708428e7b32ab996a681080a166a2206e750eb4819186145"],
"country": ["9b202ecbc6d45c6d8901d989a918878397a3eb9d00e8f48022fc051b19d21a1d"],
"hashed_maids": ["0192518eb84137ccfe82c8b6322d29631dae7e28ed9d0f6dd5f245d73a58c5f1", "837b850ac46d62b2272a71de73c27801ff011ac1e36c5432620c8755cf90db46"],
"external_id": ["6a7a73766627eb611720883d5a11cc62b5bfee237b00a6658d78c50032ec4aee"],
"click_id": "dj0yJnU9MzlGVGVkVENtdVlVWTg3LW1VTzQ4ZWdjOHY5b1JsVS0mcD0yJm49cDhFRUhUYnE5bnFJR1FhQzM3V3NHZyZ0PUFBQUFBR1BkcVJr",
"client_ip_address": "216.3.128.12",
"client_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36"
},
"custom_data": {
"currency": "USD",
"value": "109.42",
"content_ids": ["my_product_id_1", "my_product_id_2"],
"content_name": "pinterest-themed-clothing",
"content_category": "shirts",
"content_brand": "pinterest-brand",
"contents": [{
"quantity": 5,
"item_price": "12.89"
}, {
"quantity": 3,
"item_price": "14.99"
}],
"num_items": 2,
"order_id": "my_order_id",
"search_string": "sample string",
"opt_out_type": "LDP",
"np": "ss-company"
},
"app_id": "429047995",
"app_name": "Pinterest",
"app_version": "7.9",
"device_brand": "Apple",
"device_carrier": "T-Mobile",
"device_model": "iPhone X",
"device_type": "iPhone",
"os_version": "12.1.4",
"wifi": true,
"language": "en"
}]
}
https://api.pinterest.com/v5/ad_accounts/{ad_account_id}/events?test=true
google.com, pub-6815276029733847, DIRECT, f08c47fec0942fa0
top of page
bottom of page
test trial ad
google.com, pub-6815276029733847, DIRECT, f08c47fec0942fa0