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

     1  {
     2    "mockBidRequest": {
     3      "at": 1,
     4      "imp": [
     5        {
     6          "banner": {
     7            "format": [
     8              {
     9                "w": 300,
    10                "h": 250
    11              }
    12            ],
    13            "api": [5]
    14          },
    15          "id": "29D2F33E-F865-40DA-9320-16EF77935254",
    16          "secure": 1,
    17          "ext": {
    18            "prebid": {
    19              "storedrequest": {
    20                "id": "test_unicorn"
    21              }
    22            },
    23            "bidder": {
    24              "accountId": 12345,
    25              "publisherId": "123456",
    26              "mediaId": "test_media",
    27              "placementId": "test_placement"
    28            }
    29          }
    30        }
    31      ],
    32      "cur": ["JPY"],
    33      "app": {
    34        "publisher": {
    35          "id": "test"
    36        },
    37        "ext": {
    38          "prebid": {
    39            "source": "prebid-mobile",
    40            "version": "1.9.0"
    41          }
    42        },
    43        "bundle": "net.ada.test",
    44        "ver": "1.9.0"
    45      },
    46      "id": "CFD24FB1-916F-467D-8825-34892B315DB7",
    47      "source": {
    48        "tid": "A4B3EA9F-FF57-4716-AC85-6CBF6A46CFBD"
    49      },
    50      "device": {
    51        "make": "Apple",
    52        "osv": "14.4",
    53        "connectiontype": 1,
    54        "os": "iOS",
    55        "w": 320,
    56        "model": "Simulator",
    57        "ifa": "00000000-0000-0000-0000-000000000000",
    58        "devtime": 1612413327,
    59        "h": 568,
    60        "pxratio": 2,
    61        "ext": {
    62          "atts": 0
    63        }
    64      },
    65      "user": {
    66        "gender": "O"
    67      },
    68      "ext": {
    69        "prebid": {
    70          "targeting": {},
    71          "cache": {
    72            "bids": {}
    73          },
    74          "storedrequest": {
    75            "id": "test"
    76          }
    77        }
    78      }
    79    },
    80  
    81    "httpCalls": [
    82      {
    83        "expectedRequest": {
    84          "uri": "https://ds.uncn.jp",
    85          "body": {
    86            "app": {
    87              "bundle": "net.ada.test",
    88              "ext": {
    89                "prebid": {
    90                  "source": "prebid-mobile",
    91                  "version": "1.9.0"
    92                }
    93              },
    94              "id": "test_media",
    95              "publisher": {
    96                "id": "123456"
    97              },
    98              "ver": "1.9.0"
    99            },
   100            "at": 1,
   101            "cur": ["JPY"],
   102            "device": {
   103              "connectiontype": 1,
   104              "ext": {
   105                "atts": 0
   106              },
   107              "h": 568,
   108              "ifa": "00000000-0000-0000-0000-000000000000",
   109              "make": "Apple",
   110              "model": "Simulator",
   111              "os": "iOS",
   112              "osv": "14.4",
   113              "pxratio": 2,
   114              "w": 320
   115            },
   116            "ext": {
   117              "prebid": {
   118                "storedrequest": {
   119                  "id": "test"
   120                }
   121              },
   122              "accountId": 12345
   123            },
   124            "id": "CFD24FB1-916F-467D-8825-34892B315DB7",
   125            "imp": [
   126              {
   127                "banner": {
   128                  "api": [5],
   129                  "format": [
   130                    {
   131                      "h": 250,
   132                      "w": 300
   133                    }
   134                  ]
   135                },
   136                "ext": {
   137                  "bidder": {
   138                    "accountId": 12345,
   139                    "publisherId": "123456",
   140                    "mediaId": "test_media",
   141                    "placementId": "test_placement"
   142                  }
   143                },
   144                "tagid": "test_placement",
   145                "id": "29D2F33E-F865-40DA-9320-16EF77935254",
   146                "secure": 1
   147              }
   148            ],
   149            "source": {
   150              "ext": {
   151                "bidder": "unicorn",
   152                "stype": "prebid_server_uncn"
   153              },
   154              "tid": "A4B3EA9F-FF57-4716-AC85-6CBF6A46CFBD"
   155            },
   156            "user": {
   157              "gender": "O"
   158            }
   159          },
   160          "impIDs":["29D2F33E-F865-40DA-9320-16EF77935254"]
   161        },
   162        "mockResponse": {
   163          "url": "https://ds.uncn.jp",
   164          "status": 200,
   165          "headers": {
   166            "Content-Type": ["application/json"],
   167            "Date": ["Thu, 04 Feb 2021 06:36:31 GMT"],
   168            "Vary": ["Accept-Encoding"]
   169          },
   170          "body": {
   171            "bidid": "f1248280-24ec-4fbc-bdf5-6a866e7dcea4",
   172            "cur": "JPY",
   173            "ext": {},
   174            "id": "CFD24FB1-916F-467D-8825-34892B315DB7",
   175            "seatbid": [
   176              {
   177                "bid": [
   178                  {
   179                    "adid": "uoNYbq1L_-123456",
   180                    "adm": "awesome domain",
   181                    "adomain": ["example.com"],
   182                    "attr": [],
   183                    "bundle": "example.com",
   184                    "cid": "7314",
   185                    "crid": "-123456",
   186                    "ext": {},
   187                    "h": 250,
   188                    "id": "1",
   189                    "impid": "29D2F33E-F865-40DA-9320-16EF77935254",
   190                    "iurl": "https://example.com/banner.png",
   191                    "price": 73.283,
   192                    "w": 300
   193                  }
   194                ],
   195                "group": 0,
   196                "seat": "274"
   197              }
   198            ],
   199            "units": 0
   200          }
   201        }
   202      }
   203    ],
   204    "expectedBidResponses": [
   205      {
   206        "Currency": "JPY",
   207        "bids": [
   208          {
   209            "Bid": {
   210              "id": "1",
   211              "impid": "29D2F33E-F865-40DA-9320-16EF77935254",
   212              "price": 73.283,
   213              "adm": "awesome domain",
   214              "adid": "uoNYbq1L_-123456",
   215              "adomain": ["example.com"],
   216              "bundle": "example.com",
   217              "iurl": "https://example.com/banner.png",
   218              "cid": "7314",
   219              "crid": "-123456",
   220              "w": 300,
   221              "h": 250,
   222              "ext": {}
   223            },
   224            "type": "banner",
   225            "BidType": "banner",
   226            "BidVideo": null,
   227            "DealPriority": 0
   228          }
   229        ]
   230      }
   231    ]
   232  }