-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add new Adverxo Bidder alias: harrenmedia #6322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,115 @@ | ||
| --- | ||
| layout: bidder | ||
| title: Harrenmedia | ||
| description: Prebid Harrenmedia Bidder Adapter | ||
| aliasCode: adverxo | ||
| pbjs: true | ||
| pbs: true | ||
| pbs_app_supported: true | ||
| biddercode: harrenmedia | ||
| userIds: | ||
| media_types: banner, native, video | ||
| schain_supported: true | ||
| dchain_supported: false | ||
| ortb_blocking_supported: true | ||
| floors_supported: true | ||
| multiformat_supported: will-bid-on-any | ||
| tcfeu_supported: false | ||
| dsa_supported: false | ||
| gvl_id: none | ||
| usp_supported: false | ||
| coppa_supported: false | ||
| gpp_sids: none | ||
| userId: no | ||
| safeframes_ok: false | ||
| deals_supported: true | ||
| fpd_supported: true | ||
| prebid_member: false | ||
| privacy_sandbox: no | ||
| sidebarType: 1 | ||
| --- | ||
|
|
||
| ### Note | ||
|
|
||
| The Harrenmedia Bidding adapter requires setup and approval before beginning. Please reach out to <[email protected]> for | ||
| more details. | ||
|
|
||
| ### Bid Params | ||
|
|
||
| {: .table .table-bordered .table-striped } | ||
| | Name | Scope | Description | Example | Type | | ||
| |----------|----------|-----------------------|---------------------------|----------| | ||
| | `adUnitId` | required | Unique identifier for the ad unit in Harrenmedia platform. | `1` | `integer` | | ||
| | `auth` | required | Authentication token provided by Harrenmedia platform for the AdUnit. |`'61336e75e414c77c367eq5c47c2599ce80a8032b'` | `string` | | ||
|
|
||
| ### Setting First Party Data (FPD) | ||
|
|
||
| Publishers should use the `ortb2` method of setting First Party Data. The following fields are supported: | ||
|
|
||
| - ortb2.site.\* | ||
| - ortb2.app.\* | ||
| - ortb2.user.\* | ||
|
|
||
| Example first party data: | ||
|
|
||
| ```javascript | ||
| pbjs.setConfig({ | ||
| ortb2: { | ||
| site: { | ||
| keywords: "kw1,kw2", | ||
| content: { | ||
| title: "title1", | ||
| series: "series1" | ||
| } | ||
| }, | ||
| user: { | ||
| keywords: "a,b", | ||
| gender: "M", | ||
| yob: 1984 | ||
| } | ||
| } | ||
| }); | ||
| ``` | ||
|
|
||
| ### ORTB Blocking | ||
|
|
||
| Harrenmedia supports the next blocking parameters: | ||
|
|
||
| - Blocked advertisers list (`badv`) is an array of domains as strings. | ||
| - Blocked apps list (`bapp`) is an array of apps names as strings, for mobile apps in Google Play Store, these should be | ||
| bundle or package names (e.g. com.foo.mygame). For apps in Apple App Store, these should be a numeric ID. | ||
| - Blocked categories list (`bcat`) is an array of IAB categories as strings. | ||
| - Blocked attributes list (`battr`) is an array of integers. Refer to section 5.3 of the IAB specification for a list of | ||
| attributes. | ||
|
|
||
| #### Globally defined ORTB Blocking | ||
|
|
||
| ```javascript | ||
| pbjs.setConfig({ | ||
| ortb2: { | ||
| badv: ["domain1.com", "domain2.com"], | ||
| bapp: ["com.foo.mygame", "284708449"], | ||
| bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"] | ||
| } | ||
| }); | ||
| ``` | ||
|
|
||
| #### ORTB Blocking specific only to the Harrenmedia bidder | ||
|
|
||
| ```javascript | ||
| pbjs.setBidderConfig({ | ||
| bidders: ['harrenmedia'], | ||
| config: { | ||
| ortb2: { | ||
| badv: ["domain1.com", "domain2.com"], | ||
| bapp: ["com.foo.mygame"], | ||
| bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"] | ||
| } | ||
| } | ||
| }); | ||
| ``` | ||
|
|
||
| #### Media Type defined ORTB Blocking | ||
|
|
||
| Additionally `battr` ORTB blocking param may be set on media types to specify blocked creative | ||
| attributes. Refer to section 5.3 of the IAB specification for a list of attributes. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may set these to false, then this can be merged right away as the prebid.js adapter is already released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muuki88 Done