github.com/prebid/prebid-server/v2@v2.18.0/adapters/adnuntius/adnuntiustest/supplemental/check-dealId.json (about)

     1  {
     2    "mockBidRequest": {
     3        "id": "test-request-id",
     4        "site": {
     5            "page": "prebid.org"
     6        },
     7        "imp": [
     8            {
     9                "id": "test-imp-id",
    10                "banner": {
    11                    "format": [
    12                        {
    13                            "w": 300,
    14                            "h": 250
    15                        },
    16                        {
    17                            "w": 300,
    18                            "h": 600
    19                        }
    20                    ]
    21                },
    22                "ext": {
    23                    "bidder": {
    24                        "auId": "123"
    25                    }
    26                }
    27            }
    28        ]
    29    },
    30  
    31    "httpCalls": [
    32        {
    33            "expectedRequest": {
    34                "uri": "http://whatever.url?format=json&tzo=0",
    35                "body": {
    36                    "adUnits": [
    37                        {
    38                            "auId": "123",
    39                            "targetId": "123-test-imp-id",
    40              "dimensions": [[300,250],[300,600]]
    41                        }
    42                    ],
    43                    "context": "prebid.org",
    44                    "metaData": {}
    45                },
    46                "impIDs":["test-imp-id"]
    47            },
    48            "mockResponse": {
    49                "status": 200,
    50                "body": {
    51                    "adUnits": [
    52                        {
    53                            "auId": "0000000000000123",
    54                            "targetId": "123-test-imp-id",
    55                            "html": "<ADCODE>",
    56                            "responseId": "adn-rsp-900646517",
    57                            "ads": [
    58                                {
    59                                    "destinationUrls": {
    60                                        "url": "http://www.google.com"
    61                                    },
    62                                    "bid": {
    63                                        "amount": 20.0,
    64                                        "currency": "NOK"
    65                                    },
    66                                    "adId": "adn-id-1559784094",
    67                                    "creativeWidth": "980",
    68                                    "creativeHeight": "240",
    69                                    "dealId":"deal_123",
    70                                    "creativeId": "jn9hpzvlsf8cpdmm",
    71                                    "lineItemId": "q7y9qm5b0xt9htrv"
    72                                }
    73                            ]
    74                        }
    75                    ]
    76                }
    77            }
    78        }
    79    ],
    80    "expectedBidResponses": [
    81        {
    82            "bids": [
    83                {
    84                    "bid": {
    85                        "id": "adn-id-1559784094",
    86                        "impid": "test-imp-id",
    87                        "price": 20000,
    88                        "adm": "<ADCODE>",
    89                        "adid": "adn-id-1559784094",
    90                        "adomain": ["google.com"],
    91                        "dealid" : "deal_123",
    92                        "cid": "q7y9qm5b0xt9htrv",
    93                        "crid": "jn9hpzvlsf8cpdmm",
    94                        "w": 980,
    95                        "h": 240
    96                    },
    97                    "type": "banner"
    98                }
    99            ],
   100            "currency": "NOK"
   101        }
   102    ]
   103  }