-
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.
added mediafilterRtdProvider.md documentation (#5022)
* added mediafilterRtdProvider.md * markdown linter fixes * fixed description * reviewed after feedback * fixed indent with markdownlint * couple of minor fixes --------- Co-authored-by: bretg <[email protected]>
- Loading branch information
1 parent
c822b4b
commit 9fb9335
Showing
1 changed file
with
49 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
layout: page_v2 | ||
title: The Media Trust Real-Time Ad Defense | ||
display_name: The Media Trust Real-Time Ad Defense | ||
description: Stop malware, redirects, scams, offensive ad content, heavy ads, and more from ruining your audience's experience. | ||
page_type: module | ||
module_type: rtd | ||
module_code : mediafilterRtdProvider | ||
enable_download : true | ||
vendor_specific: true | ||
sidebarType : 1 | ||
--- | ||
|
||
# The Media Trust Real-Time Ad Defense | ||
|
||
## Overview | ||
|
||
As malvertising, scams, and controversial and offensive ad content proliferate across the digital media ecosystem, publishers need advanced controls to both shield audiences from malware attacks and ensure quality site experience. Via a speedy script, The Media Trust empowers publisher Ad/Revenue Operations teams to block malware, high-risk ad platforms, heavy ads, ads with sensitive or objectionable content, and custom lists (e.g., competitors)—all in real-time. Customizable replacement code calls for a new ad to ensure impressions are still monetized. | ||
|
||
{: .alert.alert-warning :} | ||
To start using this module, please contact [The Media Trust](https://mediatrust.com/how-we-help/media-filter/) to get a script and configuration hash for module configuration. | ||
|
||
## Integration | ||
|
||
1. Build Prebid bundle with The Media Filter module included. | ||
|
||
```bash | ||
gulp build --modules=mediafilterRtdProvider | ||
``` | ||
|
||
2. Include the bundled script in your application. | ||
|
||
## Configuration | ||
|
||
Add configuration entry to `realTimeData.dataProviders` for The Media Filter module. | ||
|
||
```javascript | ||
pbjs.setConfig({ | ||
realTimeData: { | ||
dataProviders: [{ | ||
name: 'mediafilter', | ||
params: { | ||
// Replace <configurationHash> with the configuration hash provided by your sales rep | ||
configurationHash: '<configurationHash>' | ||
} | ||
}] | ||
} | ||
}); | ||
``` |