Pinterest Ads reports
GET /api/uploadposts/ads/pinterest/insights
Delivery metrics from Pinterest's analytics, for the whole account or per campaign, ad group or ad.
| Name | Required | Description |
|---|---|---|
level | No | account, campaign (default), ad_group or ad |
ids | Yes, except account | Comma-separated ids of that level (up to 250) |
start_date / end_date | No | YYYY-MM-DD. Default: the last 7 days. At most 90 days. |
granularity | No | TOTAL, DAY (default), HOUR, WEEK, MONTH |
columns | No | Pinterest's column names, comma-separated. Default: SPEND_IN_MICRO_DOLLAR, TOTAL_IMPRESSION, TOTAL_CLICKTHROUGH, CTR, CPC_IN_MICRO_DOLLAR, CPM_IN_MICRO_DOLLAR, TOTAL_ENGAGEMENT, TOTAL_CONVERSIONS |
click_window_days, engagement_window_days, view_window_days, conversion_report_time, reporting_timezone | No | Attribution options, as in Pinterest |
refresh | No | true skips the cache |
curl -G https://api.upload-post.com/api/uploadposts/ads/pinterest/insights \
-H 'Authorization: Apikey your-api-key-here' \
--data-urlencode 'level=campaign' \
--data-urlencode 'ids=626736533506' \
--data-urlencode 'granularity=TOTAL'
{
"success": true,
"level": "campaign",
"ad_account_id": "549755885175",
"cached": false,
"rows": [
{"CAMPAIGN_ID": "626736533506", "SPEND_IN_MICRO_DOLLAR": 12450000, "TOTAL_IMPRESSION": 48210, "TOTAL_CLICKTHROUGH": 612, "CTR": 0.0127}
]
}
_MICRO_DOLLARcolumns are in micro-currency of the ad account (divide by 1,000,000).- Pinterest's metrics are a few hours late. Answers are cached for 5 minutes per ad account and query; any change you make through Upload-Post drops the cache.
- The full list of columns (over 400) is in Pinterest's reference of
GET /ad_accounts/{ad_account_id}/campaigns/analytics.
Asynchronous reports and other analytics
For large exports (many entities, breakdowns by targeting, CSV files) use Pinterest's asynchronous reports through the full Pinterest Ads API:
POST /api/uploadposts/ads/pinterest/api/reports create the report
GET /api/uploadposts/ads/pinterest/api/reports?token=... status and download URL
Also there: targeting_analytics (metrics by age, gender, country, interest, keyword...), ad_groups/audience_sizing, keywords/metrics, audience_insights and the analytics of Pins and product groups.