Ad Accounts
Check an ad account before creating ads
Changed onChecks whether a Meta ad account can run ads right now, with a fix link for each problem.
What is checked
- the account status
- the payment method
- the account spending limit
- the Facebook Page and its Instagram account
- the Page's Lead Ads terms
- the newest pixel event
- the WhatsApp number linked to the Page
Each check reads on its own: one this connection cannot see comes back unknown instead of failing the request.
Reading the result
- status is blocked when any check is error (ads will be refused), attention when one is warning, else ok.
- missing marks an optional asset that is not set up (a pixel, a WhatsApp number): only the ads that need it are affected.
- A fix.url is either a Meta page or a Zernio dashboard path (starting with /).
get/v1/ads/accounts/health
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/ads/accounts/health
- AuthHTTP bearer
Query parameters
accountIdstring required
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
adAccountIdstring required
Example:act_123
Meta ad account id (act_<n>).
Response
Account checks
Changes
- info
endpoint added
- info