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