github.com/prebid/prebid-server/v2@v2.18.0/adapters/ix/ixtest/supplemental/dsa-request.json (about)

     1  {
     2      "mockBidRequest": {
     3        "id": "test-request-id",
     4        "imp": [
     5          {
     6            "id": "test-imp-id",
     7            "banner": {
     8              "format": [
     9                {
    10                  "w": 300,
    11                  "h": 250
    12                }
    13              ]
    14            },
    15            "ext": {
    16              "bidder": {
    17                "siteId": "569749"
    18              }
    19            }
    20          }
    21        ],
    22        "regs": {
    23          "ext": {
    24            "dsa": {
    25              "dsarequired": 3,
    26              "pubrender": 0,
    27              "datatopub": 2,
    28              "transparency": [
    29                {
    30                  "domain": "platform1domain.com",
    31                  "dsaparams": [
    32                    1
    33                  ]
    34                },
    35                {
    36                  "domain": "SSP2domain.com",
    37                  "dsaparams": [
    38                    1,
    39                    2
    40                  ]
    41                }
    42              ]
    43            }
    44          }
    45        },
    46        "site": {
    47          "page": "https://www.example.com/"
    48        }
    49      },
    50      "httpCalls": [
    51        {
    52          "expectedRequest": {
    53            "uri": "http://host/endpoint",
    54            "body": {
    55              "id": "test-request-id",
    56              "imp": [
    57                {
    58                  "id": "test-imp-id",
    59                  "banner": {
    60                    "format": [
    61                      {
    62                        "w": 300,
    63                        "h": 250
    64                      }
    65                    ],
    66                    "w": 300,
    67                    "h": 250
    68                  },
    69                  "ext": {
    70                    "bidder": {
    71                      "siteId": "569749"
    72                    }
    73                  }
    74                }
    75              ],
    76              "site": {
    77                "page": "https://www.example.com/",
    78                "publisher": {
    79                  "id": "569749"
    80                }
    81              },
    82              "regs": {
    83                "ext": {
    84                  "dsa": {
    85                    "dsarequired": 3,
    86                    "pubrender": 0,
    87                    "datatopub": 2,
    88                    "transparency": [
    89                      {
    90                        "domain": "platform1domain.com",
    91                        "dsaparams": [
    92                          1
    93                        ]
    94                      },
    95                      {
    96                        "domain": "SSP2domain.com",
    97                        "dsaparams": [
    98                          1,
    99                          2
   100                        ]
   101                      }
   102                    ]
   103                  }
   104                }
   105              }
   106            },
   107            "impIDs":["test-imp-id"]
   108          },
   109          "mockResponse": {
   110            "status": 200,
   111            "body": {
   112              "id": "test-request-id",
   113              "seatbid": [
   114                {
   115                  "seat": "958",
   116                  "bid": [
   117                    {
   118                      "id": "7706636740145184841",
   119                      "impid": "test-imp-id",
   120                      "price": 0.5,
   121                      "adid": "29681110",
   122                      "adm": "some-test-ad",
   123                      "adomain": [
   124                        "https://advertiser.example.com"
   125                      ],
   126                      "cid": "958",
   127                      "crid": "29681110",
   128                      "h": 250,
   129                      "w": 300,
   130                      "ext": {
   131                        "ix": {},
   132                        "dsa": {
   133                          "behalf": "Advertiser",
   134                          "paid": "Advertiser",
   135                          "transparency": {
   136                            "domain": "dsp1domain.com",
   137                            "params": [
   138                              1,
   139                              2
   140                            ]
   141                          },
   142                          "adrender": 1
   143                        }
   144                      }
   145                    }
   146                  ]
   147                }
   148              ],
   149              "bidid": "5778926625248726496",
   150              "cur": "USD"
   151            }
   152          }
   153        }
   154      ],
   155      "expectedBidResponses": [
   156        {
   157          "currency": "USD",
   158          "bids": [
   159            {
   160              "bid": {
   161                "id": "7706636740145184841",
   162                "impid": "test-imp-id",
   163                "price": 0.5,
   164                "adm": "some-test-ad",
   165                "adid": "29681110",
   166                "adomain": [
   167                  "https://advertiser.example.com"
   168                ],
   169                "cid": "958",
   170                "crid": "29681110",
   171                "w": 300,
   172                "h": 250,
   173                "ext": {
   174                  "ix": {},
   175                  "dsa": {
   176                    "behalf": "Advertiser",
   177                    "paid": "Advertiser",
   178                    "transparency": {
   179                      "domain": "dsp1domain.com",
   180                      "params": [
   181                        1,
   182                        2
   183                      ]
   184                    },
   185                    "adrender": 1
   186                  }
   187                }
   188              },
   189              "type": "banner"
   190            }
   191          ]
   192        }
   193      ]
   194    }