github.com/prebid/prebid-server@v0.275.0/adapters/adf/adftest/exemplary/multi-native.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [{
     5        "id": "test-imp-id-1",
     6        "ext": {
     7          "bidder": {
     8            "mid": "828782"
     9          }
    10        },
    11        "native": {
    12          "request": "{json string 1}",
    13          "ver": "1.2"
    14        }
    15      }, {
    16        "id": "test-imp-id-2",
    17        "ext": {
    18          "bidder": {
    19            "mid": "828783"
    20          }
    21        },
    22        "native": {
    23          "request": "{json string 2}",
    24          "ver": "1.2"
    25        }
    26      }]
    27    },
    28    "httpCalls": [{
    29      "expectedRequest": {
    30        "uri": "https://adx.adform.net/adx/openrtb",
    31        "body": {
    32          "id": "test-request-id",
    33          "imp": [{
    34            "id": "test-imp-id-1",
    35            "ext": {
    36              "bidder": {
    37                "mid": "828782"
    38              }
    39            },
    40            "native": {
    41              "request": "{json string 1}",
    42              "ver": "1.2"
    43            },
    44            "tagid": "828782"
    45          }, {
    46            "id": "test-imp-id-2",
    47            "ext": {
    48              "bidder": {
    49                "mid": "828783"
    50              }
    51            },
    52            "native": {
    53              "request": "{json string 2}",
    54              "ver": "1.2"
    55            },
    56            "tagid": "828783"
    57          }]
    58        }
    59      },
    60      "mockResponse": {
    61        "status": 200,
    62        "body": {
    63          "id": "test-request-id",
    64          "seatbid": [{
    65            "bid": [{
    66              "id": "test-bid-id-1",
    67              "impid": "test-imp-id-1",
    68              "price": 10,
    69              "adm": "{json response string 1}",
    70              "adomain": [],
    71              "crid": "test-creative-id-1",
    72              "ext": {
    73                "prebid": {
    74                  "type": "native"
    75                }
    76              }
    77            }, {
    78              "id": "test-bid-id-2",
    79              "impid": "test-imp-id-2",
    80              "price": 2,
    81              "adm": "{json response string 2}",
    82              "adomain": [ "ad-domain" ],
    83              "crid": "test-creative-id-2",
    84              "ext": {
    85                "prebid": {
    86                  "type": "native"
    87                }
    88              }
    89            }]
    90          }],
    91          "cur": "EUR"
    92        }
    93      }
    94    }],
    95    "expectedBidResponses": [{
    96      "currency": "EUR",
    97      "bids": [{
    98        "bid": {
    99          "id": "test-bid-id-1",
   100          "impid": "test-imp-id-1",
   101          "price": 10,
   102          "adm": "{json response string 1}",
   103          "crid": "test-creative-id-1",
   104          "ext": {
   105            "prebid": {
   106              "type": "native"
   107            }
   108          }
   109        },
   110        "type": "native"
   111      }, {
   112        "bid": {
   113          "id": "test-bid-id-2",
   114          "impid": "test-imp-id-2",
   115          "price": 2,
   116          "adm": "{json response string 2}",
   117          "adomain": [ "ad-domain" ],
   118          "crid": "test-creative-id-2",
   119          "ext": {
   120            "prebid": {
   121              "type": "native"
   122            }
   123          }
   124        },
   125        "type": "native"
   126      }]
   127    }]
   128  }