github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/amp/consent-through-query/addtl-consent-through-query.json (about)

     1  {
     2    "description": "Additional consent providers string passed through query: expect user.ext.ConsentedProvidersSettings.consented_providers to be set to the addtl_consent string",
     3    "query": "tag_id=101&addtl_consent=1~1.35.41.101",
     4    "config": {
     5      "mockBidders": [
     6        {
     7          "bidderName": "appnexus",
     8          "currency": "USD",
     9          "price": 15
    10        }
    11      ]
    12    },
    13    "mockBidRequest": {
    14      "id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5",
    15      "site": {
    16        "page": "prebid.org"
    17      },
    18      "imp": [
    19        {
    20          "id": "/19968336/header-bid-tag-0",
    21          "banner": {
    22            "format": [
    23              {
    24                "w": 300,
    25                "h": 600
    26              }
    27            ]
    28          },
    29          "ext": {
    30            "appnexus": {
    31              "placementId": 12883451
    32            }
    33          }
    34        }
    35      ]
    36    },
    37    "expectedValidatedBidRequest": {
    38      "id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5",
    39      "site": {
    40        "page": "prebid.org",
    41        "ext": {
    42          "amp": 1
    43        }
    44      },
    45      "device": {
    46        "ip": "192.0.2.1"
    47      },
    48      "at": 1,
    49      "imp": [
    50        {
    51          "id": "/19968336/header-bid-tag-0",
    52          "banner": {
    53            "format": [
    54              {
    55                "w": 300,
    56                "h": 600
    57              }
    58            ]
    59          },
    60          "secure": 1,
    61          "ext": {
    62            "prebid": {
    63              "bidder": {
    64                "appnexus": {
    65                  "placementId": 12883451
    66                }
    67              }
    68            }
    69          }
    70        }
    71      ],
    72      "user": {
    73        "ext": {
    74          "ConsentedProvidersSettings": {
    75            "consented_providers": "1~1.35.41.101"
    76          },
    77          "consented_providers_settings": {
    78            "consented_providers": [
    79              1,
    80              35,
    81              41,
    82              101
    83            ]
    84          }
    85        }
    86      },
    87      "ext": {
    88        "prebid": {
    89          "cache": {
    90            "bids": {}
    91          },
    92          "channel": {
    93            "name": "amp",
    94            "version": ""
    95          },
    96          "targeting": {
    97            "pricegranularity": {
    98              "precision": 2,
    99              "ranges": [
   100                {
   101                  "min": 0,
   102                  "max": 20,
   103                  "increment": 0.1
   104                }
   105              ]
   106            },
   107            "includewinners": true,
   108            "includebidderkeys": true,
   109            "mediatypepricegranularity": {}
   110          }
   111        }
   112      }
   113    },
   114    "expectedAmpResponse": {
   115      "targeting": {
   116        "hb_bidder": "appnexus",
   117        "hb_bidder_appnexus": "appnexus",
   118        "hb_cache_host": "www.pbcserver.com",
   119        "hb_cache_host_appnex": "www.pbcserver.com",
   120        "hb_cache_id": "0",
   121        "hb_cache_id_appnexus": "0",
   122        "hb_cache_path": "/pbcache/endpoint",
   123        "hb_cache_path_appnex": "/pbcache/endpoint",
   124        "hb_pb": "15.00",
   125        "hb_pb_appnexus": "15.00"
   126      },
   127      "ortb2": {
   128        "ext": {
   129          "warnings": {
   130            "general": [
   131              {
   132                "code": 10002,
   133                "message": "debug turned off for account"
   134              }
   135            ]
   136          }
   137        }
   138      }
   139    },
   140    "expectedReturnCode": 200
   141  }