github.com/prebid/prebid-server/v2@v2.18.0/adapters/iqx/iqzonextest/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": "iqzonex-stage",
    18              "pid": "3163e2c9e034770c0daaa98c7613b573"
    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": "iqzonex-stage",
    35              "pid": "3163e2c9e034770c0daaa98c7613b573"
    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://rtb.iqzone.com/?pid=3163e2c9e034770c0daaa98c7613b573&host=iqzonex-stage&pbs=1",
    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": "iqzonex-stage",
    81                    "pid": "3163e2c9e034770c0daaa98c7613b573"
    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                    "mtype": 1,
   130                    "ext": {
   131                      "prebid": {
   132                        "type": "banner"
   133                      }
   134                    }
   135                  }
   136                ],
   137                "seat": "seat"
   138              }
   139            ],
   140            "cur": "USD"
   141          }
   142        }
   143      },
   144      {
   145        "expectedRequest": {
   146          "uri": "http://rtb.iqzone.com/?pid=3163e2c9e034770c0daaa98c7613b573&host=iqzonex-stage&pbs=1",
   147          "body": {
   148            "id": "id",
   149            "imp": [
   150              {
   151                "id": "2",
   152                "secure": 1,
   153                "bidfloor": 0.2,
   154                "bidfloorcur": "USD",
   155                "banner": {
   156                  "w": 300,
   157                  "h": 250,
   158                  "pos": 4
   159                },
   160                "ext": {
   161                  "bidder": {
   162                    "env": "iqzonex-stage",
   163                    "pid": "3163e2c9e034770c0daaa98c7613b573"
   164                  }
   165                }
   166              }
   167            ],
   168            "device": {
   169              "ua": "UA",
   170              "ip": "123.3.4.123"
   171            },
   172            "regs": {
   173              "ext": {
   174                "gdpr": 0
   175              }
   176            },
   177            "user": {
   178              "id": "userid"
   179            },
   180            "site": {
   181              "id": "id",
   182              "domain": "test,com",
   183              "cat": ["IAB12"],
   184              "publisher": {
   185                "id": "pubid"
   186              }
   187            }
   188          },
   189          "impIDs":["2"]
   190        },
   191        "mockResponse": {
   192          "status": 200,
   193          "body": {
   194            "id": "id",
   195            "seatbid": [
   196              {
   197                "bid": [
   198                  {
   199                    "id": "id",
   200                    "impid": "2",
   201                    "price": 2.4,
   202                    "nurl": "http://test.com/nurl",
   203                    "burl": "http://test.com/burl",
   204                    "adm": "<span>Test3</span>",
   205                    "adomain": ["test.com"],
   206                    "cat": ["IAB1"],
   207                    "cid": "cid",
   208                    "crid": "crid",
   209                    "w": 300,
   210                    "h": 250,
   211                    "mtype": 1,
   212                    "ext": {
   213                      "prebid": {
   214                        "type": "banner"
   215                      }
   216                    }
   217                  }
   218                ],
   219                "seat": "seat"
   220              }
   221            ],
   222            "cur": "USD"
   223          }
   224        }
   225      }
   226    ],
   227    "expectedBidResponses": [
   228      {
   229        "currency": "USD",
   230        "bids": [
   231          {
   232            "bid": {
   233              "id": "id",
   234              "impid": "1",
   235              "price": 1.2,
   236              "nurl": "http://test.com/nurl",
   237              "burl": "http://test.com/burl",
   238              "adm": "<span>Test2</span>",
   239              "adomain": ["test.com"],
   240              "cat": ["IAB1"],
   241              "cid": "cid",
   242              "crid": "crid1",
   243              "w": 300,
   244              "h": 250,
   245              "mtype": 1,
   246              "ext": {
   247                "prebid": {
   248                  "type": "banner"
   249                }
   250              }
   251            },
   252            "type": "banner"
   253          }
   254        ]
   255      },
   256      {
   257        "currency": "USD",
   258        "bids": [
   259          {
   260            "bid": {
   261              "id": "id",
   262              "impid": "2",
   263              "price": 2.4,
   264              "nurl": "http://test.com/nurl",
   265              "burl": "http://test.com/burl",
   266              "adm": "<span>Test3</span>",
   267              "adomain": ["test.com"],
   268              "cat": ["IAB1"],
   269              "cid": "cid",
   270              "crid": "crid",
   271              "w": 300,
   272              "h": 250,
   273              "mtype": 1,
   274              "ext": {
   275                "prebid": {
   276                  "type": "banner"
   277                }
   278              }
   279            },
   280            "type": "banner"
   281          }
   282        ]
   283      }
   284    ]
   285  }