Pinterest AdsPinterest AdsAdvertising

Your Pinterest ad account performance — spend, conversions

pinterest-ads.query

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

价格
free按供应商原价
成功率
—暂无成功率数据近 30 天 · 0 次
延迟 p50
——
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/pinterest-ads.query预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

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

参数类型必填说明示例
路径参数
ad_account_id字符串必填549755885175
查询参数
columns数组必填REQUIRED, 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_date字符串必填YYYY-MM-DD2026-07-28
start_date字符串必填YYYY-MM-DD; the window may not exceed 90 days and may not start more than 90 days ago2026-06-28
granularity字符串必填TOTAL | DAY | HOUR | WEEK | MONTHDAY
view_window_days整数可选0 | 1 | 7 | 14 | 30 (default 1)
click_window_days整数可选conversion attribution window: 0 | 1 | 7 | 14 | 30 (default 30)30
conversion_report_time字符串可选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 disagreeTIME_OF_AD_ACTION
engagement_window_days整数可选0 | 1 | 7 | 14 | 30 (default 30)
  • 路径参数
  • ad_account_id字符串必填

    示例:549755885175

  • 查询参数
  • columns数组必填

    REQUIRED, 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_date字符串必填

    YYYY-MM-DD

    示例:2026-07-28

  • start_date字符串必填

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

    示例:2026-06-28

  • granularity字符串必填

    TOTAL | DAY | HOUR | WEEK | MONTH

    示例:DAY

  • view_window_days整数可选

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

  • click_window_days整数可选

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

    示例:30

  • conversion_report_time字符串可选

    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

    示例:TIME_OF_AD_ACTION

  • engagement_window_days整数可选

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

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

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

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。