github.com/prebid/prebid-server@v0.275.0/adapters/dianomi/dianomitest/exemplary/single-banner-pricetype-gross-extend-ext.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "ext":{
     5        "prebid":{
     6          "aliases":{
     7            "dianomialias": "dia"
     8          }
     9        }
    10      },
    11      "imp": [{
    12        "id": "test-imp-id",
    13        "ext": {
    14          "bidder": {
    15            "smartadId": "9526",
    16            "priceType": "gross"
    17          }
    18        },
    19        "banner": {
    20          "format": [{
    21            "w": 300,
    22            "h": 250
    23          }]
    24        }
    25      }],
    26      "site": {
    27        "publisher": {
    28          "id": "1"
    29        },
    30        "page": "some-page-url"
    31      },
    32      "device": {
    33        "w": 1920,
    34        "h": 800
    35      }
    36    },
    37    "httpCalls": [{
    38      "expectedRequest": {
    39        "uri": "https://prebid-server-aws.dianomi.com/openrtb2/auction",
    40        "headers": {
    41          "Content-Type": [
    42            "application/json;charset=utf-8"
    43          ],
    44          "Accept": [
    45            "application/json"
    46          ]
    47        },
    48        "body": {
    49          "id": "test-request-id",
    50          "ext": {
    51            "prebid":{
    52              "aliases":{
    53                "dianomialias": "dia"
    54              }
    55            },
    56            "pt": "gross"
    57          },
    58          "imp": [{
    59            "id": "test-imp-id",
    60            "ext": {
    61              "bidder": {
    62                "smartadId": "9526",
    63                "priceType": "gross"
    64              }
    65            },
    66            "banner": {
    67              "format": [{
    68                "w": 300,
    69                "h": 250
    70              }]
    71            },
    72            "tagid": "9526"
    73          }],
    74          "site": {
    75            "publisher": {
    76              "id": "1"
    77            },
    78            "page": "some-page-url"
    79          },
    80          "device": {
    81            "w": 1920,
    82            "h": 800
    83          }
    84        }
    85      },
    86      "mockResponse": {
    87        "status": 200,
    88        "body": {
    89          "id": "test-request-id",
    90          "seatbid": [{
    91            "bid": [{
    92              "id": "test-bid-id",
    93              "impid": "test-imp-id",
    94              "price": 10,
    95              "adm": "{banner html}",
    96              "adomain": [ "test.com" ],
    97              "crid": "test-creative-id",
    98              "ext": {
    99                "prebid": {
   100                  "type": "banner"
   101                }
   102              }
   103            }]
   104          }],
   105          "cur": "USD"
   106        }
   107      }
   108    }],
   109    "expectedBidResponses": [{
   110      "currency": "USD",
   111      "bids": [
   112        {
   113          "bid": {
   114            "id": "test-bid-id",
   115            "impid": "test-imp-id",
   116            "price": 10,
   117            "adm": "{banner html}",
   118            "crid": "test-creative-id",
   119             "adomain": [ "test.com" ],
   120            "ext": {
   121              "prebid": {
   122                "type": "banner"
   123              }
   124            }
   125          },
   126          "type": "banner"
   127        }
   128      ]
   129    }]
   130  }