github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/dsa-not-required.json (about)

     1  {
     2      "incomingRequest": {
     3          "ortbRequest": {
     4              "id": "some-request-id",
     5              "site": {
     6                  "page": "test.somepage.com"
     7              },
     8              "imp": [{
     9                  "id": "my-imp-id",
    10                  "video": {
    11                      "mimes": [
    12                          "video/mp4"
    13                      ]
    14                  },
    15                  "ext": {
    16                      "prebid": {
    17                          "bidder": {
    18                              "appnexus": {
    19                                  "placementId": 1
    20                              }
    21                          }
    22                      }
    23                  }
    24              }],
    25              "regs": {
    26                  "ext": {
    27                      "dsa": {
    28                          "dsarequired": 1,
    29                          "pubrender": 0,
    30                          "datatopub": 2,
    31                          "transparency": [{
    32                                  "domain": "platform1domain.com",
    33                                  "dsaparams": [1]
    34                              },
    35                              {
    36                                  "domain": "SSP2domain.com",
    37                                  "dsaparams": [1, 2]
    38                              }
    39                          ]
    40                      }
    41                  }
    42              }
    43          }
    44      },
    45      "outgoingRequests": {
    46          "appnexus": {
    47              "expectRequest": {
    48                  "ortbRequest": {
    49                      "id": "some-request-id",
    50                      "site": {
    51                          "page": "test.somepage.com"
    52                      },
    53                      "imp": [{
    54                          "id": "my-imp-id",
    55                          "video": {
    56                              "mimes": [
    57                                  "video/mp4"
    58                              ]
    59                          },
    60                          "ext": {
    61                              "bidder": {
    62                                  "placementId": 1
    63                              }
    64                          }
    65                      }],
    66                      "regs": {
    67                          "ext": {
    68                              "dsa": {
    69                                  "dsarequired": 1,
    70                                  "pubrender": 0,
    71                                  "datatopub": 2,
    72                                  "transparency": [{
    73                                          "domain": "platform1domain.com",
    74                                          "dsaparams": [1]
    75                                      },
    76                                      {
    77                                          "domain": "SSP2domain.com",
    78                                          "dsaparams": [1, 2]
    79                                      }
    80                                  ]
    81                              }
    82                          }
    83                      }
    84                  }
    85              },
    86              "mockResponse": {
    87                  "pbsSeatBids": [{
    88                      "pbsBids": [{
    89                          "ortbBid": {
    90                              "id": "apn-bid",
    91                              "impid": "my-imp-id",
    92                              "price": 0.3,
    93                              "w": 200,
    94                              "h": 250,
    95                              "crid": "creative-1",
    96                              "ext": {
    97                                  "someField": "someValue",
    98                                  "origbidcpm": 0.3
    99                              }
   100                          },
   101                          "bidType": "video"
   102                      }],
   103                      "seat": "appnexus"
   104                  }]
   105              }
   106          }
   107      },
   108      "response": {
   109          "bids": {
   110              "id": "some-request-id",
   111              "seatbid": [{
   112                  "seat": "appnexus",
   113                  "bid": [{
   114                      "id": "apn-bid",
   115                      "impid": "my-imp-id",
   116                      "price": 0.3,
   117                      "w": 200,
   118                      "h": 250,
   119                      "crid": "creative-1",
   120                      "ext": {
   121                          "someField": "someValue",
   122                          "origbidcpm": 0.3,
   123                          "prebid": {
   124                              "meta": {
   125                              },
   126                              "type": "video"
   127                          }
   128                      }
   129                  }]
   130              }]
   131          }
   132      }
   133  }