github.com/prebid/prebid-server/v2@v2.18.0/adapters/criteo/criteotest/exemplary/simple-banner-inapp.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "app": {
     5        "bundle": "test.app.bundle"
     6      },
     7      "device": {
     8        "ifa": "test-ifa-123456",
     9        "os": "android",
    10        "ip": "91.199.242.236",
    11        "ua": "random user agent"
    12      },
    13      "imp": [
    14        {
    15          "id": "test-imp-id",
    16          "banner": {
    17            "format": [
    18              {
    19                "w": 300,
    20                "h": 250
    21              }
    22            ]
    23          },
    24          "ext": {
    25            "bidder": {
    26              "zoneid": 123456,
    27              "networkid": 78910
    28            }
    29          }
    30        }
    31      ]
    32    },
    33    "httpCalls": [
    34      {
    35        "expectedRequest": {
    36          "uri": "https://ssp-bidder.criteo.com/openrtb/pbs/auction/request?profile=230",
    37          "headers": {},
    38          "body": {
    39            "id": "test-request-id",
    40            "app": {
    41              "bundle": "test.app.bundle"
    42            },
    43            "device": {
    44              "ifa": "test-ifa-123456",
    45              "os": "android",
    46              "ip": "91.199.242.236",
    47              "ua": "random user agent"
    48            },
    49            "imp": [
    50              {
    51                "id": "test-imp-id",
    52                "banner": {
    53                  "format": [
    54                    {
    55                      "w": 300,
    56                      "h": 250
    57                    }
    58                  ]
    59                },
    60                "ext": {
    61                  "bidder": {
    62                    "zoneid": 123456,
    63                    "networkid": 78910
    64                  }
    65                }
    66              }
    67            ]
    68          },
    69          "impIDs":["test-imp-id"]
    70        },
    71        "mockResponse": {
    72          "status": 200,
    73          "body": {
    74            "currency": "USD",
    75            "seatbid": [
    76              {
    77                "bid": [
    78                  {
    79                    "id": "test-slot-id",
    80                    "impid": "test-imp-id",
    81                    "price": 0.1,
    82                    "crid": "creative-123",
    83                    "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.criteo.com'></iframe>",
    84                    "w": 300,
    85                    "h": 250,
    86                    "ext": {
    87                      "prebid": {
    88                        "type": "banner",
    89                        "networkName": "Criteo"
    90                      }
    91                    }
    92                  }
    93                ]
    94              }
    95            ]
    96          }
    97        }
    98      }
    99    ],
   100    "expectedBidResponses": [
   101      {
   102        "currency": "USD",
   103        "bids": [
   104          {
   105            "bid": {
   106              "id": "test-slot-id",
   107              "impid": "test-imp-id",
   108              "price": 0.1,
   109              "crid": "creative-123",
   110              "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.criteo.com'></iframe>",
   111              "w": 300,
   112              "h": 250,
   113              "ext": {
   114                "prebid": {
   115                  "type": "banner",
   116                  "networkName": "Criteo"
   117                }
   118              }
   119            },
   120            "type": "banner"
   121          }
   122        ]
   123      }
   124    ]
   125  }
   126