github.com/prebid/prebid-server/v2@v2.18.0/adapters/xeworks/xeworkstest/exemplary/banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "id",
     4      "imp": [
     5        {
     6          "id": "1",
     7          "secure": 1,
     8          "bidfloor": 0.01,
     9          "bidfloorcur": "USD",
    10          "banner": {
    11            "w": 300,
    12            "h": 250,
    13            "pos": 0
    14          },
    15          "ext": {
    16            "bidder": {
    17              "env": "xe-stage",
    18              "pid": "533faf0754cd43ceab591077781b909b"
    19            }
    20          }
    21        },
    22        {
    23          "id": "2",
    24          "secure": 1,
    25          "bidfloor": 0.2,
    26          "bidfloorcur": "USD",
    27          "banner": {
    28            "w": 300,
    29            "h": 250,
    30            "pos": 4
    31          },
    32          "ext": {
    33            "bidder": {
    34              "env": "xe-stage",
    35              "pid": "533faf0754cd43ceab591077781b909b"
    36            }
    37          }
    38        }
    39      ],
    40      "device": {
    41        "ua": "UA",
    42        "ip": "123.3.4.123"
    43      },
    44      "regs": {
    45        "ext": {
    46          "gdpr": 0
    47        }
    48      },
    49      "user": {
    50        "id": "userid"
    51      },
    52      "site": {
    53        "id": "id",
    54        "domain": "test,com",
    55        "cat": ["IAB12"],
    56        "publisher": {
    57          "id": "pubid"
    58        }
    59      }
    60    },
    61    "httpCalls": [
    62      {
    63        "expectedRequest": {
    64          "uri": "http://prebid-srv.xe.works/?pid=533faf0754cd43ceab591077781b909b&host=xe-stage",
    65          "body": {
    66            "id": "id",
    67            "imp": [
    68              {
    69                "id": "1",
    70                "secure": 1,
    71                "bidfloor": 0.01,
    72                "bidfloorcur": "USD",
    73                "banner": {
    74                  "w": 300,
    75                  "h": 250,
    76                  "pos": 0
    77                },
    78                "ext": {
    79                  "bidder": {
    80                    "env": "xe-stage",
    81                    "pid": "533faf0754cd43ceab591077781b909b"
    82                  }
    83                }
    84              }
    85            ],
    86            "device": {
    87              "ua": "UA",
    88              "ip": "123.3.4.123"
    89            },
    90            "regs": {
    91              "ext": {
    92                "gdpr": 0
    93              }
    94            },
    95            "user": {
    96              "id": "userid"
    97            },
    98            "site": {
    99              "id": "id",
   100              "domain": "test,com",
   101              "cat": ["IAB12"],
   102              "publisher": {
   103                "id": "pubid"
   104              }
   105            }
   106          },
   107          "impIDs":["1"]
   108        },
   109        "mockResponse": {
   110          "status": 200,
   111          "body": {
   112            "id": "id",
   113            "seatbid": [
   114              {
   115                "bid": [
   116                  {
   117                    "id": "id",
   118                    "impid": "1",
   119                    "price": 1.2,
   120                    "nurl": "http://test.com/nurl",
   121                    "burl": "http://test.com/burl",
   122                    "adm": "<span>Test2</span>",
   123                    "adomain": ["test.com"],
   124                    "cat": ["IAB1"],
   125                    "cid": "cid",
   126                    "crid": "crid1",
   127                    "w": 300,
   128                    "h": 250,
   129                    "ext": {
   130                      "prebid": {
   131                        "type": "banner"
   132                      }
   133                    }
   134                  }
   135                ],
   136                "seat": "seat"
   137              }
   138            ],
   139            "cur": "USD"
   140          }
   141        }
   142      },
   143      {
   144        "expectedRequest": {
   145          "uri": "http://prebid-srv.xe.works/?pid=533faf0754cd43ceab591077781b909b&host=xe-stage",
   146          "body": {
   147            "id": "id",
   148            "imp": [
   149              {
   150                "id": "2",
   151                "secure": 1,
   152                "bidfloor": 0.2,
   153                "bidfloorcur": "USD",
   154                "banner": {
   155                  "w": 300,
   156                  "h": 250,
   157                  "pos": 4
   158                },
   159                "ext": {
   160                  "bidder": {
   161                    "env": "xe-stage",
   162                    "pid": "533faf0754cd43ceab591077781b909b"
   163                  }
   164                }
   165              }
   166            ],
   167            "device": {
   168              "ua": "UA",
   169              "ip": "123.3.4.123"
   170            },
   171            "regs": {
   172              "ext": {
   173                "gdpr": 0
   174              }
   175            },
   176            "user": {
   177              "id": "userid"
   178            },
   179            "site": {
   180              "id": "id",
   181              "domain": "test,com",
   182              "cat": ["IAB12"],
   183              "publisher": {
   184                "id": "pubid"
   185              }
   186            }
   187          },
   188          "impIDs":["2"]
   189        },
   190        "mockResponse": {
   191          "status": 200,
   192          "body": {
   193            "id": "id",
   194            "seatbid": [
   195              {
   196                "bid": [
   197                  {
   198                    "id": "id",
   199                    "impid": "2",
   200                    "price": 2.4,
   201                    "nurl": "http://test.com/nurl",
   202                    "burl": "http://test.com/burl",
   203                    "adm": "<span>Test3</span>",
   204                    "adomain": ["test.com"],
   205                    "cat": ["IAB1"],
   206                    "cid": "cid",
   207                    "crid": "crid",
   208                    "w": 300,
   209                    "h": 250,
   210                    "ext": {
   211                      "prebid": {
   212                        "type": "banner"
   213                      }
   214                    }
   215                  }
   216                ],
   217                "seat": "seat"
   218              }
   219            ],
   220            "cur": "USD"
   221          }
   222        }
   223      }
   224    ],
   225    "expectedBidResponses": [
   226      {
   227        "currency": "USD",
   228        "bids": [
   229          {
   230            "bid": {
   231              "id": "id",
   232              "impid": "1",
   233              "price": 1.2,
   234              "nurl": "http://test.com/nurl",
   235              "burl": "http://test.com/burl",
   236              "adm": "<span>Test2</span>",
   237              "adomain": ["test.com"],
   238              "cat": ["IAB1"],
   239              "cid": "cid",
   240              "crid": "crid1",
   241              "w": 300,
   242              "h": 250,
   243              "ext": {
   244                "prebid": {
   245                  "type": "banner"
   246                }
   247              }
   248            },
   249            "type": "banner"
   250          }
   251        ]
   252      },
   253      {
   254        "currency": "USD",
   255        "bids": [
   256          {
   257            "bid": {
   258              "id": "id",
   259              "impid": "2",
   260              "price": 2.4,
   261              "nurl": "http://test.com/nurl",
   262              "burl": "http://test.com/burl",
   263              "adm": "<span>Test3</span>",
   264              "adomain": ["test.com"],
   265              "cat": ["IAB1"],
   266              "cid": "cid",
   267              "crid": "crid",
   268              "w": 300,
   269              "h": 250,
   270              "ext": {
   271                "prebid": {
   272                  "type": "banner"
   273                }
   274              }
   275            },
   276            "type": "banner"
   277          }
   278        ]
   279      }
   280    ]
   281  }