advertising

Create a player bidding configuration

Changed on

Create a player bidding configuration resource. Currently only one configuration is allowed.

post/v2/sites/{site_id}/advertising/player_bidding_configs/

Request

  • Base URL
    https://api.jwplayer.com
  • URL
    https://api.jwplayer.com/v2/sites/{site_id}/advertising/player_bidding_configs/
  • Auth
    API key in header Authorization

Path parameters

site_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the site

Request body

Example request

{
  "metadata": {
    "bids": {
      "bidders": {
        "custom_params": {
          "param1": "value1"
        }
      }
    }
  }
}

Response

Resource successfully created

schemastring
idstring

Unique identifier for a resource

createdstring

Date and time at which the resource was created

last_modifiedstring

Date and time at which the resource was most recently modified

typestring

Name of the type of resource.

relationshipsobject

Ancilliary resources associated to the primary resource being read

Example response

{
  "schema": "https://schema.jwplayer.com/types/thumbnail.json",
  "id": "Ny05CEfj",
  "created": "2019-09-25T15:29:11.042095+00:00",
  "last_modified": "2019-09-25T15:29:11.042095+00:00",
  "metadata": {
    "bids": {
      "bidders": {
        "custom_params": {
          "param1": "value1"
        }
      }
    }
  }
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status