github.com/prebid/prebid-server@v0.275.0/adapters/pangle/pangletest/supplemental/pangle_ext_check.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "app": {
     5        "bundle": "com.prebid"
     6      },
     7      "device": {
     8        "ifa": "87857b31-8942-4646-ae80-ab9c95bf3fab"
     9      },
    10      "imp": [
    11        {
    12          "id": "test-imp-id",
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          },
    21          "ext": {
    22            "bidder": {
    23              "token": "123"
    24            }
    25          }
    26        }
    27      ]
    28    },
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "https://pangle.io/api/get_ads",
    33          "headers": {
    34            "Content-Type": [
    35              "application/json"
    36            ],
    37            "TOKEN": [
    38              "123"
    39            ]
    40          },
    41          "body": {
    42            "id": "test-request-id",
    43            "app": {
    44              "bundle": "com.prebid"
    45            },
    46            "device": {
    47              "ifa": "87857b31-8942-4646-ae80-ab9c95bf3fab"
    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                  "adtype": 1,
    62                  "bidder": {
    63                    "token": "123"
    64                  },
    65                  "is_prebid": true,
    66                  "prebid": null
    67                }
    68              }
    69            ]
    70          }
    71        },
    72        "mockResponse": {
    73          "status": 200,
    74          "body": {
    75            "id": "test-request-id",
    76            "seatbid": [
    77              {
    78                "seat": "seat-id",
    79                "bid": [
    80                  {
    81                    "id": "1",
    82                    "impid": "test-imp-id",
    83                    "adid": "11110126",
    84                    "price": 0.500000,
    85                    "adm": "some-test-ad",
    86                    "crid": "test-crid",
    87                    "h": 250,
    88                    "w": 300,
    89                    "ext": {
    90                      "pangle": {}
    91                    }
    92                  }
    93                ]
    94              }
    95            ],
    96            "cur": "USD"
    97          }
    98        }
    99      }
   100    ],
   101    "expectedBidResponses": [{"currency":"USD","bids":[]}],
   102    "expectedMakeBidsErrors": [
   103      {
   104        "value": "missing pangleExt/adtype in bid ext",
   105        "comparison": "literal"
   106      }
   107    ]
   108  }