github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/adservertargeting/all-warnings.json (about)

     1  {
     2    "description": "This demonstrates all of the OpenRTB extensions supported by Prebid Server. Very few requests will need all of these at once.",
     3    "config": {
     4      "mockBidders": [
     5        {
     6          "bidderName": "appnexus",
     7          "currency": "USD",
     8          "price": 1.00
     9        },
    10        {
    11          "bidderName": "rubicon",
    12          "currency": "USD",
    13          "price": 1.00
    14        }
    15      ]
    16    },
    17    "mockBidRequest": {
    18      "id": "some-request-id",
    19      "site": {
    20        "page": "prebid.org",
    21        "content": {
    22          "episode": 6,
    23          "title": "episodeName",
    24          "series": "TvName",
    25          "season": "season3",
    26          "len": 900
    27        }
    28      },
    29      "user": {
    30        "ext": {
    31          "consent": "gdpr-consent-string",
    32          "prebid": {
    33            "buyeruids": {
    34              "appnexus": "override-appnexus-id-in-cookie"
    35            }
    36          }
    37        }
    38      },
    39      "regs": {
    40        "ext": {
    41          "gdpr": 1,
    42          "us_privacy": "1NYN"
    43        }
    44      },
    45      "imp": [
    46        {
    47          "id": "some-impression-id",
    48          "video": {
    49            "mimes": [
    50              "video/mp4"
    51            ],
    52            "maxduration": 30,
    53            "protocols": [
    54              2,
    55              3
    56            ],
    57            "w": 640,
    58            "h": 480
    59          },
    60          "ext": {
    61            "appnexus": {
    62              "placementId": 12883452
    63            },
    64            "rubicon": {
    65              "accountId": 1001,
    66              "siteId": 113932,
    67              "zoneId": 535510
    68            }
    69          }
    70        }
    71      ],
    72      "tmax": 500,
    73      "ext": {
    74        "prebid": {
    75          "aliases": {
    76            "districtm": "appnexus"
    77          },
    78          "bidadjustmentfactors": {
    79            "appnexus": 1.01,
    80            "districtm": 0.98,
    81            "rubicon": 0.99
    82          },
    83          "cache": {
    84            "bids": {}
    85          },
    86          "channel": {
    87            "name": "video",
    88            "version": "1.0"
    89          },
    90          "adservertargeting": [
    91            {
    92              "key": "adt_hb_req_imp_maxduration",
    93              "source": "bidrequest",
    94              "value": "imp.video.mimes"
    95            },
    96            {
    97              "key": "adt_hb_req_imp_w",
    98              "source": "bidrequest",
    99              "value": "imp.video"
   100            },
   101            {
   102              "key": "adt_hb_req_site_contest_param",
   103              "source": "bidrequest",
   104              "value": "site.content"
   105            },
   106            {
   107              "key": "adt_{{BIDDER}}_impid",
   108              "source": "bidresponse",
   109              "value": "seatbid.bid.ext.key"
   110            },
   111            {
   112              "key": "adt_custom2",
   113              "source": "bidresponse",
   114              "value": "seatbid.bid.key"
   115            }
   116          ]
   117        }
   118      }
   119    },
   120    "expectedBidResponse": {
   121      "id": "some-request-id",
   122      "seatbid": [
   123        {
   124          "bid": [
   125            {
   126              "id": "appnexus-bid",
   127              "impid": "some-impression-id",
   128              "price": 1.01,
   129              "ext": {
   130                "origbidcpm": 1,
   131                "origbidcur": "USD",
   132                "prebid": {
   133                  "meta": {
   134                    "adaptercode": "appnexus"
   135                  },
   136                  "type": "banner"
   137                }
   138              }
   139            }
   140          ],
   141          "seat": "appnexus"
   142        },
   143        {
   144          "bid": [
   145            {
   146              "id": "rubicon-bid",
   147              "impid": "some-impression-id",
   148              "price": 0.99,
   149              "ext": {
   150                "origbidcpm": 1,
   151                "origbidcur": "USD",
   152                "prebid": {
   153                  "meta": {
   154                    "adaptercode": "rubicon"
   155                  },
   156                  "type": "banner"
   157                }
   158              }
   159            }
   160          ],
   161          "seat": "rubicon"
   162        }
   163      ],
   164      "bidid": "test bid id",
   165      "cur": "USD",
   166      "nbr": 0,
   167      "ext": {
   168        "warnings": {
   169          "general": [
   170            {
   171              "code": 10002,
   172              "message": "debug turned off for account"
   173            },
   174            {
   175              "code": 10007,
   176              "message": "incorrect value type for path: imp.video.mimes, value can only be string or number"
   177            },
   178            {
   179              "code": 10007,
   180              "message": "incorrect value type for path: imp.video, value can only be string or number"
   181            },
   182            {
   183              "code": 10007,
   184              "message": "incorrect value type for path: site.content, value can only be string or number"
   185            },
   186            {
   187              "code": 10007,
   188              "message": "value not found for path: ext.key for bidder"
   189            },
   190            {
   191              "code": 10007,
   192              "message": "value not found for path: key for bidder"
   193            },
   194            {
   195              "code": 10007,
   196              "message": "value not found for path: ext.key for bidder"
   197            },
   198            {
   199              "code": 10007,
   200              "message": "value not found for path: key for bidder"
   201            }
   202          ]
   203        }
   204      }
   205    },
   206    "expectedReturnCode": 200
   207  }