github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/amp/consent-through-query/gdpr-tcf1-consent-through-query.json (about)

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