Skip to main content

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.

NameRequiredDescription
levelNoaccount, campaign (default), ad_group or ad
idsYes, except accountComma-separated ids of that level (up to 250)
start_date / end_dateNoYYYY-MM-DD. Default: the last 7 days. At most 90 days.
granularityNoTOTAL, DAY (default), HOUR, WEEK, MONTH
columnsNoPinterest'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_timezoneNoAttribution options, as in Pinterest
refreshNotrue 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_DOLLAR columns 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.