Skip to main content
GET
List ad labels

Request contract

  • Method and path: GET /apis/v1/ads/labels
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ads/labels
  • connectionId: query; required
  • adAccountId: query; optional
  • customerId: query; optional
  • limit: query; optional
  • after: 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

Meta ad account id (act_), or the Google Ads customer id (digits only).

Pattern: ^(act_)?\d+$
customerId
string

Google only. Alias of adAccountId, kept for existing callers.

Pattern: ^\d+$
limit
integer
default:25

Meta only. Rows per page.

Required range: 1 <= x <= 100
after
string

Meta only. Cursor from paging.after of the previous page.

Response

Ad labels

adAccountId
string

Meta act_, or the resolved Google customer id

cachedAt
string<date-time> | null

Google only. When the served list was fetched from Google.

data
object[]
paging
object
stale
boolean

Google only. True when Google quota was exhausted and the last cached list was served.