---
title: "List Advertisers"
method: GET
path: "/advertisers"
tags: ["Advertisers"]
---

# List Advertisers

`GET /advertisers`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/advertisers`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/advertisers/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of advertisers

## Query parameters

- `page_limit` integer
- `page_offset` integer
- `sort_by` string
- `q` string
- `with` 'agency'
- `full` string

## Response `200`

List advertisers response

- union
  - AdvertiserCollection
    - `data` object[]
      - `id` integer
      - `name` string
      - `entity_type` string
      - `agency` object
        - `id` integer
        - `name` string
        - `entity_type` string
        - `rel` string
    - `meta` ListMetadata
      - `status` string, required: The status of the response, indicating success or failure.
      - `count` integer, required: The number of items returned in the current response.
      - `total_count` integer: The total number of items available in the dataset.
      - `offset` integer: The offset from the start of the dataset, used for pagination.
      - `next_page` string: The URL to fetch the next page of results.
      - `prev_page` string: The URL to fetch the previous page of results.
  - AdvertiserCollectionFull
    - `data` object
      - `ad_server_id` integer
      - `data_sharing_enabled` boolean
      - `dmp_enabled` 'disabled' | 'inherits'
      - `domain` string
      - `external_id` string, nullable
      - `frequency_interval` 'hour' | 'day' | 'week' | 'month' | 'not-applicable', nullable
      - `frequency_type` 'no-limit' | 'asap' | 'even', nullable
      - `frequency_amount` integer, nullable
      - `minimize_multi_ads` boolean
      - `name` string
      - `status` boolean
      - `vertical_id` integer
      - `ads_txt_verified` 'ANY' | 'AUTHORIZED_ONLY' | 'AUTHORIZED_DIRECT_ONLY' | 'NONE', nullable
      - `political` boolean
      - `connected_id_type` 'DETERMINISTIC_FIRST'
      - `mfa_avoidance` 'INHERIT' | 'ALLOW_ALL' | 'EXCLUDE_MFA'
      - `attribution_level` 'INDIVIDUAL' | 'HOUSEHOLD'
      - `targeting_identity_level` 'INDIVIDUAL' | 'HOUSEHOLD'
      - `advertiser_brain` boolean
      - `vendor_attributions` object[], nullable
        - `vendor_id` integer
        - `impression_pixel` string
      - `id` integer
      - `ad_server_fee` number
      - `agency_id` integer
      - `created_on` string, date-time
      - `entity_type` string
      - `updated_on` string, date-time
      - `version` integer
      - `effective_ads_txt_verified` string
      - `allow_x_strat_optimization` boolean
      - `billing_contact_id` integer
      - `sales_contact_id` integer, nullable
      - `agency` object
        - `id` integer
        - `name` string
        - `entity_type` string
        - `rel` string
    - `meta` ListMetadata
      - `status` string, required: The status of the response, indicating success or failure.
      - `count` integer, required: The number of items returned in the current response.
      - `total_count` integer: The total number of items available in the dataset.
      - `offset` integer: The offset from the start of the dataset, used for pagination.
      - `next_page` string: The URL to fetch the next page of results.
      - `prev_page` string: The URL to fetch the previous page of results.

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
