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

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