forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit warnings on conflicts between openrtb 2.6 pre GPP privacy and GPP (
- Loading branch information
Showing
8 changed files
with
333 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
endpoints/openrtb2/sample-requests/valid-whole/supplementary/gdpr-conflict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"description": "Well formed amp request with conflicting (2.6 gdpr consent vs. GPP) gdpr signals", | ||
"mockBidRequest": { | ||
"id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5", | ||
"site": { | ||
"page": "prebid.org", | ||
"publisher": { | ||
"id": "a3de7af2-a86a-4043-a77b-c7e86744155e" | ||
} | ||
}, | ||
"source": { | ||
"tid": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5" | ||
}, | ||
"tmax": 1000, | ||
"imp": [ | ||
{ | ||
"id": "/19968336/header-bid-tag-0", | ||
"ext": { | ||
"appnexus": { | ||
"placementId": 12883451 | ||
} | ||
}, | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
{ | ||
"w": 300, | ||
"h": 300 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"regs": { | ||
"gpp": "DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA~1NYN", | ||
"gpp_sid": [6], | ||
"gdpr": 1, | ||
"ext": { | ||
"us_privacy": "1YYY" | ||
} | ||
}, | ||
"user": { | ||
"consent": "CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA", | ||
"ext": {} | ||
} | ||
}, | ||
"expectedBidResponse": { | ||
"id":"b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5", | ||
"bidid":"test bid id", | ||
"nbr":0 | ||
}, | ||
"expectedReturnCode": 200 | ||
} |
56 changes: 56 additions & 0 deletions
56
endpoints/openrtb2/sample-requests/valid-whole/supplementary/gdpr-conflict2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"description": "Well formed amp request with conflicting (2.6 gdpr consent vs. GPP) gdpr consent strings", | ||
"mockBidRequest": { | ||
"id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5", | ||
"site": { | ||
"page": "prebid.org", | ||
"publisher": { | ||
"id": "a3de7af2-a86a-4043-a77b-c7e86744155e" | ||
} | ||
}, | ||
"source": { | ||
"tid": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5" | ||
}, | ||
"tmax": 1000, | ||
"imp": [ | ||
{ | ||
"id": "/19968336/header-bid-tag-0", | ||
"ext": { | ||
"appnexus": { | ||
"placementId": 12883451 | ||
} | ||
}, | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
{ | ||
"w": 300, | ||
"h": 300 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"regs": { | ||
"gpp": "DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA~1NYN", | ||
"gpp_sid": [2,6], | ||
"gdpr": 1, | ||
"ext": { | ||
"us_privacy": "1YYY" | ||
} | ||
}, | ||
"user": { | ||
"consent": "Invalid", | ||
"ext": {} | ||
} | ||
}, | ||
"expectedBidResponse": { | ||
"id":"b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5", | ||
"bidid":"test bid id", | ||
"nbr":0 | ||
}, | ||
"expectedReturnCode": 200 | ||
} |
Oops, something went wrong.