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