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

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3    "title": "Appnexus Adapter Params",
     4    "description": "A schema which validates params accepted by the AppNexus adapter",
     5  
     6    "type": "object",
     7    "properties": {
     8      "placement_id": {
     9        "type": ["integer", "string"],
    10        "description": "An ID which identifies this placement of the impression"
    11      },
    12      "placementId": {
    13        "type": ["integer", "string"],
    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        "anyOf": [
    30          {
    31            "type": "string",
    32            "minLength": 1
    33          },
    34          {
    35            "type": "array",
    36            "minItems": 1,
    37            "items": {
    38              "type": "object",
    39              "description": "A key with one or more values associated with it. These are used in buy-side segment targeting.",
    40              "properties": {
    41                "key": {
    42                  "type": "string"
    43                },
    44                "value": {
    45                  "type": "array",
    46                  "minItems": 1,
    47                  "items": {
    48                    "type": "string"
    49                  }
    50                }
    51              },
    52              "required": ["key"]
    53            }
    54          },
    55          {
    56            "type": "object",
    57            "additionalProperties": {
    58              "type": "array",
    59              "items": {
    60                "type": "string"
    61              }
    62            }
    63          }
    64        ]
    65      },
    66      "traffic_source_code": {
    67        "type": "string",
    68        "description": "Specifies the third-party source of this impression."
    69      },
    70      "trafficSourceCode": {
    71        "type": "string",
    72        "description": "Deprecated, use traffic_source_code instead."
    73      },
    74      "reserve": {
    75        "type": "number",
    76        "description": "The minimium acceptable bid, in CPM, using US Dollars"
    77      },
    78      "position": {
    79        "type": "string",
    80        "enum": ["above", "below"],
    81        "description": "Specifies the ad unit as above or below the fold"
    82      },
    83      "use_pmt_rule": {
    84        "type": "boolean",
    85        "description": "Boolean to signal AppNexus to apply the relevant payment rule"
    86      },
    87      "use_payment_rule": {
    88        "type": "boolean",
    89        "description": "Deprecated, Boolean to signal AppNexus to apply the relevant payment rule. use_pmt_rule will get precedence over usePaymentRule."
    90      },
    91      "generate_ad_pod_id": {
    92        "type": "boolean",
    93        "description": "Boolean to signal AppNexus to add ad pod id to each request"
    94      },
    95      "private_sizes" :{
    96        "type": "array",
    97        "items": {
    98          "type": "object",
    99          "properties": {
   100            "w": { "type": "integer" },
   101            "h": { "type": "integer" }
   102          },
   103          "required": [ "w", "h"]
   104        },
   105        "description": "Private sizes (ex: [{\"w\": 300, \"h\": 250},{...}]), experimental, may not be supported."
   106      },
   107      "ext_inv_code" : {
   108        "type": "string",
   109        "description": "Specifies predefined value passed on the query string that can be used in reporting"
   110      },
   111      "external_imp_id" : {
   112        "type": "string",
   113        "description": "Unique identifier of an externally generated auction"
   114      }
   115    },
   116  
   117    "oneOf": [{
   118      "oneOf": [{
   119        "required": ["placementId"]
   120      }, {
   121        "required": ["placement_id"]
   122      }]
   123    }, {
   124      "oneOf": [{
   125        "required": ["invCode", "member"]
   126      }, {
   127        "required": ["inv_code", "member"]
   128      }]
   129    }],
   130  
   131    "not": {
   132      "required": ["placementId", "invCode", "member"]
   133    }
   134  }