github.com/prebid/prebid-server@v0.275.0/adapters/sharethrough/sharethroughtest/supplemental/multiformat-impression.json (about)

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