github.com/prebid/prebid-server@v0.275.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            },
    47            "mockResponse": {
    48                "status": 200,
    49                "body": {
    50                    "adUnits": [
    51                        {
    52                            "auId": "0000000000000123",
    53                            "targetId": "123-test-imp-id",
    54                            "html": "<ADCODE>",
    55                            "responseId": "adn-rsp-900646517",
    56                            "ads": [
    57                                {
    58                                    "destinationUrls": {
    59                                        "url": "http://www.google.com"
    60                                    },
    61                                    "bid": {
    62                                        "amount": 20.0,
    63                                        "currency": "NOK"
    64                                    },
    65                                    "adId": "adn-id-1559784094",
    66                                    "creativeWidth": "980",
    67                                    "creativeHeight": "240",
    68                                    "dealId":"deal_123",
    69                                    "creativeId": "jn9hpzvlsf8cpdmm",
    70                                    "lineItemId": "q7y9qm5b0xt9htrv"
    71                                }
    72                            ]
    73                        }
    74                    ]
    75                }
    76            }
    77        }
    78    ],
    79    "expectedBidResponses": [
    80        {
    81            "bids": [
    82                {
    83                    "bid": {
    84                        "id": "adn-id-1559784094",
    85                        "impid": "test-imp-id",
    86                        "price": 20000,
    87                        "adm": "<ADCODE>",
    88                        "adid": "adn-id-1559784094",
    89                        "adomain": ["google.com"],
    90                        "dealid" : "deal_123",
    91                        "cid": "q7y9qm5b0xt9htrv",
    92                        "crid": "jn9hpzvlsf8cpdmm",
    93                        "w": 980,
    94                        "h": 240
    95                    },
    96                    "type": "banner"
    97                }
    98            ],
    99            "currency": "NOK"
   100        }
   101    ]
   102  }