github.com/prebid/prebid-server/v2@v2.18.0/adapters/adtrgtme/adtrgtmetest/exemplary/banner-app.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "super-req-id",
     4      "at": 1,
     5      "tmax": 300,
     6      "imp": [
     7        {
     8          "banner": {
     9            "w": 300,
    10            "h": 250
    11          },
    12          "id": "super-bid-id",
    13          "bidfloor": 1,
    14          "bidfloorcur": "USD",
    15          "secure": 1,
    16          "ext": {
    17            "bidder": {
    18              "site_id": 123456789
    19            }
    20          }
    21        },
    22        {
    23          "banner": {
    24            "w": 300,
    25            "h": 50
    26          },
    27          "id": "incredible-bid-id",
    28          "bidfloor": 1,
    29          "bidfloorcur": "USD",
    30          "secure": 1,
    31          "ext": {
    32            "bidder": {
    33              "site_id": 987654321
    34            }
    35          }
    36        },
    37        {
    38          "banner": {
    39            "w": 160,
    40            "h": 160
    41          },
    42          "id": "amazing-bid-id",
    43          "bidfloor": 1,
    44          "bidfloorcur": "USD",
    45          "secure": 1,
    46          "ext": {
    47            "bidder": {
    48              "site_id": 432198765
    49            }
    50          }
    51        }
    52      ],
    53      "app": {
    54        "publisher": {
    55          "id": "super-site-publisher-id"
    56        },
    57        "cat": [
    58          "super-cat"
    59        ],
    60        "bundle": "com.superapp.test",
    61        "name": "super App",
    62        "domain": "superapp.com",
    63        "id": "123456789"
    64      },
    65      "device": {
    66        "ua": "super-device-user-agent",
    67        "ip": "123.123.123.123",
    68        "geo": {
    69          "country": "TST"
    70        },
    71        "os": "Android",
    72        "language": "en"
    73      },
    74      "user": {
    75        "id": "super-user-id"
    76      }
    77    },
    78    "httpCalls": [
    79      {
    80        "expectedRequest": {
    81          "uri": "http://localhost/ssp?s=123456789&prebid",
    82          "headers": {
    83            "Content-Type": [
    84              "application/json;charset=utf-8"
    85            ],
    86            "Accept": [
    87              "application/json"
    88            ],
    89            "X-Openrtb-Version": [
    90              "2.5"
    91            ],
    92            "User-Agent": [
    93              "super-device-user-agent"
    94            ],
    95            "X-Forwarded-For": [
    96              "123.123.123.123"
    97            ]
    98          },
    99          "body": {
   100            "id": "super-req-id",
   101            "at": 1,
   102            "tmax": 300,
   103            "imp": [
   104              {
   105                "banner": {
   106                  "w": 300,
   107                  "h": 250
   108                },
   109                "id": "super-bid-id",
   110                "bidfloor": 1,
   111                "bidfloorcur": "USD",
   112                "secure": 1
   113              }
   114            ],
   115            "app": {
   116              "publisher": {
   117                "id": "super-site-publisher-id"
   118              },
   119              "cat": [
   120                "super-cat"
   121              ],
   122              "bundle": "com.superapp.test",
   123              "name": "super App",
   124              "domain": "superapp.com",
   125              "id": "123456789"
   126            },
   127            "device": {
   128              "ua": "super-device-user-agent",
   129              "ip": "123.123.123.123",
   130              "geo": {
   131                "country": "TST"
   132              },
   133              "os": "Android",
   134              "language": "en"
   135            },
   136            "user": {
   137              "id": "super-user-id"
   138            }
   139          },
   140          "impIDs":["super-bid-id"]
   141        },
   142        "mockResponse": {
   143          "status": 200,
   144          "body": {
   145            "id": "super-req-id",
   146            "seatbid": [
   147              {
   148                "bid": [
   149                  {
   150                    "id": "super-bid-id",
   151                    "impid": "super-bid-id",
   152                    "price": 1,
   153                    "adm": "<div>super</div>",
   154                    "crid": "super-creative-id"
   155                  }
   156                ]
   157              }
   158            ],
   159            "bidid": "super-seatbid-id",
   160            "cur": "USD"
   161          }
   162        }
   163      },
   164      {
   165        "expectedRequest": {
   166          "uri": "http://localhost/ssp?s=987654321&prebid",
   167          "headers": {
   168            "Content-Type": [
   169              "application/json;charset=utf-8"
   170            ],
   171            "Accept": [
   172              "application/json"
   173            ],
   174            "X-Openrtb-Version": [
   175              "2.5"
   176            ],
   177            "User-Agent": [
   178              "super-device-user-agent"
   179            ],
   180            "X-Forwarded-For": [
   181              "123.123.123.123"
   182            ]
   183          },
   184          "body": {
   185            "id": "super-req-id",
   186            "at": 1,
   187            "tmax": 300,
   188            "imp": [
   189              {
   190                "banner": {
   191                  "w": 300,
   192                  "h": 50
   193                },
   194                "id": "incredible-bid-id",
   195                "bidfloor": 1,
   196                "bidfloorcur": "USD",
   197                "secure": 1
   198              }
   199            ],
   200            "app": {
   201              "publisher": {
   202                "id": "super-site-publisher-id"
   203              },
   204              "cat": [
   205                "super-cat"
   206              ],
   207              "bundle": "com.superapp.test",
   208              "name": "super App",
   209              "domain": "superapp.com",
   210              "id": "123456789"
   211            },
   212            "device": {
   213              "ua": "super-device-user-agent",
   214              "ip": "123.123.123.123",
   215              "geo": {
   216                "country": "TST"
   217              },
   218              "os": "Android",
   219              "language": "en"
   220            },
   221            "user": {
   222              "id": "super-user-id"
   223            }
   224          },
   225          "impIDs":["incredible-bid-id"]
   226        },
   227        "mockResponse": {
   228          "status": 200,
   229          "body": {
   230            "id": "super-req-id",
   231            "seatbid": [
   232              {
   233                "bid": [
   234                  {
   235                    "id": "super-bid-id",
   236                    "impid": "incredible-bid-id",
   237                    "price": 1,
   238                    "adm": "<div>incredible</div>",
   239                    "crid": "incredible-creative-id"
   240                  }
   241                ]
   242              }
   243            ],
   244            "bidid": "incredible-seatbid-id",
   245            "cur": "USD"
   246          }
   247        }
   248      },
   249      {
   250        "expectedRequest": {
   251          "uri": "http://localhost/ssp?s=432198765&prebid",
   252          "headers": {
   253            "Content-Type": [
   254              "application/json;charset=utf-8"
   255            ],
   256            "Accept": [
   257              "application/json"
   258            ],
   259            "X-Openrtb-Version": [
   260              "2.5"
   261            ],
   262            "User-Agent": [
   263              "super-device-user-agent"
   264            ],
   265            "X-Forwarded-For": [
   266              "123.123.123.123"
   267            ]
   268          },
   269          "body": {
   270            "id": "super-req-id",
   271            "at": 1,
   272            "tmax": 300,
   273            "imp": [
   274              {
   275                "banner": {
   276                  "w": 160,
   277                  "h": 160
   278                },
   279                "id": "amazing-bid-id",
   280                "bidfloor": 1,
   281                "bidfloorcur": "USD",
   282                "secure": 1
   283              }
   284            ],
   285            "app": {
   286              "publisher": {
   287                "id": "super-site-publisher-id"
   288              },
   289              "cat": [
   290                "super-cat"
   291              ],
   292              "bundle": "com.superapp.test",
   293              "name": "super App",
   294              "domain": "superapp.com",
   295              "id": "123456789"
   296            },
   297            "device": {
   298              "ua": "super-device-user-agent",
   299              "ip": "123.123.123.123",
   300              "geo": {
   301                "country": "TST"
   302              },
   303              "os": "Android",
   304              "language": "en"
   305            },
   306            "user": {
   307              "id": "super-user-id"
   308            }
   309          },
   310          "impIDs":["amazing-bid-id"]
   311        },
   312        "mockResponse": {
   313          "status": 200,
   314          "body": {
   315            "id": "super-req-id",
   316            "seatbid": [
   317              {
   318                "bid": [
   319                  {
   320                    "id": "super-bid-id",
   321                    "impid": "amazing-bid-id",
   322                    "price": 1,
   323                    "adm": "<div>amazing</div>",
   324                    "crid": "amazing-creative-id"
   325                  }
   326                ]
   327              }
   328            ],
   329            "bidid": "amazing-seatbid-id",
   330            "cur": "USD"
   331          }
   332        }
   333      }
   334    ],
   335    "expectedBidResponses": [
   336      {
   337        "currency": "USD",
   338        "bids": [
   339          {
   340            "bid": {
   341              "id": "super-bid-id",
   342              "impid": "super-bid-id",
   343              "price": 1,
   344              "adm": "<div>super</div>",
   345              "crid": "super-creative-id"
   346            },
   347            "type": "banner"
   348          }
   349        ]
   350      },
   351      {
   352        "currency": "USD",
   353        "bids": [
   354          {
   355            "bid": {
   356              "id": "super-bid-id",
   357              "impid": "incredible-bid-id",
   358              "price": 1,
   359              "adm": "<div>incredible</div>",
   360              "crid": "incredible-creative-id"
   361            },
   362            "type": "banner"
   363          }
   364        ]
   365      },
   366      {
   367        "currency": "USD",
   368        "bids": [
   369          {
   370            "bid": {
   371              "id": "super-bid-id",
   372              "impid": "amazing-bid-id",
   373              "price": 1,
   374              "adm": "<div>amazing</div>",
   375              "crid": "amazing-creative-id"
   376            },
   377            "type": "banner"
   378          }
   379        ]
   380      }
   381    ]
   382  }