Pinterest AdsPinterest AdsAdvertising

Your Pinterest ad account performance — spend, conversions

pinterest-ads.query

Get spend, impressions, clicks and conversions for your Pinterest ad account

Price
freeAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentLast 30 days · 0 calls
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/pinterest-ads.queryPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

metric names carry their unit: *_IN_DOLLAR fields are already in dollars (in the account currency), IMPRESSION_1 / CLICKTHROUGH_1 are the paid variants while IMPRESSION_2 / CLICKTHROUGH_2 are the earned/organic ones from the same promoted Pin — mixing them up double-counts

ParamètreTypeObligatoireDescriptionExemple
Paramètres de chemin
ad_account_idchaîneObligatoire549755885175
Paramètres de requête
columnstableauObligatoireREQUIRED, comma-separated metric names — there is no default. e.g. SPEND_IN_DOLLAR,IMPRESSION_1,CLICKTHROUGH_1,TOTAL_CONVERSIONS,CPC_IN_DOLLAR["SPEND_IN_DOLLAR","IMPRESSION_1","CLICKTHROUGH_1","TOTAL_CONVERSIONS"]
end_datechaîneObligatoireYYYY-MM-DD2026-07-28
start_datechaîneObligatoireYYYY-MM-DD; the window may not exceed 90 days and may not start more than 90 days ago2026-06-28
granularitychaîneObligatoireTOTAL | DAY | HOUR | WEEK | MONTHDAY
view_window_daysentierFacultatif0 | 1 | 7 | 14 | 30 (default 1)
click_window_daysentierFacultatifconversion attribution window: 0 | 1 | 7 | 14 | 30 (default 30)30
conversion_report_timechaîneFacultatifTIME_OF_AD_ACTION | TIME_OF_CONVERSION (default TIME_OF_AD_ACTION) — which date a conversion is booked against, and the usual reason two reports of the same period disagreeTIME_OF_AD_ACTION
engagement_window_daysentierFacultatif0 | 1 | 7 | 14 | 30 (default 30)
  • Paramètres de chemin
  • ad_account_idchaîneObligatoire

    Exemple : 549755885175

  • Paramètres de requête
  • columnstableauObligatoire

    REQUIRED, comma-separated metric names — there is no default. e.g. SPEND_IN_DOLLAR,IMPRESSION_1,CLICKTHROUGH_1,TOTAL_CONVERSIONS,CPC_IN_DOLLAR

    Exemple : ["SPEND_IN_DOLLAR","IMPRESSION_1","CLICKTHROUGH_1","TOTAL_CONVERSIONS"]

  • end_datechaîneObligatoire

    YYYY-MM-DD

    Exemple : 2026-07-28

  • start_datechaîneObligatoire

    YYYY-MM-DD; the window may not exceed 90 days and may not start more than 90 days ago

    Exemple : 2026-06-28

  • granularitychaîneObligatoire

    TOTAL | DAY | HOUR | WEEK | MONTH

    Exemple : DAY

  • view_window_daysentierFacultatif

    0 | 1 | 7 | 14 | 30 (default 1)

  • click_window_daysentierFacultatif

    conversion attribution window: 0 | 1 | 7 | 14 | 30 (default 30)

    Exemple : 30

  • conversion_report_timechaîneFacultatif

    TIME_OF_AD_ACTION | TIME_OF_CONVERSION (default TIME_OF_AD_ACTION) — which date a conversion is booked against, and the usual reason two reports of the same period disagree

    Exemple : TIME_OF_AD_ACTION

  • engagement_window_daysentierFacultatif

    0 | 1 | 7 | 14 | 30 (default 30)

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/pinterest-ads.query' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.