Browse targeting categories
Shows Meta's full tree of detailed targeting categories for an ad account, so you can browse options without a keyword.
It returns the whole Meta detailed-targeting category tree of one ad account (Meta's GET /act_{ad_account_id}/targetingbrowse), as one flat list you can render as a tree. Use it to show what can be targeted without a keyword; use GET /v1/ads/targeting/search to find an entry by name.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
A connected Meta account (metaads, facebook or instagram). Any other ad platform returns 501 platform_not_supported.
The Meta ad account to browse as, in the form "act_".
Only the nodes of this Meta type (e.g. interests, behaviors, life_events, income), plus the organizational nodes leading to them. A type that is not in the catalog returns 400.
Only the descendants (every depth) of this organizational node, e.g. Demographics > Financial. A nodeId that is not an organizational node of the catalog returns 400.
true for selectable entities only, false for organizational nodes only.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Node kinds
Every node is one of two kinds.
Selectable entity (selectable: true): an interest, behavior or demographic Meta gives an id. id plus type is what a targeting spec takes.
interests,behaviorsandindustriesids go inTargetingSpec.interests,behaviorsandworkIndustriesonPOST /v1/ads/create.- Every other type goes in
rawTargeting.flexible_specunder itstypeas the key. life_events,family_statusesandincometake objects ({ "flexible_spec": [{ "life_events": [{ "id": "6017476616183" }] }] }).education_statusesandrelationship_statusestake the bare number ({ "flexible_spec": [{ "education_statuses": [3] }] }): Meta answers an object there with a 500.
Organizational node (selectable: false, id: null): a category such as Demographics > Financial > Income that only groups other nodes and cannot be targeted.
A few organizational nodes carry a type and have no children (Schools, Employers, Job titles, Fields of study, Undergrad years). Those are open-ended categories Meta only exposes through search (dimension=workEmployer / workPosition on the search endpoint).
Node ids
nodeIdidentifies a node within this response.parentNodeIdpoints at its parent (nullfor the three rootsDemographics,Interests,Behaviors).- A selectable node's
nodeIdis{type}:{id}, because Meta reuses small ids across types (education status 3 and relationship status 3 are different entities). - An organizational node's
nodeIdis its full path joined with>.
Labels are kept exactly as Meta sends them, including stray leading or trailing spaces, because Meta has sibling nodes that differ only by whitespace.
The interests branch is Meta's curated browse list (a few hundred entries), not every interest Meta can target: search finds the long tail.
No pagination
Meta returns the whole catalog in one response (about 770 nodes) and ignores limit, so there is no cursor. Narrow it with type, parentNodeId and selectable instead; they are applied by Zernio.
The catalog is cached for an hour per ad account and connection.
Forecast ad delivery
LinkedIn-only. Forecasted impressions, clicks, spend and ~20 other metrics for a targeting spec over a time range. Wraps LinkedIn's `adSupplyForecasts` finder. Each returned series carries a `metricType` (IMPRESSION, CLICK, SPENDING, MAX_POTENTIAL_BUDGET, COST_PER_MILLION_IMPRESSIONS, ...) and a `granularity` (DAILY, SEVEN_DAY, THIRTY_DAY, CUSTOM). LinkedIn caps the daily spending forecast at 1.2x the daily budget and returns 0 once the total budget is exhausted. Non-LinkedIn accounts return `available: false`.
Estimate audience reach
Estimates how many people a targeting setup would reach before you create a campaign. Returns a normalized pre-flight audience-size estimate for a targeting spec, before any campaign is created. Backed by each platform's native reach API (Meta `delivery_estimate`, LinkedIn `audienceCounts`, X `audience_summary`, Pinterest `audience_sizing`). Platforms without a usable pre-flight reach API (Google Search/Display, TikTok) return `available: false` with no bounds, so clients can hide or grey out the estimate rather than treat the absence as an error.