-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PBS USGen skiprate * Update pbs-usgen.md
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,3 +280,42 @@ public class MyPrivacyModule implements PrivacyModule, Loggable { | |
} | ||
} | ||
``` | ||
|
||
## Privacy Trace Log and Analytics | ||
|
||
The privacy module interface logs information that analytics adapters may want to consume. For example, if you're an analytics provider | ||
and want to check whether there was a skipRate config present, you can read the log for `skipped:true` and log however your analytics requires. | ||
|
||
For example: | ||
|
||
``` | ||
Check failure on line 291 in prebid-server/developers/add-a-privacy-module-java.md
|
||
{ | ||
"description": "Invocation of Activity Infrastructure.", | ||
"activity": "transmitUfpd", | ||
"activity_invocation_payload": { | ||
"component_type": "BIDDER", | ||
"component_name": "bidderA" | ||
} | ||
}, | ||
{ | ||
"description": "Setting the default invocation result.", | ||
"allow_by_default": true | ||
}, | ||
{ | ||
"description": "Processing rule.", | ||
"rule_configuration": { | ||
"and": [ | ||
{ | ||
"privacy_module": "iab.usgeneral", | ||
"skipped": true, | ||
"result": "ABSTAIN" | ||
} | ||
] | ||
}, | ||
"result": "ABSTAIN" | ||
}, | ||
``` | ||
|
||
## Further Reading | ||
|
||
- [Building a privacy module](/prebid-server/developers/add-a-privacy-module.html) | ||
Check failure on line 321 in prebid-server/developers/add-a-privacy-module-java.md
|
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