github.com/prebid/prebid-server/v2@v2.18.0/adapters/gamma/gammatest/supplemental/ignore-imp.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "id": "sample-id",
    22              "zid": "sample-zone-id",
    23              "wid": "sample-web-id"
    24            }
    25          }
    26        },
    27        {
    28          "id": "test-imp-video-id",
    29          "video": {
    30            "mimes": ["video/mp4"],
    31            "protocols": [2, 5],
    32            "w": 640,
    33            "h": 480
    34          },
    35          "ext":{
    36            "bidder":{
    37              "id": "sample-id",
    38              "zid": "sample-zone-id",
    39              "wid": "sample-web-id"
    40            }
    41          }
    42        },
    43        {
    44          "id": "unsupported-audio-imp",
    45          "audio": {
    46            "mimes": ["audio/mp3"]
    47          },
    48          "ext": {
    49            "bidder": {
    50              "id": "sample-id",
    51              "zid": "sample-zone-id",
    52              "wid": "sample-web-id"
    53            }
    54          }
    55        }
    56      ]
    57    },
    58    "httpCalls": [
    59      {
    60        "expectedRequest": {
    61          "uri": "https://hb.gammaplatform.com/adx/request/?id=sample-id&zid=sample-zone-id&wid=sample-web-id&bidid=test-imp-id&hb=pbmobile",
    62          "impIDs":["test-imp-id"]
    63        },
    64        "mockResponse": {
    65          "status": 200,
    66          "body": {
    67            "id": "test-request-id",
    68            "seatbid": [
    69              {
    70                "seat": "gamma",
    71                "bid": [{
    72                  "id": "7706636740145184841",
    73                  "impid": "test-imp-id",
    74                  "price": 0.500000,
    75                  "adid": "29681110",
    76                  "adm": "some-test-ad",
    77                  "adomain": ["sample.com"],
    78                  "cid": "958",
    79                  "crid": "29681110",
    80                  "h": 250,
    81                  "w": 300
    82                }]
    83              }
    84            ],
    85            "bidid": "5778926625248726496",
    86            "cur": "USD"
    87          }
    88        }
    89      },
    90      {
    91        "expectedRequest": {
    92          "uri": "https://hb.gammaplatform.com/adx/request/?id=sample-id&zid=sample-zone-id&wid=sample-web-id&bidid=test-imp-video-id&hb=pbmobile",
    93          "impIDs":["test-imp-video-id"]
    94        },
    95        "mockResponse": {
    96          "status": 200,
    97          "body": {
    98            "id": "test-request-id",
    99            "cur": "USD",
   100            "seatbid": [
   101              {
   102                "seat": "gamma",
   103                "bid": [{
   104                  "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   105                  "impid": "test-imp-video-id",
   106                  "price": 0.500000,
   107                  "adm": "some-test-ad",
   108                  "crid": "29484110",
   109                  "w": 640,
   110                  "h": 480
   111                }]
   112              }
   113            ]
   114          }
   115        }
   116      }
   117    ],
   118  
   119    "expectedBidResponses": [
   120      {
   121        "bids": [
   122          {
   123            "bid": {
   124              "id": "7706636740145184841",
   125              "impid": "test-imp-id",
   126              "price": 0.5,
   127              "adm": "some-test-ad",
   128              "adid": "29681110",
   129              "adomain": ["sample.com"],
   130              "cid": "958",
   131              "crid": "29681110",
   132              "w": 300,
   133              "h": 250
   134            },
   135            "type": "banner"
   136          }
   137        ]
   138      },
   139      {
   140        "bids": [
   141          {
   142            "bid": {
   143              "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
   144              "impid": "test-imp-video-id",
   145              "price": 0.5,
   146              "adm": "some-test-ad",
   147              "crid": "29484110",
   148              "w": 640,
   149              "h": 480
   150            },
   151            "type": "banner"
   152          }
   153        ]
   154      }
   155    ],
   156    "expectedMakeRequestsErrors": [
   157      {
   158        "value": "Gamma only supports banner and video media types. Ignoring imp id=unsupported-audio-imp",
   159        "comparison": "literal"
   160      }
   161    ]
   162  }