github.com/prebid/prebid-server@v0.275.0/adapters/outbrain/outbraintest/supplemental/optional_params.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ]
    14          },
    15          "tagid": "should-be-overwritten-tagid",
    16          "ext": {
    17            "bidder": {
    18              "publisher": {
    19                "id": "publisher-id",
    20                "name": "publisher-name",
    21                "domain": "publisher-domain.com"
    22              },
    23              "tagid": "tag-id",
    24              "bcat": ["bad-category"],
    25              "badv": ["bad-advertiser"]
    26            }
    27          }
    28        }
    29      ],
    30      "bcat": ["should-be-overwritten-bcat"],
    31      "badv": ["should-be-overwritten-badv"],
    32      "site": {
    33        "page": "http://example.com"
    34      },
    35      "device": {
    36        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
    37        "h": 500,
    38        "w": 1000
    39      }
    40    },
    41    "httpCalls": [
    42      {
    43        "expectedRequest": {
    44          "uri": "http://example.com/bid",
    45          "body": {
    46            "id": "test-request-id",
    47            "imp": [
    48              {
    49                "id": "test-imp-id",
    50                "banner": {
    51                  "format": [
    52                    {
    53                      "w": 300,
    54                      "h": 250
    55                    }
    56                  ]
    57                },
    58                "tagid": "tag-id",
    59                "ext": {
    60                  "bidder": {
    61                    "publisher": {
    62                      "id": "publisher-id",
    63                      "name": "publisher-name",
    64                      "domain": "publisher-domain.com"
    65                    },
    66                    "tagid": "tag-id",
    67                    "bcat": ["bad-category"],
    68                    "badv": ["bad-advertiser"]
    69                  }
    70                }
    71              }
    72            ],
    73            "bcat": ["bad-category"],
    74            "badv": ["bad-advertiser"],
    75            "site": {
    76              "page": "http://example.com",
    77              "publisher": {
    78                "id": "publisher-id",
    79                "name": "publisher-name",
    80                "domain": "publisher-domain.com"
    81              }
    82            },
    83            "device": {
    84              "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
    85              "h": 500,
    86              "w": 1000
    87            }
    88          }
    89        },
    90        "mockResponse": {
    91          "status": 200,
    92          "body": {
    93            "id": "5095a742-1c27-402b-ab6f-66b1bd53383b",
    94            "seatbid": [
    95              {
    96                "bid": [
    97                  {
    98                    "id": "test-request-id",
    99                    "impid": "test-imp-id",
   100                    "price": 1000,
   101                    "nurl": "http://example.com/win/1000",
   102                    "adm": "<div>ad</div>",
   103                    "adomain": [
   104                      "example.com"
   105                    ],
   106                    "cid": "test-cid",
   107                    "crid": "test-crid",
   108                    "cat": [
   109                      "IAB13-4"
   110                    ],
   111                    "w": 300,
   112                    "h": 250
   113                  }
   114                ],
   115                "seat": "acc-1876"
   116              }
   117            ],
   118            "bidid": "43ccadf2-8b2e-11eb-b294-de4c49e99ff6",
   119            "cur": "USD"
   120          }
   121        }
   122      }
   123    ],
   124    "expectedBidResponses": [
   125      {
   126        "currency": "USD",
   127        "bids": [
   128          {
   129            "bid": {
   130              "id": "test-request-id",
   131              "impid": "test-imp-id",
   132              "price": 1000,
   133              "nurl": "http://example.com/win/1000",
   134              "adm": "<div>ad</div>",
   135              "adomain": [
   136                "example.com"
   137              ],
   138              "cid": "test-cid",
   139              "crid": "test-crid",
   140              "cat": [
   141                "IAB13-4"
   142              ],
   143              "w": 300,
   144              "h": 250
   145            },
   146            "type": "banner"
   147          }
   148        ]
   149      }
   150    ]
   151  }