Campaigns

Live read: Get one campaign

Available on: Meta TikTok Google Ads OpenAI

Asks the provider for one campaign now, and gives its payload with the field names of the provider. This is the escape hatch from the normalized fields.

The keys are the provider’s. A Meta campaign answers id, name, objective, daily_budget, lifetime_budget, bid_strategy and is_adset_budget_sharing_enabled; a TikTok campaign answers campaign_id, campaign_name, objective_type, budget_mode and budget_optimize_on; a Google Ads campaign answers id, name, status, budgetAmountMicros and budgetTotalAmountMicros.

The payload holds the fields AdCrunch asks the provider for, and no more. It is not everything the provider knows about the campaign: a bid strategy, a spending limit and a schedule are outside the set AdCrunch reads, so they are in no payload here.

Money

AdCrunch changes one thing in the payload: the money of Meta, daily_budget and lifetime_budget. Meta writes each amount in a unit that depends on the currency. This read gives each one as a number in whole units of the currency of the advertiser. It is the unit of budget on a row: 250 is 250.00. When AdCrunch does not know the currency of the advertiser, each of these fields is null.

A TikTok amount is in whole units already, so it does not change. A Google Ads field whose name ends in Micros states its unit, so it stays in micros: 12340000 is 12.34.

When there is nothing to give

404 — the provider holds no such campaign on this ad account, the provider has no campaign at all, or your organization does not own the advertiser in the path. They are deliberately not told apart: distinguishing them would confirm that a campaign exists to somebody who cannot read it.

get/observe/{advertiserId}/campaigns/{id}

Request

  • Base URL: https://api.adcrunch.dev
  • URL: https://api.adcrunch.dev/observe/{advertiserId}/campaigns/{id}
  • Auth: HTTP bearer

Path parameters

advertiserIdstring required

The ad account to read, prefixed acc_. It must belong to your organization. One that does not answers 404, with error of not_found.

idstring required

The id the provider gives, with no prefix. Every listing answers it as id.

Response

The payload the provider holds now, with the money of Meta in whole units.

unknown required

Example response

{
  "account_id": "1203456789012345",
  "bid_strategy": "COST_CAP",
  "created_time": "2026-09-16T23:06:40+0000",
  "daily_budget": 250,
  "id": "120210000000000",
  "is_adset_budget_sharing_enabled": false,
  "lifetime_budget": 0,
  "name": "Spring sale — prospecting",
  "objective": "OUTCOME_SALES",
  "start_time": "2026-09-17T00:00:00+0000",
  "status": "ACTIVE",
  "updated_time": "2026-09-20T10:26:40+0000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.