Ad account users
People of a business portfolio assigned to a Meta ad account, with their tasks.
Ids are business-scoped user ids (see GET /v1/ads/businesses/users).
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
Meta ad account id (act_).
Business portfolio whose people to list.
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.listAdAccountUsers({ query: { accountId: 'account_abc123', adAccountId: 'adaccount_abc123', businessId: 'business_abc123', },});console.log(data);{ "adAccountId": "string", "businessId": "string", "users": [ { "id": "string", "name": "string", "tasks": [ "string" ] } ]}Assign a user to a Page
Gives a person of the portfolio tasks on a Page the portfolio owns or was granted as a partner. Meta does not assign partner admins automatically, so after an owner shares a Page the partner calls this for the people whose tokens will advertise for it. `ADVERTISE` is what ad creation needs. Assigning an already assigned user replaces their task set.
Business users
People and system users of a Meta business portfolio, with the business-scoped ids that `POST /v1/ads/accounts/users` and `POST /v1/ads/page-users` take. The connected Meta user must be an admin of the portfolio.