Snapchat AdsSnapchat AdsAdvertising

One Snapchat campaign's performance — spend, swipes

snapchat-ads.campaign.stats

Get spend, impressions and swipes for one Snapchat campaign

价格
free按目录价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/snapchat-ads.campaign.statsBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

identical shape to the account-level report, scoped to one campaign; /adsquads/{id}/stats and /ads/{id}/stats are the same again further down. LIFETIME granularity ignores start_time/end_time and returns the campaign's all-time totals

参数类型必填说明示例
路径参数
campaign_id字符串必填UUID from the campaigns list92e1c28a-a331-45b4-8c26-fd3e0eea8c39
查询参数
fields字符串可选impressions,swipes,spend,conversion_purchases,attachment_total_view_time_millis
end_time字符串可选2026-07-28T00:00:00-07:00
breakdown字符串可选adsquad | ad — one row per child of this campaignadsquad
start_time字符串可选ISO 8601 aligned to ad-account-timezone midnight2026-06-28T00:00:00-07:00
granularity字符串必填TOTAL | DAY | HOUR | LIFETIMETOTAL
swipe_up_attribution_window字符串可选7_DAY
  • 路径参数
  • campaign_id字符串必填

    UUID from the campaigns list

    示例:92e1c28a-a331-45b4-8c26-fd3e0eea8c39

  • 查询参数
  • fields字符串可选

    示例:impressions,swipes,spend,conversion_purchases,attachment_total_view_time_millis

  • end_time字符串可选

    示例:2026-07-28T00:00:00-07:00

  • breakdown字符串可选

    adsquad | ad — one row per child of this campaign

    示例:adsquad

  • start_time字符串可选

    ISO 8601 aligned to ad-account-timezone midnight

    示例:2026-06-28T00:00:00-07:00

  • granularity字符串必填

    TOTAL | DAY | HOUR | LIFETIME

    示例:TOTAL

  • swipe_up_attribution_window字符串可选

    示例:7_DAY

代码示例

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

Beta
curl -X GET 'https://toolswitch.dev/v1/tools/snapchat-ads.campaign.stats' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

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