github.com/prebid/prebid-server/v2@v2.18.0/adapters/taboola/taboolatest/exemplary/multiFormatImpressionsRequest.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "request-id",
     4      "imp": [
     5        {
     6          "id": "native-impression-id",
     7          "native": {
     8            "request": "\"{\\\"ver\\\":\\\"1.1\\\",\\\"plcmttype\\\": 4,\\\"plcmtcnt\\\": 1,\\\"assets\\\":[{\\\"id\\\": 1,\\\"required\\\": 1,\\\"title\\\":{\\\"len\\\": 140}},{\\\"id\\\": 4,\\\"required\\\": 1,\\\"img\\\":{\\\"type\\\": 3,\\\"wmin\\\": 600,\\\"hmin\\\": 315}},{\\\"id\\\": 2,\\\"required\\\": 0,\\\"img\\\":{\\\"type\\\": 1,\\\"wmin\\\": 320,\\\"hmin\\\": 180}},{\\\"id\\\": 6,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 2,\\\"len\\\": 205}},{\\\"id\\\": 5,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 1,\\\"len\\\": 140}}]}}\"",
     9            "ver": "1.1"
    10          },
    11          "ext": {
    12            "bidder": {
    13              "publisherId": "publisher-id",
    14              "tagid": "tag-id"
    15            }
    16          }
    17        },
    18        {
    19          "id": "banner-impression-id",
    20          "banner": {
    21            "format": [
    22              {
    23                "w": 300,
    24                "h": 250
    25              },
    26              {
    27                "w": 300,
    28                "h": 600
    29              },
    30              {
    31                "w": 160,
    32                "h": 600
    33              }
    34            ]
    35          },
    36          "ext": {
    37            "bidder": {
    38              "publisherId": "publisher-id",
    39              "tagid": "tag-id"
    40            }
    41          }
    42        },
    43        {
    44          "id": "banner-impression-id-2",
    45          "banner": {
    46            "format": [
    47              {
    48                "w": 300,
    49                "h": 250
    50              },
    51              {
    52                "w": 300,
    53                "h": 600
    54              },
    55              {
    56                "w": 160,
    57                "h": 600
    58              }
    59            ]
    60          },
    61          "ext": {
    62            "bidder": {
    63              "publisherId": "publisher-id",
    64              "tagid": "tag-id-2"
    65            }
    66          }
    67        }
    68      ],
    69      "site": {
    70        "domain": "http://domain.com",
    71        "page": "http://page-domain.com",
    72        "ref": "http://page-domain.com"
    73      },
    74      "device": {
    75        "ua": "Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36",
    76        "h": 300,
    77        "w": 300
    78      }
    79    },
    80    "httpCalls": [
    81      {
    82        "expectedRequest": {
    83          "uri": "http://native.whatever.com/12/publisher-id",
    84          "body": {
    85            "id": "request-id",
    86            "imp": [
    87              {
    88                "id": "native-impression-id",
    89                "native": {
    90                  "request": "\"{\\\"ver\\\":\\\"1.1\\\",\\\"plcmttype\\\": 4,\\\"plcmtcnt\\\": 1,\\\"assets\\\":[{\\\"id\\\": 1,\\\"required\\\": 1,\\\"title\\\":{\\\"len\\\": 140}},{\\\"id\\\": 4,\\\"required\\\": 1,\\\"img\\\":{\\\"type\\\": 3,\\\"wmin\\\": 600,\\\"hmin\\\": 315}},{\\\"id\\\": 2,\\\"required\\\": 0,\\\"img\\\":{\\\"type\\\": 1,\\\"wmin\\\": 320,\\\"hmin\\\": 180}},{\\\"id\\\": 6,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 2,\\\"len\\\": 205}},{\\\"id\\\": 5,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 1,\\\"len\\\": 140}}]}}\"",
    91                  "ver": "1.1"
    92                },
    93                "tagid": "tag-id",
    94                "ext": {
    95                  "bidder": {
    96                    "publisherId": "publisher-id",
    97                    "tagid": "tag-id"
    98                  }
    99                }
   100              }
   101            ],
   102            "site": {
   103              "id": "publisher-id",
   104              "name": "publisher-id",
   105              "domain": "http://domain.com",
   106              "page": "http://page-domain.com",
   107              "ref": "http://page-domain.com",
   108              "publisher": {
   109                "id": "publisher-id"
   110              }
   111            },
   112            "device": {
   113              "ua": "Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36",
   114              "h": 300,
   115              "w": 300
   116            }
   117          },
   118          "impIDs":["native-impression-id"]
   119        },
   120        "mockResponse": {
   121          "status": 200,
   122          "body": {
   123            "id": "123",
   124            "seatbid": [
   125              {
   126                "bid": [
   127                  {
   128                    "id": "native-request-id",
   129                    "impid": "native-impression-id",
   130                    "price": 2.1,
   131                    "adid": "1",
   132                    "adm": "{}",
   133                    "adomain": [
   134                      "adomain.com"
   135                    ],
   136                    "cid": "cid",
   137                    "crid": "crid",
   138                    "w": 300,
   139                    "h": 250,
   140                    "exp": 60,
   141                    "lurl": "https://lurl.domain.com/"
   142                  }
   143                ],
   144                "seat": "1111"
   145              }
   146            ],
   147            "bidid": "123",
   148            "cur": "USD"
   149          }
   150        }
   151      },
   152      {
   153        "expectedRequest": {
   154          "uri": "http://display.whatever.com/12/publisher-id",
   155          "body": {
   156            "id": "request-id",
   157            "imp": [
   158              {
   159                "id": "banner-impression-id",
   160                "banner": {
   161                  "format": [
   162                    {
   163                      "w": 300,
   164                      "h": 250
   165                    },
   166                    {
   167                      "w": 300,
   168                      "h": 600
   169                    },
   170                    {
   171                      "w": 160,
   172                      "h": 600
   173                    }
   174                  ]
   175                },
   176                "tagid" : "tag-id",
   177                "ext": {
   178                  "bidder": {
   179                    "publisherId": "publisher-id",
   180                    "tagid": "tag-id"
   181                  }
   182                }
   183              },
   184              {
   185                "id": "banner-impression-id-2",
   186                "banner": {
   187                  "format": [
   188                    {
   189                      "w": 300,
   190                      "h": 250
   191                    },
   192                    {
   193                      "w": 300,
   194                      "h": 600
   195                    },
   196                    {
   197                      "w": 160,
   198                      "h": 600
   199                    }
   200                  ]
   201                },
   202                "tagid" : "tag-id-2",
   203                "ext": {
   204                  "bidder": {
   205                    "publisherId": "publisher-id",
   206                    "tagid": "tag-id-2"
   207                  }
   208                }
   209              }
   210            ],
   211            "site": {
   212              "id": "publisher-id",
   213              "name": "publisher-id",
   214              "domain": "http://domain.com",
   215              "page": "http://page-domain.com",
   216              "ref": "http://page-domain.com",
   217              "publisher": {
   218                "id": "publisher-id"
   219              }
   220            },
   221            "device": {
   222              "ua": "Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36",
   223              "h": 300,
   224              "w": 300
   225            }
   226          },
   227          "impIDs":["banner-impression-id","banner-impression-id-2"]
   228        },
   229        "mockResponse": {
   230          "status": 200,
   231          "body": {
   232            "id": "1234",
   233            "seatbid": [
   234              {
   235                "bid": [
   236                  {
   237                    "id": "banner-request-id",
   238                    "impid": "banner-impression-id",
   239                    "price": 3.5,
   240                    "adid": "1",
   241                    "adm": "<hrml></html>",
   242                    "adomain": [
   243                      "adomain.com"
   244                    ],
   245                    "cid": "cid",
   246                    "crid": "crid",
   247                    "w": 300,
   248                    "h": 250,
   249                    "exp": 60,
   250                    "lurl": "https://lurl.domain.com/"
   251                  },
   252                  {
   253                    "id": "banner-request-id-2",
   254                    "impid": "banner-impression-id-2",
   255                    "price": 4.2,
   256                    "adid": "1",
   257                    "adm": "<hrml></html>",
   258                    "adomain": [
   259                      "adomain.com"
   260                    ],
   261                    "cid": "cid",
   262                    "crid": "crid",
   263                    "w": 300,
   264                    "h": 250,
   265                    "exp": 60,
   266                    "lurl": "https://lurl.domain.com/"
   267                  }
   268                ],
   269                "seat": "1111"
   270              }
   271            ],
   272            "bidid": "123",
   273            "cur": "USD"
   274          }
   275        }
   276      }
   277    ],
   278    "expectedBidResponses": [
   279      {
   280        "currency": "USD",
   281        "bids": [
   282          {
   283            "bid": {
   284              "id": "native-request-id",
   285              "impid": "native-impression-id",
   286              "price": 2.1,
   287              "adid": "1",
   288              "adm": "{}",
   289              "adomain": [
   290                "adomain.com"
   291              ],
   292              "cid": "cid",
   293              "crid": "crid",
   294              "w": 300,
   295              "h": 250,
   296              "exp": 60,
   297              "lurl": "https://lurl.domain.com/"
   298            },
   299            "type": "native"
   300          }
   301        ]
   302      },
   303      {
   304        "currency": "USD",
   305        "bids": [
   306          {
   307            "bid": {
   308              "id": "banner-request-id",
   309              "impid": "banner-impression-id",
   310              "price": 3.5,
   311              "adid": "1",
   312              "adm": "<hrml></html>",
   313              "adomain": [
   314                "adomain.com"
   315              ],
   316              "cid": "cid",
   317              "crid": "crid",
   318              "w": 300,
   319              "h": 250,
   320              "exp": 60,
   321              "lurl": "https://lurl.domain.com/"
   322            },
   323            "type": "banner"
   324          },
   325          {
   326            "bid": {
   327              "id": "banner-request-id-2",
   328              "impid": "banner-impression-id-2",
   329              "price": 4.2,
   330              "adid": "1",
   331              "adm": "<hrml></html>",
   332              "adomain": [
   333                "adomain.com"
   334              ],
   335              "cid": "cid",
   336              "crid": "crid",
   337              "w": 300,
   338              "h": 250,
   339              "exp": 60,
   340              "lurl": "https://lurl.domain.com/"
   341            },
   342            "type": "banner"
   343          }
   344        ]
   345      }
   346    ]
   347  }