---
title: "Create an Audience Vendor"
method: POST
path: "/audience_vendors"
tags: ["Audience Vendors"]
---

# Create an Audience Vendor

`POST /audience_vendors`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/audience_vendors`
- 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/audience_vendors/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an audience vendor

## Request body

- object
  - `name` string, required
  - `namespace_code` string, required
  - `bidder_code` string, required
  - `vendor_id` integer, required
  - `campaign_brain_enabled` boolean
  - `provides_batch_segments` boolean
  - `mma_free_cm` boolean
  - `pin_top_search` boolean
  - `provider_tax` string

## Response `201`

Audience vendor created response

- object
  - `data` object
    - `id` integer
    - `name` string
    - `namespace_code` string
    - `bidder_code` string
    - `vendor_id` integer
    - `campaign_brain_enabled` boolean
    - `provides_batch_segments` boolean
    - `mma_free_cm` boolean
    - `pin_top_search` boolean
    - `provider_tax` string
  - `meta` object
    - `status` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal server error

---

[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)
