API Reference
Get a campaign
/v27.0/{campaign_id}https://meta-ads.mimicr.dev · provider: https://graph.facebook.comReads 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
ID of the campaign.
"120200539998049712"Query parameters
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.
ID of the object.
ID of the ad account, without the act_ prefix.
Name of the object.
Campaign objective: OUTCOME_APP_PROMOTION, OUTCOME_AWARENESS, OUTCOME_ENGAGEMENT, OUTCOME_LEADS, OUTCOME_SALES or OUTCOME_TRAFFIC.
OUTCOME_APP_PROMOTIONOUTCOME_AWARENESSOUTCOME_ENGAGEMENTOUTCOME_LEADSOUTCOME_SALESOUTCOME_TRAFFICStatus set by the advertiser: ACTIVE, PAUSED, DELETED or ARCHIVED.
ACTIVEARCHIVEDDELETEDPAUSEDSame as status.
ACTIVEARCHIVEDDELETEDPAUSEDEffective 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_ISSUESBuying type: AUCTION (default). RESERVED (reach and frequency) is not simulated.
Special ad categories of the campaign: NONE, EMPLOYMENT, HOUSING, CREDIT, ISSUES_ELECTIONS_POLITICS, ONLINE_GAMBLING_AND_GAMING or FINANCIAL_PRODUCTS_SERVICES.
The first special ad category, or NONE.
Daily budget in the minor unit of the account currency (cents for BRL). Written as an integer, read back as a numeric string.
Lifetime budget in the minor unit of the account currency. Requires end_time on ad sets.
Remaining budget (today's for a daily budget), in the minor unit, as a numeric string.
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_ROASWhether ad sets may share up to 20% of their budget. Required when the campaign has no campaign budget (v24.0+).
Spend cap in the minor unit. 922337203685478 removes it.
Time the object was created, ISO 8601 in the ad account time zone (2026-11-05T14:25:17-0300).
Time the object was last updated, ISO 8601 in the ad account time zone.
Read-only: the earliest start time of the campaign's ad sets.
Read-only: the latest end time of the campaign's ad sets, when all have one.
Issues that keep the object from delivering (error_code, error_summary, error_message, level).
Smart promotion type of the campaign.
ID of the campaign this one was copied from, or 0.
400Error in the Graph envelope: 100/33 unknown object, 100 nonexisting field.
Show child attributes
Description of the error.
"(#100) The parameter special_ad_categories is required"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.
"OAuthException"Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).
100Error subcode with more detail (1885272 budget too low, 463 token expired, …).
1885272Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.
Title of the error, to show to people.
Message of the error, to show to people.
Extra data. blame_field_specs lists the params that caused a validation error.
Show child attributes
Internal support identifier of the request.
"AbCdEf12345"