Meta AdsMeta AdsAdvertising

Campaigns in your Meta ad account — status, budget

meta-ads.campaigns

List the campaigns in your Meta ad account with status, objective and budget

Price
freeプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/meta-ads.campaigns?limit=2Preview
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

budgets are strings in the account currency's MINOR unit — daily_budget "5000" is $50.00. Budget can live on the campaign (CBO) or on each ad set, so a null daily_budget here is normal, not missing data. Ad sets and ads are the same pattern on /{ad_account_id}/adsets and /ads

パラメータ型必須説明例
パスパラメータ
ad_account_id文字列必須the act_-prefixed id from facebook.ads.accountsact_1234567890
クエリパラメータ
after文字列任意paging.cursors.after from the previous response
limit整数任意50
fields文字列必須id,name,status,effective_status,objective,daily_budget,lifetime_budget,start_time,stop_time,created_time
effective_status文字列任意JSON array as a string, e.g. ["ACTIVE","PAUSED"] — without it Meta also returns archived campaigns["ACTIVE"]
  • パスパラメータ
  • ad_account_id文字列必須

    the act_-prefixed id from facebook.ads.accounts

    例:act_1234567890

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

    paging.cursors.after from the previous response

  • limit整数任意

    例:50

  • fields文字列必須

    例:id,name,status,effective_status,objective,daily_budget,lifetime_budget,start_time,stop_time,created_time

  • effective_status文字列任意

    JSON array as a string, e.g. ["ACTIVE","PAUSED"] — without it Meta also returns archived campaigns

    例:["ACTIVE"]

コード例

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

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/meta-ads.campaigns?limit=2' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

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