github.com/prebid/prebid-server/v2@v2.18.0/static/bidder-params/mediafuse.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3    "title": "Mediafuse Adapter Params",
     4    "description": "A schema which validates params accepted by the Mediafuse adapter",
     5  
     6    "type": "object",
     7    "properties": {
     8      "placement_id": {
     9        "type": "integer",
    10        "description": "An ID which identifies this placement of the impression"
    11      },
    12      "placementId": {
    13        "type": "integer",
    14        "description": "Deprecated, use placement_id instead."
    15      },
    16      "inv_code": {
    17        "type": "string",
    18        "description": "A code identifying the inventory of this placement."
    19      },
    20      "invCode": {
    21        "type": "string",
    22        "description": "Deprecated, use inv_code instead."
    23      },
    24      "member": {
    25        "type": "string",
    26        "description": "An ID which identifies the member selling the impression."
    27      },
    28      "keywords": {
    29        "type": "array",
    30        "minItems": 1,
    31        "items": {
    32          "type": "object",
    33          "description": "A key with one or more values associated with it. These are used in buy-side segment targeting.",
    34          "properties": {
    35            "key": {
    36              "type": "string"
    37            },
    38            "value": {
    39              "type": "array",
    40              "minItems": 1,
    41              "items": {
    42                "type": "string"
    43              }
    44            }
    45          },
    46          "required": ["key"]
    47        }
    48      },
    49      "traffic_source_code": {
    50        "type": "string",
    51        "description": "Specifies the third-party source of this impression."
    52      },
    53      "trafficSourceCode": {
    54        "type": "string",
    55        "description": "Deprecated, use traffic_source_code instead."
    56      },
    57      "reserve": {
    58        "type": "number",
    59        "description": "The minimium acceptable bid, in CPM, using US Dollars"
    60      },
    61      "position": {
    62        "type": "string",
    63        "enum": ["above", "below"],
    64        "description": "Specifies the ad unit as above or below the fold"
    65      },
    66      "use_pmt_rule": {
    67        "type": "boolean",
    68        "description": "Boolean to signal Mediafuse to apply the relevant payment rule"
    69      },
    70      "generate_ad_pod_id": {
    71        "type": "boolean",
    72        "description": "Boolean to signal Mediafuse to add ad pod id to each request"
    73      },
    74      "private_sizes": {
    75        "type": "array",
    76        "items": {
    77          "type": "object",
    78          "properties": {
    79            "w": {
    80              "type": "integer"
    81            },
    82            "h": {
    83              "type": "integer"
    84            }
    85          },
    86          "required": ["w", "h"]
    87        },
    88        "description": "Private sizes (ex: [{\"w\": 300, \"h\": 250},{...}]), experimental, may not be supported."
    89      }
    90    },
    91  
    92    "oneOf": [{
    93      "oneOf": [{
    94        "required": ["placementId"]
    95      }, {
    96        "required": ["placement_id"]
    97      }]
    98    }, {
    99      "oneOf": [{
   100        "required": ["invCode", "member"]
   101      }, {
   102        "required": ["inv_code", "member"]
   103      }]
   104    }],
   105  
   106    "not": {
   107      "required": ["placementId", "invCode", "member"]
   108    }
   109  }