-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6dbf27
commit 1fa7cd8
Showing
4 changed files
with
83 additions
and
17 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
80 changes: 80 additions & 0 deletions
80
firstpartydata/tests/extractfpdforbidders/req-empty-user-fpd-not-empty-user.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,80 @@ | ||
{ | ||
"description": "req.user is not present but req.ext.prebid.bidderconfig contains user for bidder; expect req.user to present in the resolved bidders FPD", | ||
"inputRequestData": { | ||
"id": "bid_id", | ||
"test": 1, | ||
"ext": { | ||
"prebid": { | ||
"data": { | ||
"bidders": ["appnexus"] | ||
}, | ||
"bidderconfig": [ | ||
{ | ||
"bidders": [ | ||
"appnexus" | ||
], | ||
"config": { | ||
"ortb2": { | ||
"user": { | ||
"id": "appnexusFpdUser", | ||
"yob": 2011, | ||
"gender": "F", | ||
"keywords": "fpd keywords", | ||
"data": [ | ||
{ | ||
"id": "FpdUserDataId1", | ||
"name": "FpdUserDataName1" | ||
}, | ||
{ | ||
"id": "FpdUserDataId2", | ||
"name": "FpdUserDataName2" | ||
} | ||
], | ||
"ext": { | ||
"data": { | ||
"userdata": "appnexusFpdUserExtData" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"outputRequestData": { | ||
"id": "bid_id", | ||
"test": 1 | ||
}, | ||
"biddersFPDResolved": { | ||
"appnexus": { | ||
"user": { | ||
"yob": 2011, | ||
"gender": "F", | ||
"keywords": "fpd keywords", | ||
"data": [ | ||
{ | ||
"id": "FpdUserDataId1", | ||
"name": "FpdUserDataName1" | ||
}, | ||
{ | ||
"id": "FpdUserDataId2", | ||
"name": "FpdUserDataName2" | ||
} | ||
], | ||
"ext": { | ||
"data": { | ||
"ext": { | ||
"data": { | ||
"userdata": "appnexusFpdUserExtData" | ||
} | ||
}, | ||
"id": "appnexusFpdUser" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"validationErrors": [] | ||
} |
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