github.com/prebid/prebid-server/v2@v2.18.0/adapters/sovrn/sovrntest/supplemental/adunitcode.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "tagid": "123456",
    22              "adunitcode": "sovrn_auc"
    23            }
    24          }
    25        }
    26      ],
    27      "device": { },
    28      "site": {
    29        "domain": "www.publisher.com",
    30        "page": "http://www.publisher.com/awesome/site"
    31      },
    32      "user": {
    33        "buyeruid": "test_reader_id"
    34      }
    35    },
    36  
    37    "httpCalls": [
    38      {
    39        "expectedRequest": {
    40          "headers": {
    41            "Content-Type": ["application/json"],
    42            "Cookie": ["ljt_reader=test_reader_id"]
    43          },
    44          "uri": "http://sovrn.com/test/endpoint",
    45          "body": {
    46            "id": "test-request-id",
    47            "imp": [
    48              {
    49                "id": "test-imp-id",
    50                "banner": {
    51                  "format": [
    52                    {
    53                      "w": 300,
    54                      "h": 250
    55                    },
    56                    {
    57                      "w": 300,
    58                      "h": 600
    59                    }
    60                  ]
    61                },
    62                "tagid": "123456",
    63                "ext": {
    64                  "adunitcode": "sovrn_auc",
    65                  "bidder": {
    66                    "tagid": "123456",
    67                    "adunitcode": "sovrn_auc"
    68                  }
    69                }
    70              }
    71            ],
    72            "site": {
    73              "domain": "www.publisher.com",
    74              "page": "http://www.publisher.com/awesome/site"
    75            },
    76            "user": {
    77              "buyeruid": "test_reader_id"
    78            },
    79            "device": { }
    80          },
    81          "impIDs":["test-imp-id"]
    82        },
    83        "mockResponse": {
    84          "status": 200,
    85          "body": {
    86            "id": "test-request-id",
    87            "seatbid": [
    88              {
    89                "bid": [
    90                  {
    91                    "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
    92                    "impid": "test-imp-id",
    93                    "price": 3.5,
    94                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
    95                    "adm": "some-test-ad",
    96                    "w": 300,
    97                    "h": 250
    98                  }
    99                ]
   100              }
   101            ]
   102          }
   103        }
   104      }
   105    ],
   106  
   107    "expectedBidResponses": [
   108      {
   109        "currency": "USD",
   110        "bids": [
   111          {
   112            "bid": {
   113              "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   114              "impid": "test-imp-id",
   115              "price": 3.5,
   116              "adm": "some-test-ad",
   117              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   118              "w": 300,
   119              "h": 250
   120            },
   121            "type": "banner"
   122          }
   123        ]
   124      }
   125    ]
   126  }