Snapchat AdsSnapchat AdsAdvertising

Your Snapchat ad account performance — spend, swipes

snapchat-ads.query

Get spend, impressions and swipes for your whole Snapchat ad account

価格
freeカタログ価格で提供
成功率
—成功率データはまだありません成功率データはまだありません
レイテンシ p50
——
最終確認
—未確認
GEThttps://toolswitch.dev/v1/tools/snapchat-ads.queryBeta
  • プラットフォームのクォータを使用
  • 同期レスポンス
  • 公開データを読み取る

パラメータ

spend is in MICRO-CURRENCY: 1000000 = 1 unit of the account currency. `swipes` is Snapchat's click. Hourly granularity is capped at a short window (about 7 days) and TOTAL/DAY at roughly 31 days per request — a longer range is an error, not a truncated result

パラメータ型必須説明例
パスパラメータ
ad_account_id文字列必須UUID8adc3db7-8148-4fbf-999c-8d2266369d74
クエリパラメータ
fields文字列任意comma-separated metrics; omitting it returns only impressions and spendimpressions,swipes,spend,video_views,conversion_purchases,screen_time_millis
end_time文字列任意ISO 8601, same alignment rule; exclusive2026-07-28T00:00:00-07:00
breakdown文字列任意campaign | adsquad | ad — returns one stats row per child entity instead of one account totalcampaign
start_time文字列任意ISO 8601 WITH offset and aligned to midnight in the AD ACCOUNT's timezone — 2026-06-28T00:00:00-07:00. A non-midnight or wrong-offset value is rejected outright; required for DAY/HOUR2026-06-28T00:00:00-07:00
granularity文字列必須TOTAL | DAY | HOUR | LIFETIMEDAY
view_attribution_window文字列任意1_HOUR | 3_HOUR | 6_HOUR | 1_DAY (default) | 7_DAY | 28_DAY
swipe_up_attribution_window文字列任意1_DAY | 7_DAY (default) | 28_DAY28_DAY
  • パスパラメータ
  • ad_account_id文字列必須

    UUID

    例:8adc3db7-8148-4fbf-999c-8d2266369d74

  • クエリパラメータ
  • fields文字列任意

    comma-separated metrics; omitting it returns only impressions and spend

    例:impressions,swipes,spend,video_views,conversion_purchases,screen_time_millis

  • end_time文字列任意

    ISO 8601, same alignment rule; exclusive

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

  • breakdown文字列任意

    campaign | adsquad | ad — returns one stats row per child entity instead of one account total

    例:campaign

  • start_time文字列任意

    ISO 8601 WITH offset and aligned to midnight in the AD ACCOUNT's timezone — 2026-06-28T00:00:00-07:00. A non-midnight or wrong-offset value is rejected outright; required for DAY/HOUR

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

  • granularity文字列必須

    TOTAL | DAY | HOUR | LIFETIME

    例:DAY

  • view_attribution_window文字列任意

    1_HOUR | 3_HOUR | 6_HOUR | 1_DAY (default) | 7_DAY | 28_DAY

  • swipe_up_attribution_window文字列任意

    1_DAY | 7_DAY (default) | 28_DAY

    例:28_DAY

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

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

このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。