github.com/prebid/prebid-server/v2@v2.18.0/adapters/definemedia/definemediatest/exemplary/sample-conative-native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "imp": [
     4        {
     5          "ext": {
     6            "tid": "397962d3-47a1-4634-9cb7-78597b01d9a9",
     7            "prebid": {
     8              "bidder": {
     9                "definemedia": {
    10                  "mandantId": 12
    11                }
    12              }
    13            }
    14          },
    15          "id": "div-gpt-ad-1460505748561-0",
    16          "native": {}
    17        }
    18      ],
    19      "site": {
    20        "page": "http://localhost:8080/prebidServer_example.html?pbjs_debug=true",
    21        "domain": "localhost:8080",
    22        "publisher": {
    23          "domain": "localhost:8080",
    24          "id": "1"
    25        }
    26      },
    27      "device": {
    28        "w": 1098,
    29        "h": 1169,
    30        "dnt": 0,
    31        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    32        "language": "de",
    33        "sua": {
    34          "source": 2,
    35          "platform": {
    36            "brand": "macOS",
    37            "version": [
    38              "12",
    39              "3",
    40              "1"
    41            ]
    42          },
    43          "browsers": [
    44            {
    45              "brand": "Not?A_Brand",
    46              "version": [
    47                "8",
    48                "0",
    49                "0",
    50                "0"
    51              ]
    52            },
    53            {
    54              "brand": "Chromium",
    55              "version": [
    56                "108",
    57                "0",
    58                "5359",
    59                "124"
    60              ]
    61            },
    62            {
    63              "brand": "Google Chrome",
    64              "version": [
    65                "108",
    66                "0",
    67                "5359",
    68                "124"
    69              ]
    70            }
    71          ],
    72          "mobile": 0,
    73          "model": "",
    74          "bitness": "64",
    75          "architecture": "x86"
    76        }
    77      },
    78      "id": "ceb63773-4280-45f2-a684-94cf6a3b8fcf",
    79      "test": 0,
    80      "source": {
    81        "tid": "ceb63773-4280-45f2-a684-94cf6a3b8fcf"
    82      },
    83      "ext": {
    84        "prebid": {
    85          "auctiontimestamp": 1671449004622,
    86          "targeting": {
    87            "includewinners": true,
    88            "includebidderkeys": false
    89          },
    90          "debug": true,
    91          "channel": {
    92            "name": "pbjs",
    93            "version": "v7.28.0"
    94          }
    95        }
    96      },
    97      "tmax": 1000
    98    },
    99    "httpCalls": [
   100      {
   101        "expectedRequest": {
   102          "uri": "https://rtb.conative.network/openrtb2/auction",
   103          "body": {
   104            "id": "ceb63773-4280-45f2-a684-94cf6a3b8fcf",
   105            "imp": [
   106              {
   107                "id": "div-gpt-ad-1460505748561-0",
   108                "native": {
   109                  "request": ""
   110                },
   111                "ext": {
   112                  "prebid": {
   113                    "bidder": {
   114                      "definemedia": {
   115                        "mandantId": 12
   116                      }
   117                    }
   118                  },
   119                  "tid": "397962d3-47a1-4634-9cb7-78597b01d9a9"
   120                }
   121              }
   122            ],
   123            "site": {
   124              "domain": "localhost:8080",
   125              "page": "http://localhost:8080/prebidServer_example.html?pbjs_debug=true",
   126              "publisher": {
   127                "id": "1",
   128                "domain": "localhost:8080"
   129              }
   130            },
   131            "device": {
   132              "dnt": 0,
   133              "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
   134              "sua": {
   135                "browsers": [
   136                  {
   137                    "brand": "Not?A_Brand",
   138                    "version": [
   139                      "8",
   140                      "0",
   141                      "0",
   142                      "0"
   143                    ]
   144                  },
   145                  {
   146                    "brand": "Chromium",
   147                    "version": [
   148                      "108",
   149                      "0",
   150                      "5359",
   151                      "124"
   152                    ]
   153                  },
   154                  {
   155                    "brand": "Google Chrome",
   156                    "version": [
   157                      "108",
   158                      "0",
   159                      "5359",
   160                      "124"
   161                    ]
   162                  }
   163                ],
   164                "platform": {
   165                  "brand": "macOS",
   166                  "version": [
   167                    "12",
   168                    "3",
   169                    "1"
   170                  ]
   171                },
   172                "mobile": 0,
   173                "architecture": "x86",
   174                "bitness": "64",
   175                "source": 2
   176              },
   177              "h": 1169,
   178              "w": 1098,
   179              "language": "de"
   180            },
   181            "tmax": 1000,
   182            "source": {
   183              "tid": "ceb63773-4280-45f2-a684-94cf6a3b8fcf"
   184            },
   185            "ext": {
   186              "prebid": {
   187                "auctiontimestamp": 1.671449004622e+12,
   188                "channel": {
   189                  "name": "pbjs",
   190                  "version": "v7.28.0"
   191                },
   192                "debug": true,
   193                "targeting": {
   194                  "includebidderkeys": false,
   195                  "includewinners": true
   196                }
   197              }
   198            }
   199          },
   200          "impIDs":["div-gpt-ad-1460505748561-0"]
   201        },
   202        "mockResponse": {
   203          "status": 200,
   204          "body": {
   205            "id": "test-request-id",
   206            "seatbid": [
   207              {
   208                "bid": [
   209                  {
   210                    "id": "46189656-7e2e-477d-b7f2-e05de224bb89",
   211                    "impid": "div-gpt-ad-1460505748561-0",
   212                    "price": 100,
   213                    "adm": "{\n \"ver\": \"1.1\",\n \"imptrackers\": [\"http://imptracker.com\"],\n \"jstracker\": \"\u003cscript\u003etrack()\u003c/script\u003e\",\n \"link\": {\n  \"url\": \"http://i.am.a/URL\"\n },\n \"assets\": [\n  {\n   \"id\": 123,\n   \"required\": 1,\n   \"title\": {\n    \"text\": \"Learn about this awesome thing\"\n   }\n  },\n  {\n   \"id\": 124,\n   \"required\": 1,\n   \"img\": {\n    \"url\": \"http://www.myads.com/thumbnail1.png\"\n   }\n  },\n  {\n   \"id\": 128,\n   \"required\": 1,\n   \"img\": {\n    \"url\": \"http://www.myads.com/largethumb1.png\"\n   }\n  },\n  {\n   \"id\": 126,\n   \"required\": 1,\n   \"data\": {\n    \"value\": \"My Brand\"\n   }\n  },\n  {\n   \"id\": 127,\n   \"required\": 1,\n   \"data\": {\n    \"value\": \"Learn all about this awesome story of someone using my product.\"\n   }\n  },\n  {\n   \"id\": 4,\n   \"video\": {\n    \"vasttag\": \"\u003cVAST version=\\\"2.0\\\"\u003e\u003c/VAST\u003e\"\n   }\n  },\n  {\n   \"id\": 5,\n   \"link\": {\n    \"url\": \"http://landing.com\",\n    \"clicktrackers\": [\"http://tracker.com\"],\n    \"fallback\": \"http://fallback.com\"\n   }\n  }\n ]\n}",
   214                    "adomain": [
   215                      "test.com"
   216                    ],
   217                    "crid": "test-creative-id",
   218                    "ext": {
   219                      "prebid": {
   220                        "type": "native"
   221                      }
   222                    }
   223                  }
   224                ]
   225              }
   226            ],
   227            "cur": "USD"
   228          }
   229        }
   230      }
   231    ],
   232    "expectedBidResponses": [
   233      {
   234        "currency": "USD",
   235        "bids": [
   236          {
   237            "bid": {
   238              "id": "46189656-7e2e-477d-b7f2-e05de224bb89",
   239              "impid": "div-gpt-ad-1460505748561-0",
   240              "price": 100,
   241  
   242              "adm": "{\n \"ver\": \"1.1\",\n \"imptrackers\": [\"http://imptracker.com\"],\n \"jstracker\": \"\u003cscript\u003etrack()\u003c/script\u003e\",\n \"link\": {\n  \"url\": \"http://i.am.a/URL\"\n },\n \"assets\": [\n  {\n   \"id\": 123,\n   \"required\": 1,\n   \"title\": {\n    \"text\": \"Learn about this awesome thing\"\n   }\n  },\n  {\n   \"id\": 124,\n   \"required\": 1,\n   \"img\": {\n    \"url\": \"http://www.myads.com/thumbnail1.png\"\n   }\n  },\n  {\n   \"id\": 128,\n   \"required\": 1,\n   \"img\": {\n    \"url\": \"http://www.myads.com/largethumb1.png\"\n   }\n  },\n  {\n   \"id\": 126,\n   \"required\": 1,\n   \"data\": {\n    \"value\": \"My Brand\"\n   }\n  },\n  {\n   \"id\": 127,\n   \"required\": 1,\n   \"data\": {\n    \"value\": \"Learn all about this awesome story of someone using my product.\"\n   }\n  },\n  {\n   \"id\": 4,\n   \"video\": {\n    \"vasttag\": \"\u003cVAST version=\\\"2.0\\\"\u003e\u003c/VAST\u003e\"\n   }\n  },\n  {\n   \"id\": 5,\n   \"link\": {\n    \"url\": \"http://landing.com\",\n    \"clicktrackers\": [\"http://tracker.com\"],\n    \"fallback\": \"http://fallback.com\"\n   }\n  }\n ]\n}",
   243              "crid": "test-creative-id",
   244              "adomain": [
   245                "test.com"
   246              ],
   247              "ext": {
   248                "prebid": {
   249                  "type": "native"
   250                }
   251              }
   252            },
   253            "type": "native"
   254          }
   255        ]
   256      }
   257    ]
   258  }