github.com/prebid/prebid-server@v0.275.0/adapters/improvedigital/improvedigitaltest/supplemental/addtl-consent.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "addtl-consent-request-id",
     4      "site": {
     5        "page": "https://good.site/url"
     6      },
     7      "imp": [{
     8        "id": "test-imp-id",
     9        "banner": {
    10          "format": [{
    11            "w": 300,
    12            "h": 250
    13          }]
    14        },
    15        "ext": {
    16          "bidder": {
    17            "placementId": 13245
    18          }
    19        }
    20      }],
    21      "user": {
    22        "ext":{"consent":"ABC","ConsentedProvidersSettings":{"consented_providers":"1~10.20.90"}}
    23      }
    24    },
    25  
    26    "httpCalls": [{
    27      "expectedRequest": {
    28        "uri": "http://localhost/pbs",
    29        "body": {
    30          "id": "addtl-consent-request-id",
    31          "site": {
    32            "page": "https://good.site/url"
    33          },
    34          "imp": [{
    35            "id": "test-imp-id",
    36            "banner": {
    37              "format": [{
    38                "w": 300,
    39                "h": 250
    40              }]
    41            },
    42            "ext": {
    43              "bidder": {
    44                "placementId": 13245
    45              }
    46            }
    47          }],
    48          "user": {
    49            "ext": {"consent": "ABC","ConsentedProvidersSettings":{"consented_providers":"1~10.20.90"},"consented_providers_settings": {"consented_providers": [10,20,90]}
    50            }
    51          }
    52        }
    53      },
    54      "mockResponse": {
    55        "status": 200,
    56        "body": {
    57          "id": "addtl-consent-request-id",
    58          "seatbid": [{
    59            "seat": "improvedigital",
    60            "bid": [{
    61              "id": "randomid",
    62              "impid": "test-imp-id",
    63              "price": 0.500000,
    64              "adid": "12345678",
    65              "adm": "some-test-ad",
    66              "cid": "987",
    67              "crid": "12345678",
    68              "h": 250,
    69              "w": 300
    70            }]
    71          }],
    72          "cur": "USD"
    73        }
    74      }
    75    }],
    76  
    77    "expectedBidResponses": [{
    78      "currency": "USD",
    79      "bids": [{
    80        "bid": {
    81          "id": "randomid",
    82          "impid": "test-imp-id",
    83          "price": 0.5,
    84          "adm": "some-test-ad",
    85          "adid": "12345678",
    86          "cid": "987",
    87          "crid": "12345678",
    88          "w": 300,
    89          "h": 250
    90        },
    91        "type": "banner"
    92      }]
    93    }]
    94  }