github.com/prebid/prebid-server/v2@v2.18.0/adapters/pangle/pangletest/exemplary/app_video_rewarded.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          "video": {
    14            "mimes": [
    15              "video/mp4"
    16            ],
    17            "protocols": [
    18              2,
    19              5
    20            ],
    21            "w": 1024,
    22            "h": 576,
    23            "ext": {
    24              "foo": "bar"
    25            }
    26          },
    27          "ext": {
    28            "prebid": {
    29              "is_rewarded_inventory": 1
    30            },
    31            "bidder": {
    32              "token": "123"
    33            }
    34          }
    35        }
    36      ]
    37    },
    38    "httpCalls": [
    39      {
    40        "expectedRequest": {
    41          "uri": "https://pangle.io/api/get_ads",
    42          "headers": {
    43            "Content-Type": [
    44              "application/json"
    45            ],
    46            "TOKEN": [
    47              "123"
    48            ]
    49          },
    50          "body": {
    51            "id": "test-request-id",
    52            "app": {
    53              "bundle": "com.prebid"
    54            },
    55            "device": {
    56              "ifa": "87857b31-8942-4646-ae80-ab9c95bf3fab"
    57            },
    58            "imp": [
    59              {
    60                "id": "test-imp-id",
    61                "video": {
    62                  "mimes": [
    63                    "video/mp4"
    64                  ],
    65                  "protocols": [
    66                    2,
    67                    5
    68                  ],
    69                  "w": 1024,
    70                  "h": 576,
    71                  "ext": {
    72                    "foo": "bar"
    73                  }
    74                },
    75                "ext": {
    76                  "adtype": 7,
    77                  "prebid": {
    78                    "is_rewarded_inventory": 1
    79                  },
    80                  "is_prebid": true,
    81                  "bidder": {
    82                    "token": "123"
    83                  }
    84                }
    85              }
    86            ]
    87          },
    88          "impIDs":["test-imp-id"]
    89        },
    90        "mockResponse": {
    91          "status": 200,
    92          "body": {
    93            "id": "test-request-id",
    94            "seatbid": [
    95              {
    96                "seat": "seat-id",
    97                "bid": [
    98                  {
    99                    "id": "1",
   100                    "impid": "test-imp-id",
   101                    "adid": "11110126",
   102                    "price": 0.500000,
   103                    "adm": "some-test-ad",
   104                    "crid": "test-crid",
   105                    "h": 250,
   106                    "w": 300,
   107                    "ext": {
   108                      "pangle": {
   109                        "adtype": 7
   110                      }
   111                    }
   112                  }
   113                ]
   114              }
   115            ],
   116            "cur": "USD"
   117          }
   118        }
   119      }
   120    ],
   121    "expectedBidResponses": [
   122      {
   123        "currency": "USD",
   124        "bids": [
   125          {
   126            "bid": {
   127              "id": "1",
   128              "impid": "test-imp-id",
   129              "adid": "11110126",
   130              "price": 0.5,
   131              "adm": "some-test-ad",
   132              "crid": "test-crid",
   133              "w": 300,
   134              "h": 250,
   135              "ext": {
   136                "pangle": {
   137                  "adtype": 7
   138                }
   139              }
   140            },
   141            "type": "video"
   142          }
   143        ]
   144      }
   145    ]
   146  }