Skip to main content
GET
Browse targeting categories

Request contract

  • Method and path: GET /apis/v1/ads/targeting/browse
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ads/targeting/browse
  • connectionId: query; required
  • adAccountId: query; required
  • type: query; optional
  • parentNodeId: query; optional
  • selectable: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation. Ad spend is billed separately by the ad platform to your connected ad account.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

connectionId
string
required

The ads connection (adc_...) the request runs on: one of yours, from GET /apis/v1/ads/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^adc_[0-9A-Za-z]+$
adAccountId
string
required

The Meta ad account to browse as, in the form "act_".

Pattern: ^act_\d+$
type
string

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.

parentNodeId
string

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.

selectable
boolean

true for selectable entities only, false for organizational nodes only.

Response

The category tree as a flat list, in Meta's order (parents before their children).

adAccountId
string
required
nodes
object[]
required