Skip to main content
LocalAds returns errors as RFC 9457 problem details with the application/problem+json content type.
Use code for program logic and request_id when contacting support. Do not write integrations that depend on the human-readable detail.

Status codes

Common codes

A 400 invalid_request on a campaign or UGC video usually means audience_id is missing. It is required on those requests: send a saved audience, or null for a deliberately broad one.

Retry safely

Retry 429 and transient 500 responses with exponential backoff. Do not automatically retry 400, 401, 403, 404, or 422 responses without changing the request or configuration.
Last modified on September 30, 2026