API Reference
Create an ad account
/v27.0/{business_id}/adaccounthttps://meta-ads.mimicr.dev · provider: https://graph.facebook.comCreates an ad account in the Business Manager. Requires business_management and ads_management. The new account has no payment method.
In Mimicr, the business allows maxAdAccounts (default 5) accounts; a name containing [limite-contas] also returns 3979.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
ID of the Business Manager.
"842989790016191"Body
application/x-www-form-urlencodedName of the account.
ISO 4217 currency (BRL). Invalid → 2607.
Time zone ID (25 America/Sao_Paulo).
NONE, UNFOUND or an ID.
NONE, UNFOUND or an ID.
NONE, UNFOUND or an ID.
Payment method (stored).
Stored.
Stored.
Responses
200The account.
act_{id}.
400Error in the Graph envelope: 3979 too many ad accounts for the business, 3980 an account in bad standing (sandbox toggle strictAccountCreation), 2607 invalid currency, 100 invalid parameter.
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"