Magnite Campaigns API

The Campaigns API from Magnite — 2 operation(s) for campaigns.

Business capability
Marketing Management BC-400

Operations 5

GET /api/v0/campaigns Index #
POST /api/v0/campaigns Create #
GET /api/v0/campaigns/{id} Show #
PUT /api/v0/campaigns/{id} Update #
DELETE /api/v0/campaigns/{id} Destroy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/magnite-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

magnite-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SpringServe UI API (V0) Campaigns API
  version: 0.1.0
  description: '> **_NOTE:_** This document covers the v0 API (`/api/v0`).'
security:
- api_key: []
- bearer_token: []
tags:
- name: Campaigns
paths:
  /api/v0/campaigns:
    get:
      summary: Index
      description: List all campaigns. Supports pagination via page, per, and ids params.
      parameters:
      - $ref: ref/params.yaml#/components/parameters/pageParam
      - $ref: ref/params.yaml#/components/parameters/perParam
      - $ref: ref/params.yaml#/components/parameters/idsParam
      responses:
        '200':
          description: List of campaigns
          content:
            application/json:
              schema:
                $ref: ref/schemas.yaml#/components/schemas/ListResponse
      tags:
      - Campaigns
      operationId: campaigns_get
    post:
      summary: Create
      description: Creating a Campaign
      requestBody:
        content:
          application/json:
            schema:
              type: object
            examples:
              managed_simple:
                $ref: '#/components/examples/campaign_managed_create_simple'
              managed_full:
                $ref: '#/components/examples/campaign_managed_create_full'
              direct_connect_simple:
                $ref: '#/components/examples/campaign_direct_connect_create_simple'
              direct_connect_full:
                $ref: '#/components/examples/campaign_direct_connect_create_full'
              tiles_dedup_simple:
                $ref: '#/components/examples/campaign_tiles_dedup_create_simple'
              tiles_dedup_full:
                $ref: '#/components/examples/campaign_tiles_dedup_create_full'
        required: true
      responses:
        '201':
          description: Created campaign
          content:
            application/json:
              schema:
                type: object
              example:
                name: My Campaign
                has_rate: true
                rate: 10.0
                demand_partner_id: 52
      tags:
      - Campaigns
      operationId: campaigns_post
  /api/v0/campaigns/{id}:
    get:
      summary: Show
      description: Get a Campaign
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Campaign details
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaigns
      operationId: campaigns_id_get
    put:
      summary: Update
      description: Add Demand Tags to your Campaign or Edit a Campaign
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
            examples:
              simple:
                $ref: '#/components/examples/campaign_update_simple'
              full:
                $ref: '#/components/examples/campaign_update_full'
      responses:
        '200':
          description: Updated campaign
          content:
            application/json:
              schema:
                type: object
              example:
                id: 39
                account_id: 1
                name: My Campaign
                rate: null
                has_rate: false
                demand_partner_id: 52
                demand_tag_ids:
                - 22312
                - 45923
      tags:
      - Campaigns
      operationId: campaigns_id_put
    delete:
      summary: Destroy
      description: Delete a campaign
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No content
      tags:
      - Campaigns
      operationId: campaigns_id_delete
components:
  examples:
    campaign_direct_connect_create_simple:
      summary: Direct Connect Simple
      value:
        name: Campaign Name
        demand_partner_id: 1
        has_rate: false
    campaign_update_full:
      summary: Full
      value:
        name: Campaign Name
        demand_partner_id: 1
        code: '1'
        secondary_code: '1'
        has_rate: true
        rate: 1.11
        rate_currency: USD
        booked_revenue: 1.11
        cost_model_type: 0
        partner_tier_override_enabled: true
        partner_tier_override: '1'
        guaranteed_delivery: false
        guaranteed_tier: '1'
        audited_creative_statuses:
        - '1'
        demand_tag_ids:
        - 1
        campaign_tiers:
        - supply_tag_id: 1
          tier: 1
          slot_order: '1'
          slot_number: 1
        tiles_screen_deduplication: false
        third_party_fee: 1.11
        third_party_fee_currency: USD
        third_party_fee_metric: 0
        third_party_fee_net_revenue: false
        non_billable_fees:
        - cost_basis: impressions
          value: 1.11
          currency: USD
        tag_pixels:
        - pixel_type: AdImpression
          pixel_format: image
          pixel_url: https://ad.example.com/pixel
        is_active: true
        note: Campaign note
    campaign_managed_create_full:
      summary: Managed Full
      value:
        name: Campaign Name
        demand_partner_id: 1
        code: '1'
        secondary_code: '1'
        has_rate: true
        rate: 1.11
        rate_currency: USD
        booked_revenue: 1.11
        cost_model_type: 0
        partner_tier_override_enabled: true
        partner_tier_override: '1'
        demand_tiering: false
        guaranteed_delivery: false
        guaranteed_tier: '1'
        audited_creative_statuses:
        - '1'
        demand_tag_ids:
        - 1
        campaign_tiers:
        - supply_tag_id: 1
          tier: 1
          slot_order: '1'
          slot_number: 1
        tiles_screen_deduplication: false
        third_party_fee: 1.11
        third_party_fee_currency: USD
        third_party_fee_metric: 0
        third_party_fee_net_revenue: false
        non_billable_fees:
        - cost_basis: impressions
          value: 1.11
          currency: USD
        tag_pixels:
        - pixel_type: AdImpression
          pixel_format: image
          pixel_url: https://ad.example.com/pixel
        mediaocean_prisma_enabled: false
        mediaocean_prisma_order_id: '1'
        mediaocean_prisma_campaign_id: '1'
        mediaocean_prisma_placement_id: '1'
        mediaocean_prisma_campaign_link: https://prisma.example.com/campaign
        is_active: true
        note: Campaign note
    campaign_tiles_dedup_create_full:
      summary: Tiles Screen Deduplication Full
      value:
        name: Campaign Name
        demand_partner_id: 1
        code: '1'
        secondary_code: '1'
        has_rate: true
        rate: 1.11
        rate_currency: USD
        booked_revenue: 1.11
        cost_model_type: 0
        partner_tier_override_enabled: true
        partner_tier_override: '1'
        guaranteed_delivery: false
        guaranteed_tier: '1'
        audited_creative_statuses:
        - '1'
        demand_tag_ids:
        - 1
        campaign_tiers:
        - supply_tag_id: 1
          tier: 1
          slot_order: '1'
          slot_number: 1
        tiles_screen_deduplication: true
        max_bids_per_screen: 1
        third_party_fee: 1.11
        third_party_fee_currency: USD
        third_party_fee_metric: 0
        third_party_fee_net_revenue: false
        non_billable_fees:
        - cost_basis: impressions
          value: 1.11
          currency: USD
        tag_pixels:
        - pixel_type: AdImpression
          pixel_format: image
          pixel_url: https://ad.example.com/pixel
        is_active: true
        note: Campaign note
    campaign_update_simple:
      summary: Simple
      value:
        name: Campaign Name
        rate: 1.11
        demand_tag_ids:
        - 1
        is_active: true
    campaign_tiles_dedup_create_simple:
      summary: Tiles Screen Deduplication Simple
      value:
        name: Campaign Name
        demand_partner_id: 1
        has_rate: true
        rate: 1.11
        tiles_screen_deduplication: true
        max_bids_per_screen: 1
    campaign_managed_create_simple:
      summary: Managed Simple
      value:
        name: Campaign Name
        demand_partner_id: 1
        has_rate: true
        rate: 1.11
    campaign_direct_connect_create_full:
      summary: Direct Connect Full
      value:
        name: Campaign Name
        demand_partner_id: 1
        code: '1'
        secondary_code: '1'
        has_rate: false
        partner_tier_override_enabled: true
        partner_tier_override: '1'
        guaranteed_delivery: false
        guaranteed_tier: '1'
        audited_creative_statuses:
        - '1'
        demand_tag_ids:
        - 1
        campaign_tiers:
        - supply_tag_id: 1
          tier: 1
          slot_order: '1'
          slot_number: 1
        tiles_screen_deduplication: false
        third_party_fee: 1.11
        third_party_fee_currency: USD
        third_party_fee_metric: 0
        third_party_fee_net_revenue: false
        non_billable_fees:
        - cost_basis: impressions
          value: 1.11
          currency: USD
        tag_pixels:
        - pixel_type: AdImpression
          pixel_format: image
          pixel_url: https://ad.example.com/pixel
        is_active: true
        note: Campaign note
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: Authorization
      description: SpringServe authorization token based authentication.
    bearer_token:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: SpringServe authorization bearer token based authentication.  This key is included in the response from the /api/v0/auth and /api/v1/auth endpoints.  This key will be automatically set if you run the example for /api/v0/auth or /api/v1/auth