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

     1  {
     2    "description": "CCPA consent type, valid US privacy string: expect regs.ext.gdpr set to 0 and user.ext.us_privacy set to the US string",
     3    "query": "tag_id=101&consent_type=3&consent_string=1YYY",
     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            "prebid": {
    31              "bidder": {
    32                "appnexus": {
    33                  "placementId": 12883451
    34                }
    35              }
    36            }
    37          }
    38        }
    39      ]
    40    },
    41    "expectedValidatedBidRequest": {
    42      "id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5",
    43      "site": {
    44        "page": "prebid.org",
    45        "ext": {
    46          "amp": 1
    47        }
    48      },
    49      "device": {
    50        "ip": "192.0.2.1"
    51      },
    52      "at": 1,
    53      "imp": [
    54        {
    55          "id": "/19968336/header-bid-tag-0",
    56          "banner": {
    57            "format": [
    58              {
    59                "w": 300,
    60                "h": 600
    61              }
    62            ]
    63          },
    64          "secure": 1,
    65          "ext": {
    66            "prebid": {
    67              "bidder": {
    68                "appnexus": {
    69                  "placementId": 12883451
    70                }
    71              }
    72            }
    73          }
    74        }
    75      ],
    76      "regs": {
    77        "ext": {
    78          "us_privacy": "1YYY"
    79        }
    80      },
    81      "ext": {
    82        "prebid": {
    83          "cache": {
    84            "bids": {}
    85          },
    86          "channel": {
    87            "name": "amp",
    88            "version": ""
    89          },
    90          "targeting": {
    91            "pricegranularity": {
    92              "precision": 2,
    93              "ranges": [
    94                {
    95                  "min": 0,
    96                  "max": 20,
    97                  "increment": 0.1
    98                }
    99              ]
   100            },
   101            "includewinners": true,
   102            "includebidderkeys": true,
   103            "mediatypepricegranularity": {}
   104          }
   105        }
   106      }
   107    },
   108    "expectedAmpResponse": {
   109      "targeting": {
   110        "hb_bidder": "appnexus",
   111        "hb_bidder_appnexus": "appnexus",
   112        "hb_cache_host": "www.pbcserver.com",
   113        "hb_cache_host_appnex": "www.pbcserver.com",
   114        "hb_cache_id": "0",
   115        "hb_cache_id_appnexus": "0",
   116        "hb_cache_path": "/pbcache/endpoint",
   117        "hb_cache_path_appnex": "/pbcache/endpoint",
   118        "hb_pb": "15.00",
   119        "hb_pb_appnexus": "15.00"
   120      },
   121      "ortb2": {
   122        "ext": {
   123          "warnings": {
   124            "general": [
   125              {
   126                "code": 10002,
   127                "message": "debug turned off for account"
   128              }
   129            ]
   130          }
   131        }
   132      }
   133    },
   134    "expectedReturnCode": 200
   135  }