TikTok AdsTikTok AdsAdvertising

Campaigns in your TikTok ad account — status, budget

tiktok-ads.campaigns

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

Price
freeZum Anbieterpreis
Success rate
—Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/tiktok-ads.campaignsPreview
Try onlineDemnächstProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

budget is a number in the account currency and budget_mode says whether it is daily (BUDGET_MODE_DAY) or lifetime. Two status fields disagree on purpose: operation_status is what you set (ENABLE/DISABLE), primary_status is what TikTok is actually doing (delivering, budget exceeded, in review)

ParameterTypErforderlichBeschreibungBeispiel
Abfrageparameter
pageGanzzahlOptional1
fieldsArrayOptionalJSON array; omit for the default field set["campaign_id","campaign_name","objective_type","budget","budget_mode","operation_status"]
filteringObjektOptionalJSON object in the query string: {"primary_status":"STATUS_DELIVERY_OK"} or {"campaign_ids":["123"]}{"primary_status":"STATUS_DELIVERY_OK"}
page_sizeGanzzahlOptionalmax 1000, default 10 — the small default is the usual reason a campaign looks missing100
advertiser_idZeichenketteErforderlich7000000000000000000
  • Abfrageparameter
  • pageGanzzahlOptional

    Beispiel: 1

  • fieldsArrayOptional

    JSON array; omit for the default field set

    Beispiel: ["campaign_id","campaign_name","objective_type","budget","budget_mode","operation_status"]

  • filteringObjektOptional

    JSON object in the query string: {"primary_status":"STATUS_DELIVERY_OK"} or {"campaign_ids":["123"]}

    Beispiel: {"primary_status":"STATUS_DELIVERY_OK"}

  • page_sizeGanzzahlOptional

    max 1000, default 10 — the small default is the usual reason a campaign looks missing

    Beispiel: 100

  • advertiser_idZeichenketteErforderlich

    Beispiel: 7000000000000000000

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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

Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.