github.com/prebid/prebid-server/v2@v2.18.0/adapters/sovrn/sovrntest/supplemental/gdpr.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "tagid": "123456"
    22            }
    23          }
    24        }
    25      ],
    26      "device": {
    27        "ua": "test-user-agent",
    28        "ip": "123.123.123.123",
    29        "language": "en",
    30        "dnt": 0
    31      },
    32      "site": {
    33        "domain": "www.publisher.com",
    34        "page": "http://www.publisher.com/awesome/site"
    35      },
    36      "user": {
    37        "buyeruid": "test_reader_id",
    38        "ext": {
    39          "consent": "consent-string"
    40        }
    41      },
    42      "regs": {
    43        "ext": {
    44          "gdpr": 1
    45        }
    46      }
    47    },
    48  
    49    "httpCalls": [
    50      {
    51        "expectedRequest": {
    52          "headers": {
    53            "Content-Type": ["application/json"],
    54            "User-Agent": ["test-user-agent"],
    55            "X-Forwarded-For": ["123.123.123.123"],
    56            "Accept-Language": ["en"],
    57            "Dnt": ["0"],
    58            "Cookie": ["ljt_reader=test_reader_id"]
    59          },
    60          "uri": "http://sovrn.com/test/endpoint",
    61          "body": {
    62            "id": "test-request-id",
    63            "imp": [
    64              {
    65                "id": "test-imp-id",
    66                "banner": {
    67                  "format": [
    68                    {
    69                      "w": 300,
    70                      "h": 250
    71                    },
    72                    {
    73                      "w": 300,
    74                      "h": 600
    75                    }
    76                  ]
    77                },
    78                "tagid": "123456",
    79                "ext": {
    80                  "bidder": {
    81                    "tagid": "123456"
    82                  }
    83                }
    84              }
    85            ],
    86            "site": {
    87              "domain": "www.publisher.com",
    88              "page": "http://www.publisher.com/awesome/site"
    89            },
    90            "user": {
    91              "buyeruid": "test_reader_id",
    92              "ext": {
    93                "consent": "consent-string"
    94              }
    95            },
    96            "device": {
    97              "ua": "test-user-agent",
    98              "ip": "123.123.123.123",
    99              "dnt": 0,
   100              "language": "en"
   101            },
   102            "regs": {
   103              "ext": {
   104                "gdpr": 1
   105              }
   106            }
   107          },
   108          "impIDs":["test-imp-id"]
   109        },
   110        "mockResponse": {
   111          "status": 200,
   112          "body": {
   113            "id": "test-request-id",
   114            "seatbid": [
   115              {
   116                "bid": [
   117                  {
   118                    "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   119                    "impid": "test-imp-id",
   120                    "price": 3.5,
   121                    "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   122                    "adm": "some-test-ad",
   123                    "w": 300,
   124                    "h": 250
   125                  }
   126                ]
   127              }
   128            ]
   129          }
   130        }
   131      }
   132    ],
   133  
   134    "expectedBidResponses": [
   135      {
   136        "currency": "USD",
   137        "bids": [
   138          {
   139            "bid": {
   140              "id": "a_449642_554a13d3b9f348fba707cf83f0f63800",
   141              "impid": "test-imp-id",
   142              "price": 3.5,
   143              "adm": "some-test-ad",
   144              "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800",
   145              "w": 300,
   146              "h": 250
   147            },
   148            "type": "banner"
   149          }
   150        ]
   151      }
   152    ]
   153  }