github.com/prebid/prebid-server/v2@v2.18.0/adapters/adoppler/adopplertest/supplemental/duplicate-imp.json (about)

     1  {
     2    "mockBidRequest":{
     3      "id":"req1",
     4      "imp":[
     5        {
     6          "id":"imp1",
     7          "banner":{
     8            "w":100,
     9            "h":200
    10          },
    11          "ext":{
    12            "bidder":{
    13              "adunit":"unit1"
    14            }
    15          }
    16        },
    17        {
    18          "id":"imp1",
    19          "banner":{
    20            "w":100,
    21            "h":200
    22          },
    23          "ext":{
    24            "bidder":{
    25              "adunit":"unit2"
    26            }
    27          }
    28        }
    29      ]
    30    },
    31    "httpCalls":[
    32      {
    33        "expectedRequest":{
    34          "uri":"http://app.trustedmarketplace.com/processHeaderBid/unit1",
    35          "body":{
    36            "id":"req1-unit1",
    37            "imp":[
    38              {
    39                "id":"imp1",
    40                "banner":{
    41                  "w":100,
    42                  "h":200
    43                },
    44                "ext":{
    45                  "bidder":{
    46                    "adunit":"unit1"
    47                  }
    48                }
    49              }
    50            ]
    51          },
    52          "impIDs":["imp1"]
    53        },
    54        "mockResponse":{
    55          "status":200,
    56          "body":{
    57            "id":"req1-imp1-resp1",
    58            "seatbid":[
    59              {
    60                "bid":[
    61                  {
    62                    "id":"req1-imp1-bid1",
    63                    "impid":"imp1",
    64                    "price":0.12,
    65                    "adm":"<b>a banner</b>"
    66                  }
    67                ]
    68              }
    69            ],
    70            "cur":"USD"
    71          }
    72        }
    73      },
    74      {
    75        "expectedRequest":{
    76          "uri":"http://app.trustedmarketplace.com/processHeaderBid/unit2",
    77          "body":{
    78            "id":"req1-unit2",
    79            "imp":[
    80              {
    81                "id":"imp1",
    82                "banner":{
    83                  "w":100,
    84                  "h":200
    85                },
    86                "ext":{
    87                  "bidder":{
    88                    "adunit":"unit2"
    89                  }
    90                }
    91              }
    92            ]
    93          },
    94          "impIDs":["imp1"]
    95        },
    96        "mockResponse":{
    97          "status":200,
    98          "body":{
    99            "id":"req1-imp1-resp1",
   100            "seatbid":[
   101              {
   102                "bid":[
   103                  {
   104                    "id":"req1-imp1-bid1",
   105                    "impid":"imp1",
   106                    "price":0.12,
   107                    "adm":"<b>a banner</b>"
   108                  }
   109                ]
   110              }
   111            ],
   112            "cur":"USD"
   113          }
   114        }
   115      }
   116    ],
   117    "expectedBidResponses":[
   118  
   119    ],
   120    "expectedMakeBidsErrors":[
   121      {
   122        "value":"duplicate $.imp.id imp1",
   123        "comparison":"literal"
   124      },
   125      {
   126        "value":"duplicate $.imp.id imp1",
   127        "comparison":"literal"
   128      }
   129    ]
   130  }