API Reference
Facebook LoginGETLogin dialog
Campaigns

Get a campaign

GET/v27.0/{campaign_id}
Base URL: https://meta-ads.mimicr.dev · provider: https://graph.facebook.com

Reads a campaign. DELETED campaigns still answer by id. Requires ads_read or ads_management and a role on the ad account.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

campaign_idstringrequired

ID of the campaign.

Example: "120200539998049712"

Query parameters

fieldsstring

Comma-separated fields to return, with Graph field expansion: a,b{c,d},e.limit(5). Without it, only id (and a few default fields on some nodes) is returned. An unknown field returns (#100) Tried accessing nonexisting field.

Responses

200OK.
idstring

ID of the object.

account_idstring

ID of the ad account, without the act_ prefix.

namestring

Name of the object.

objectivestring

Campaign objective: OUTCOME_APP_PROMOTION, OUTCOME_AWARENESS, OUTCOME_ENGAGEMENT, OUTCOME_LEADS, OUTCOME_SALES or OUTCOME_TRAFFIC.

OUTCOME_APP_PROMOTIONOUTCOME_AWARENESSOUTCOME_ENGAGEMENTOUTCOME_LEADSOUTCOME_SALESOUTCOME_TRAFFIC
statusstring

Status set by the advertiser: ACTIVE, PAUSED, DELETED or ARCHIVED.

ACTIVEARCHIVEDDELETEDPAUSED
configured_statusstring

Same as status.

ACTIVEARCHIVEDDELETEDPAUSED
effective_statusstring

Effective status, derived from the object's own status and its parents'. DELETED and ARCHIVED objects are hidden from edges unless the effective_status filter includes them.

ACTIVEARCHIVEDDELETEDIN_PROCESSPAUSEDWITH_ISSUES
buying_typestring

Buying type: AUCTION (default). RESERVED (reach and frequency) is not simulated.

special_ad_categoriesstring[]

Special ad categories of the campaign: NONE, EMPLOYMENT, HOUSING, CREDIT, ISSUES_ELECTIONS_POLITICS, ONLINE_GAMBLING_AND_GAMING or FINANCIAL_PRODUCTS_SERVICES.

special_ad_categorystring

The first special ad category, or NONE.

daily_budgetstring

Daily budget in the minor unit of the account currency (cents for BRL). Written as an integer, read back as a numeric string.

lifetime_budgetstring

Lifetime budget in the minor unit of the account currency. Requires end_time on ad sets.

budget_remainingstring

Remaining budget (today's for a daily budget), in the minor unit, as a numeric string.

bid_strategystring

Bid strategy: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP or LOWEST_COST_WITH_MIN_ROAS.

COST_CAPLOWEST_COST_WITHOUT_CAPLOWEST_COST_WITH_BID_CAPLOWEST_COST_WITH_MIN_ROAS
is_adset_budget_sharing_enabledboolean

Whether ad sets may share up to 20% of their budget. Required when the campaign has no campaign budget (v24.0+).

spend_capstring

Spend cap in the minor unit. 922337203685478 removes it.

created_timestring<date-time>

Time the object was created, ISO 8601 in the ad account time zone (2026-11-05T14:25:17-0300).

updated_timestring<date-time>

Time the object was last updated, ISO 8601 in the ad account time zone.

start_timestring<date-time>

Read-only: the earliest start time of the campaign's ad sets.

stop_timestring<date-time>

Read-only: the latest end time of the campaign's ad sets, when all have one.

issues_infoobject[]

Issues that keep the object from delivering (error_code, error_summary, error_message, level).

smart_promotion_typestring

Smart promotion type of the campaign.

source_campaign_idstring

ID of the campaign this one was copied from, or 0.

400Error in the Graph envelope: 100/33 unknown object, 100 nonexisting field.
errorobjectrequired
Show child attributes
messagestringrequired

Description of the error.

Example: "(#100) The parameter special_ad_categories is required"
typestringrequired

OAuthException for most codes (the Marketing API uses it for validation too), GraphMethodException for unknown objects, FacebookApiException for transient errors. In Mimicr, routes outside the integration core answer MimicrNotSimulated with HTTP 501.

Example: "OAuthException"
codeintegerrequired

Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).

Example: 100
error_subcodeinteger

Error subcode with more detail (1885272 budget too low, 463 token expired, …).

Example: 1885272
is_transientboolean

Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.

error_user_titlestring

Title of the error, to show to people.

error_user_msgstring

Message of the error, to show to people.

error_dataobject

Extra data. blame_field_specs lists the params that caused a validation error.

Show child attributes
blame_field_specsstring[][]
fbtrace_idstringrequired

Internal support identifier of the request.

Example: "AbCdEf12345"