github.com/prebid/prebid-server@v0.275.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        },
    70        "mockResponse": {
    71          "status": 200,
    72          "body": {
    73            "currency": "USD",
    74            "seatbid": [
    75              {
    76                "bid": [
    77                  {
    78                    "id": "test-slot-id",
    79                    "impid": "test-imp-id",
    80                    "price": 0.1,
    81                    "crid": "creative-123",
    82                    "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.criteo.com'></iframe>",
    83                    "w": 300,
    84                    "h": 250,
    85                    "ext": {
    86                      "prebid": {
    87                        "type": "banner",
    88                        "networkName": "Criteo"
    89                      }
    90                    }
    91                  }
    92                ]
    93              }
    94            ]
    95          }
    96        }
    97      }
    98    ],
    99    "expectedBidResponses": [
   100      {
   101        "currency": "USD",
   102        "bids": [
   103          {
   104            "bid": {
   105              "id": "test-slot-id",
   106              "impid": "test-imp-id",
   107              "price": 0.1,
   108              "crid": "creative-123",
   109              "adm": "<iframe id='789abc' name='789abc' src='http://creative-url.criteo.com'></iframe>",
   110              "w": 300,
   111              "h": 250,
   112              "ext": {
   113                "prebid": {
   114                  "type": "banner",
   115                  "networkName": "Criteo"
   116                }
   117              }
   118            },
   119            "type": "banner"
   120          }
   121        ]
   122      }
   123    ]
   124  }
   125