github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/dsa-default-ignored.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                          }
    27                      }
    28                  }
    29              }],
    30              "regs": {
    31                  "ext": {
    32                      "dsa": {
    33                          "dsarequired": 1,
    34                          "pubrender": 0,
    35                          "datatopub": 2,
    36                          "transparency": [{
    37                              "domain": "platform2domain.com",
    38                              "dsaparams": [1, 2, 3]
    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": "platform2domain.com",
    74                                      "dsaparams": [1, 2, 3]
    75                                  }]
    76                              }
    77                          }
    78                      }
    79                  }
    80              },
    81              "mockResponse": {
    82                  "pbsSeatBids": [{
    83                      "pbsBids": [{
    84                          "ortbBid": {
    85                              "id": "apn-bid",
    86                              "impid": "my-imp-id",
    87                              "price": 0.3,
    88                              "w": 200,
    89                              "h": 250,
    90                              "crid": "creative-1",
    91                              "ext": {
    92                                  "someField": "someValue",
    93                                  "origbidcpm": 0.3,
    94                                  "dsa": {
    95                                      "behalf": "Advertiser",
    96                                      "paid": "Advertiser",
    97                                      "transparency": [{
    98                                          "domain": "dsp1domain.com",
    99                                          "dsaparams": [1, 2]
   100                                      }],
   101                                      "adrender": 1
   102                                  }
   103                              }
   104                          },
   105                          "bidType": "video"
   106                      }],
   107                      "seat": "appnexus"
   108                  }]
   109              }
   110          }
   111      },
   112      "response": {
   113          "bids": {
   114              "id": "some-request-id",
   115              "seatbid": [{
   116                  "seat": "appnexus",
   117                  "bid": [{
   118                      "id": "apn-bid",
   119                      "impid": "my-imp-id",
   120                      "price": 0.3,
   121                      "w": 200,
   122                      "h": 250,
   123                      "crid": "creative-1",
   124                      "ext": {
   125                          "someField": "someValue",
   126                          "origbidcpm": 0.3,
   127                          "prebid": {
   128                              "meta": {
   129                              },
   130                              "type": "video"
   131                          },
   132                          "dsa": {
   133                              "behalf": "Advertiser",
   134                              "paid": "Advertiser",
   135                              "transparency": [{
   136                                  "domain": "dsp1domain.com",
   137                                  "dsaparams": [1, 2]
   138                              }],
   139                              "adrender": 1
   140                          }
   141                      }
   142                  }]
   143              }]
   144          }
   145      }
   146  }