github.com/prebid/prebid-server/v2@v2.18.0/adapters/ix/ixtest/exemplary/additional-consent.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "imp": [
     5              {
     6                  "id": "test-imp-id",
     7                  "banner": {
     8                      "w": 300,
     9                      "h": 250
    10                  },
    11                  "ext": {
    12                      "bidder": {
    13                          "siteId": "569749"
    14                      }
    15                  }
    16              }
    17          ],
    18          "user": {
    19              "ext": {
    20                  "consent": "COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw",
    21                  "consented_providers_settings": {
    22                      "consented_providers": [1]
    23                  }
    24              }
    25          }
    26      },
    27      "httpCalls": [
    28          {
    29              "expectedRequest": {
    30                  "uri": "http://host/endpoint",
    31                  "body": {
    32                      "id": "test-request-id",
    33                      "imp": [
    34                          {
    35                              "id": "test-imp-id",
    36                              "banner": {
    37                                  "format": [
    38                                      {
    39                                          "w": 300,
    40                                          "h": 250
    41                                      }
    42                                  ],
    43                                  "w": 300,
    44                                  "h": 250
    45                              },
    46                              "ext": {
    47                                  "bidder": {
    48                                      "siteId": "569749"
    49                                  }
    50                              }
    51                          }
    52                      ],
    53                      "user": {
    54                          "ext": {
    55                              "consent": "COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw",
    56                              "consented_providers_settings": {
    57                                  "consented_providers": [1]
    58                              }
    59                          }
    60                      }
    61                  },
    62                  "impIDs":["test-imp-id"]
    63              },
    64              "mockResponse": {
    65                  "status": 200,
    66                  "body": {
    67                      "id": "test-request-id",
    68                      "seatbid": [
    69                          {
    70                              "seat": "958",
    71                              "bid": [
    72                                  {
    73                                      "id": "7706636740145184841",
    74                                      "impid": "test-imp-id",
    75                                      "price": 0.5,
    76                                      "adid": "29681110",
    77                                      "adm": "some-test-ad",
    78                                      "adomain": [
    79                                          "https://advertiser.example.com"
    80                                      ],
    81                                      "cid": "958",
    82                                      "crid": "29681110",
    83                                      "h": 250,
    84                                      "w": 300,
    85                                      "ext": {
    86                                          "ix": {}
    87                                      }
    88                                  }
    89                              ]
    90                          }
    91                      ],
    92                      "bidid": "5778926625248726496",
    93                      "cur": "USD"
    94                  }
    95              }
    96          }
    97      ],
    98      "expectedBidResponses": [
    99          {
   100              "currency": "USD",
   101              "bids": [
   102                  {
   103                      "bid": {
   104                          "id": "7706636740145184841",
   105                          "impid": "test-imp-id",
   106                          "price": 0.5,
   107                          "adm": "some-test-ad",
   108                          "adid": "29681110",
   109                          "adomain": [
   110                              "https://advertiser.example.com"
   111                          ],
   112                          "cid": "958",
   113                          "crid": "29681110",
   114                          "w": 300,
   115                          "h": 250,
   116                          "ext": {
   117                              "ix": {}
   118                          }
   119                      },
   120                      "type": "banner"
   121                  }
   122              ]
   123          }
   124      ]
   125  }