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
freePelo preço do provedor
Success rate
—Ainda não há dados da taxa de sucessoLast 30 days · 0 calls
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/pinterest-ads.queryPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

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

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de caminho
ad_account_idstringObrigatório549755885175
Parâmetros de consulta
columnsmatrizObrigatórioREQUIRED, 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_datestringObrigatórioYYYY-MM-DD2026-07-28
start_datestringObrigatórioYYYY-MM-DD; the window may not exceed 90 days and may not start more than 90 days ago2026-06-28
granularitystringObrigatórioTOTAL | DAY | HOUR | WEEK | MONTHDAY
view_window_daysinteiroOpcional0 | 1 | 7 | 14 | 30 (default 1)
click_window_daysinteiroOpcionalconversion attribution window: 0 | 1 | 7 | 14 | 30 (default 30)30
conversion_report_timestringOpcionalTIME_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_daysinteiroOpcional0 | 1 | 7 | 14 | 30 (default 30)
  • Parâmetros de caminho
  • ad_account_idstringObrigatório

    Exemplo: 549755885175

  • Parâmetros de consulta
  • columnsmatrizObrigatório

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

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

  • end_datestringObrigatório

    YYYY-MM-DD

    Exemplo: 2026-07-28

  • start_datestringObrigatório

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

    Exemplo: 2026-06-28

  • granularitystringObrigatório

    TOTAL | DAY | HOUR | WEEK | MONTH

    Exemplo: DAY

  • view_window_daysinteiroOpcional

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

  • click_window_daysinteiroOpcional

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

    Exemplo: 30

  • conversion_report_timestringOpcional

    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

    Exemplo: TIME_OF_AD_ACTION

  • engagement_window_daysinteiroOpcional

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

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

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

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.