Skip to content
AdCrunch
Esc
↑↓navigate↵open⌘Jpreview

Live read: Get one campaign

Available on: Meta TikTok Google Ads

Asks the provider for one campaign now, and gives its payload exactly as the provider sends it. This is the escape hatch from the normalized fields.

The keys are the provider’s. A Meta campaign answers id, name, objective, daily_budget and lifetime_budget; 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.

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}
Authorization
AuthorizationBearer token · headerrequired

Send Authorization: Bearer <credential>.

Use an API key (acr_…), from the AdCrunch console under Settings → API keys.

The credential names the organization, and no operation takes an organization parameter.

See https://docs.adcrunch.dev/api/authentication.

Path parameters
advertiserIdstringrequired
matches ^(acc_)[\s\S]{0,}$
idstringrequired
Responses
200

The payload the provider holds now, verbatim.

any
400

The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. error is invalid_request, and issues names each field. Nothing was changed.

issuesobject[]required

One entry for each field that does not match.

Show properties
Array of object
instringrequired

The part of the request that holds the field.

Allowed:bodycookieheadersparamsquery
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

pathstringrequired

A JSON Pointer into that part of the request, such as /filename. An empty string is the whole part.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:invalid_request
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

401

No API key, or one that does not resolve. See the security scheme. error is unauthorized.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:unauthorized
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

403

The caller does not hold observe:read. error is forbidden.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:forbidden
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

404

The provider holds no such entity on this ad account, the provider does not have this kind of entity, or your organization does not own the advertiser in the path. They are deliberately not told apart. error is not_found.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:not_found
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

409

This advertiser has no usable connection to its provider. A person must reconnect it. The stored read of the same resource, with advertiserId, still answers what AdCrunch holds.

providerstringrequired

The ad platform this failure came from: meta, tiktok or gads.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:provider_not_connected
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

501

AdCrunch cannot read this resource live from this advertiser’s provider. It is permanent. Read the stored copy instead, at the same resource without the advertiser in the path and with advertiserId.

providerstringrequired

The ad platform this failure came from: meta, tiktok or gads.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:live_read_unsupported
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

502

The provider refused the request, or could not answer it. Often transient, so a retry is worth making.

platformErroranyrequired

The provider’s own error object, unchanged. For Meta it carries code, error_subcode, type, error_user_title and error_user_msg — branch on the subcode for anything AdCrunch does not model. It never holds the request AdCrunch sent.

providerstringrequired

The ad platform this failure came from: meta, tiktok or gads.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:provider_error
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

Request
curl -X GET "https://api.pr-701.adcrunch.dev/observe/string/campaigns/string" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "account_id": "1203456789012345",
  "created_time": "2026-09-16T23:06:40+0000",
  "daily_budget": "25000",
  "id": "120210000000000",
  "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"
}