github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/adservertargeting/all-valid.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.maxduration"
    95            },
    96            {
    97              "key": "adt_hb_req_imp_w",
    98              "source": "bidrequest",
    99              "value": "imp.video.w"
   100            },
   101            {
   102              "key": "adt_hb_req_imp_h",
   103              "source": "bidrequest",
   104              "value": "imp.video.h"
   105            },
   106            {
   107              "key": "adt_hb_req_site_contest_param",
   108              "source": "bidrequest",
   109              "value": "site.content.season"
   110            },
   111            {
   112              "key": "adt_hb_static_thing",
   113              "source": "static",
   114              "value": "test-static-value"
   115            },
   116            {
   117              "key": "adt_{{BIDDER}}_impid",
   118              "source": "bidresponse",
   119              "value": "seatbid.bid.impid"
   120            },
   121            {
   122              "key": "adt_custom2",
   123              "source": "bidresponse",
   124              "value": "seatbid.bid.price"
   125            }
   126          ]
   127        }
   128      }
   129    },
   130    "expectedBidResponse": {
   131      "id": "some-request-id",
   132      "seatbid": [
   133        {
   134          "bid": [
   135            {
   136              "id": "appnexus-bid",
   137              "impid": "some-impression-id",
   138              "price": 1.01,
   139              "ext": {
   140                "origbidcpm": 1,
   141                "origbidcur": "USD",
   142                "prebid": {
   143                  "meta": {
   144                    "adaptercode": "appnexus"
   145                  },
   146                  "targeting": {
   147                    "adt_appnexus_impid": "some-impression-id",
   148                    "adt_custom2": "1.01",
   149                    "adt_hb_req_imp_h": "480",
   150                    "adt_hb_req_imp_maxdu": "30",
   151                    "adt_hb_req_imp_w": "640",
   152                    "adt_hb_req_site_cont": "season3",
   153                    "adt_hb_static_thing": "test-static-value"
   154                  },
   155                  "type": "banner"
   156                }
   157              }
   158            }
   159          ],
   160          "seat": "appnexus"
   161        },
   162        {
   163          "bid": [
   164            {
   165              "id": "rubicon-bid",
   166              "impid": "some-impression-id",
   167              "price": 0.99,
   168              "ext": {
   169                "origbidcpm": 1,
   170                "origbidcur": "USD",
   171                "prebid": {
   172                  "meta": {
   173                    "adaptercode": "rubicon"
   174                  },
   175                  "targeting": {
   176                    "adt_custom2": "0.99",
   177                    "adt_hb_req_imp_h": "480",
   178                    "adt_hb_req_imp_maxdu": "30",
   179                    "adt_hb_req_imp_w": "640",
   180                    "adt_hb_req_site_cont": "season3",
   181                    "adt_hb_static_thing": "test-static-value",
   182                    "adt_rubicon_impid": "some-impression-id"
   183                  },
   184                  "type": "banner"
   185                }
   186              }
   187            }
   188          ],
   189          "seat": "rubicon"
   190        }
   191      ],
   192      "bidid": "test bid id",
   193      "cur": "USD",
   194      "nbr": 0
   195    },
   196    "expectedReturnCode": 200
   197  }