---
title: "Create Vendor Audience Config"
method: POST
path: "/vendor/audience_configs"
tags: ["Targeting"]
---

# Create Vendor Audience Config

`POST /vendor/audience_configs`

## Request

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

Creates or updates a vendor audience configuration. Only accessible to global admins.

## Request body

- object
  - `vendor_id` integer, required
  - `organization_id` integer, required
  - `bidder_code` string, required: Must be exactly 2 alphabetic characters
  - `default_revenue_share` number, double, required: Decimal value for the default revenue share
  - `creation_limit` integer: Positive integer value for the creation limit
  - `enabled` boolean
  - `global_taxonomy_enabled` boolean, required

## Response `200`

Vendor Audience Config response

- object
  - `data` object
    - `vendor_id` integer, required
    - `organization_id` integer, required
    - `bidder_code` string, required
    - `default_revenue_share` number, double, required
    - `creation_limit` integer
    - `enabled` boolean, required
    - `global_taxonomy_enabled` boolean, required
    - `created_on` string, date-time, required
    - `updated_on` string, date-time, required
  - `meta` object
    - `status` string

## Other responses

- `400`: Error response
- `403`: Error response
- `500`: 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)
