github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/dsa-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                              "audienceNetwork": {
    22                                  "placementId": "some-placement"
    23                              }
    24                          }
    25                      }
    26                  }
    27              }],
    28              "regs": {
    29                  "ext": {
    30                      "dsa": {
    31                          "dsarequired": 2,
    32                          "pubrender": 0,
    33                          "datatopub": 2,
    34                          "transparency": [{
    35                                  "domain": "platform1domain.com",
    36                                  "dsaparams": [1]
    37                              },
    38                              {
    39                                  "domain": "SSP2domain.com",
    40                                  "dsaparams": [1, 2]
    41                              }
    42                          ]
    43                      }
    44                  }
    45              }
    46          }
    47      },
    48      "outgoingRequests": {
    49          "appnexus": {
    50              "expectRequest": {
    51                  "ortbRequest": {
    52                      "id": "some-request-id",
    53                      "site": {
    54                          "page": "test.somepage.com"
    55                      },
    56                      "imp": [{
    57                          "id": "my-imp-id",
    58                          "video": {
    59                              "mimes": [
    60                                  "video/mp4"
    61                              ]
    62                          },
    63                          "ext": {
    64                              "bidder": {
    65                                  "placementId": 1
    66                              }
    67                          }
    68                      }],
    69                      "regs": {
    70                          "ext": {
    71                              "dsa": {
    72                                  "dsarequired": 2,
    73                                  "pubrender": 0,
    74                                  "datatopub": 2,
    75                                  "transparency": [{
    76                                          "domain": "platform1domain.com",
    77                                          "dsaparams": [1]
    78                                      },
    79                                      {
    80                                          "domain": "SSP2domain.com",
    81                                          "dsaparams": [1, 2]
    82                                      }
    83                                  ]
    84                              }
    85                          }
    86                      }
    87                  }
    88              },
    89              "mockResponse": {
    90                  "pbsSeatBids": [{
    91                      "pbsBids": [{
    92                          "ortbBid": {
    93                              "id": "apn-bid",
    94                              "impid": "my-imp-id",
    95                              "price": 0.3,
    96                              "w": 200,
    97                              "h": 250,
    98                              "crid": "creative-1",
    99                              "ext": {
   100                                  "someField": "someValue",
   101                                  "origbidcpm": 0.3,
   102                                  "dsa": {
   103                                      "behalf": "Advertiser",
   104                                      "paid": "Advertiser",
   105                                      "transparency": [{
   106                                          "domain": "dsp1domain.com",
   107                                          "dsaparams": [1, 2]
   108                                      }],
   109                                      "adrender": 1
   110                                  }
   111                              }
   112                          },
   113                          "bidType": "video"
   114                      }],
   115                      "seat": "appnexus"
   116                  }]
   117              }
   118          },
   119          "audienceNetwork": {
   120              "expectRequest": {
   121                  "ortbRequest": {
   122                      "id": "some-request-id",
   123                      "site": {
   124                          "page": "test.somepage.com"
   125                      },
   126                      "imp": [{
   127                          "id": "my-imp-id",
   128                          "video": {
   129                              "mimes": [
   130                                  "video/mp4"
   131                              ]
   132                          },
   133                          "ext": {
   134                              "bidder": {
   135                                  "placementId": "some-placement"
   136                              }
   137                          }
   138                      }],
   139                      "regs": {
   140                          "ext": {
   141                              "dsa": {
   142                                  "dsarequired": 2,
   143                                  "pubrender": 0,
   144                                  "datatopub": 2,
   145                                  "transparency": [{
   146                                          "domain": "platform1domain.com",
   147                                          "dsaparams": [1]
   148                                      },
   149                                      {
   150                                          "domain": "SSP2domain.com",
   151                                          "dsaparams": [1, 2]
   152                                      }
   153                                  ]
   154                              }
   155                          }
   156                      }
   157                  }
   158              },
   159              "mockResponse": {
   160                  "pbsSeatBids": [{
   161                      "pbsBids": [{
   162                          "ortbBid": {
   163                              "id": "apn-bid",
   164                              "impid": "my-imp-id",
   165                              "price": 0.3,
   166                              "w": 200,
   167                              "h": 250,
   168                              "crid": "creative-1",
   169                              "ext": {
   170                                  "someField": "someValue",
   171                                  "origbidcpm": 0.3
   172                              }
   173                          },
   174                          "bidType": "video"
   175                      }],
   176                      "seat": "audienceNetwork"
   177                  }]
   178              }
   179          }
   180      },
   181      "response": {
   182          "bids": {
   183              "id": "some-request-id",
   184              "seatbid": [{
   185                  "seat": "appnexus",
   186                  "bid": [{
   187                      "id": "apn-bid",
   188                      "impid": "my-imp-id",
   189                      "price": 0.3,
   190                      "w": 200,
   191                      "h": 250,
   192                      "crid": "creative-1",
   193                      "ext": {
   194                          "someField": "someValue",
   195                          "origbidcpm": 0.3,
   196                          "prebid": {
   197                              "meta": {
   198                              },
   199                              "type": "video"
   200                          },
   201                          "dsa": {
   202                              "behalf": "Advertiser",
   203                              "paid": "Advertiser",
   204                              "transparency": [{
   205                                  "domain": "dsp1domain.com",
   206                                  "dsaparams": [1, 2]
   207                              }],
   208                              "adrender": 1
   209                          }
   210                      }
   211                  }]
   212              },{
   213                  "seat": "audienceNetwork",
   214                  "bid": []
   215              }]
   216          }
   217      }
   218  }