github.com/prebid/prebid-server@v0.275.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        },
    89        "mockResponse": {
    90          "status": 200,
    91          "body": {
    92            "id": "test-request-id",
    93            "seatbid": [
    94              {
    95                "seat": "seat-id",
    96                "bid": [
    97                  {
    98                    "id": "1",
    99                    "impid": "test-imp-id",
   100                    "adid": "11110126",
   101                    "price": 0.500000,
   102                    "adm": "some-test-ad",
   103                    "crid": "test-crid",
   104                    "h": 250,
   105                    "w": 300,
   106                    "ext": {
   107                      "pangle": {
   108                        "adtype": 7
   109                      }
   110                    }
   111                  }
   112                ]
   113              }
   114            ],
   115            "cur": "USD"
   116          }
   117        }
   118      }
   119    ],
   120    "expectedBidResponses": [
   121      {
   122        "currency": "USD",
   123        "bids": [
   124          {
   125            "bid": {
   126              "id": "1",
   127              "impid": "test-imp-id",
   128              "adid": "11110126",
   129              "price": 0.5,
   130              "adm": "some-test-ad",
   131              "crid": "test-crid",
   132              "w": 300,
   133              "h": 250,
   134              "ext": {
   135                "pangle": {
   136                  "adtype": 7
   137                }
   138              }
   139            },
   140            "type": "video"
   141          }
   142        ]
   143      }
   144    ]
   145  }