-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Updated CleanMediaNet reference to the gamoshi adaptor code, update documentations. #6192
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 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
24b3241
- Updated Gamoshi Adapter documentation
mmoses 04e8d53
added newline to the end
mmoses 175f09a
Merge branch 'master' into clean-media-alias
mmoses 84d2a75
Merge branch 'master' into clean-media-alias
mmoses 8212616
Update dev-docs/bidders/cleanmedianet.md
mmoses e553fad
Update dev-docs/bidders/gambid.md
mmoses 754a80f
Update dev-docs/bidders/gambid.md
mmoses 26d2e6d
Update dev-docs/bidders/gamoshi.md
mmoses 4cc2514
Update dev-docs/bidders/gamoshi.md
mmoses b6df6bb
Merge branch 'master' into clean-media-alias
mmoses 8ba5154
fixing markdown liniting errors
mmoses 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 was deleted.
Oops, something went wrong.
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
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 |
|---|---|---|
| @@ -1,22 +1,156 @@ | ||
| --- | ||
| layout: bidder | ||
| title: Gambid | ||
| description: Prebid Gambid Bidder Adaptor | ||
|
|
||
| top_nav_section: dev_docs | ||
| nav_section: reference | ||
|
|
||
| description: Prebid Gambid Bidder Adapter | ||
| biddercode: gambid | ||
| pbjs: true | ||
| pbs: true | ||
| media_types: banner, video | ||
| biddercode: gambid | ||
| aliasCode: gamoshi | ||
| userIds: id5Id, unifiedId | ||
| userIds: all | ||
| gvl_id: 644 | ||
| tcfeu_supported: true | ||
| tcf2_supported: true | ||
mmoses marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| schain_supported: true | ||
| usp_supported: true | ||
| ortb_blocking_supported: true | ||
| multiformat_supported: will-bid-on-one | ||
| sidebarType: 1 | ||
| aliasCode: gamoshi | ||
| --- | ||
|
|
||
| ### Bid params | ||
|
|
||
| {: .table .table-bordered .table-striped } | ||
| | Name | Scope | Description | Example | Type | | ||
| | Name | Scope | Description | Example | Type | | ||
| |-------------------|----------|---------------------------------------------------------------|----------------------|----------| | ||
| | `supplyPartnerId` | required | ID of the supply partner | `'12345'` | `string` | | ||
| | `supplyPartnerId` or `inventory_id` or `supply_partner_id` | required | ID of the supply partner. This parameter can be either a `string` or `integer` for Prebid.js, however `integer` is preferred | `12345` | `integer` | | ||
| | `bidfloor` | optional | Minimum acceptable bid price. Must be a positive number. | `0.5` | `number` | | ||
| | `instl` | optional | Interstitial flag (1 for interstitial, 0 for non-interstitial). | `1` | `integer` | | ||
| | `pos` | optional | Ad position on the page. | `1` | `integer` | | ||
| | `video` | optional | Object containing video targeting parameters. See [Video Object](#gambid-video-object) for details. | `video: { playback_method: ['auto_play_sound_off'] }` | `object` | | ||
|
|
||
| This adapter only requires you to provide your Inventory Id (Supply partner id), and optionally your RTB endpoint. | ||
|
|
||
| <a name="gambid-video-object"></a> | ||
mmoses marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| #### Video Object | ||
|
|
||
| For details on how these video params work with the params set in the adUnit.mediaTypes.video object. | ||
|
|
||
| {: .table .table-bordered .table-striped } | ||
| | Name | Description | Type | | ||
| |-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------| | ||
| | `minduration` | Integer that defines the minimum video ad duration in seconds. | `integer` | | ||
| | `maxduration` | Integer that defines the maximum video ad duration in seconds. | `integer` | | ||
| | `protocols` | Array of integers listing the supported video protocols (VAST versions). | `Array<integer>` | | ||
| | `mimes` | Array of strings listing the supported MIME types for the video creative. | `Array<string>` | | ||
| | `pos` | Ad position on the screen. | `integer` | | ||
| | `api` | Array of integers listing the supported API frameworks. | `Array<integer>` | | ||
| | `skip` | Indicates if the player will allow the video to be skipped (0 = no, 1 = yes). | `integer` | | ||
| | `plcmt` | Video placement type. | `integer` | | ||
| | `placement` | Placement type for the impression. | `integer` | | ||
| | `playbackmethod` | Array of integers listing the playback methods. | `Array<integer>` | | ||
| | `startdelay` | Indicates the offset of the ad placement from the start of the video content. | `integer` | | ||
| | `context` | Content context (e.g., 'instream', 'outstream'). | `string` | | ||
|
|
||
| ### Example Ad Unit Configurations | ||
|
|
||
| #### Banner Ad Unit | ||
|
|
||
| ```javascript | ||
| var adUnits = [ | ||
| { | ||
| code: 'banner-div', | ||
| mediaTypes: { | ||
| banner: { | ||
| sizes: [[300, 250], [728, 90]] | ||
| } | ||
| }, | ||
| bids: [ | ||
| { | ||
| bidder: 'gambid', | ||
| params: { | ||
| supplyPartnerId: 12345, | ||
| bidfloor: 0.5, | ||
| pos: 1 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ]; | ||
| ``` | ||
|
|
||
| #### Video Ad Unit (Instream) | ||
|
|
||
| ```javascript | ||
| var adUnits = [ | ||
| { | ||
| code: 'video-div', | ||
| mediaTypes: { | ||
| video: { | ||
| playerSize: [[640, 480]], | ||
| context: 'instream', | ||
| mimes: ['video/mp4', 'video/webm'], | ||
| protocols: [2, 3, 5, 6], | ||
| maxduration: 30, | ||
| api: [1, 2] | ||
| } | ||
| }, | ||
| bids: [ | ||
| { | ||
| bidder: 'gambid', | ||
| params: { | ||
| supplyPartnerId: 12345, | ||
| video: { | ||
| minduration: 5, | ||
| maxduration: 30, | ||
| protocols: [2, 3, 5, 6], | ||
| mimes: ['video/mp4', 'video/webm'], | ||
| playbackmethod: [2], | ||
| skip: 1, | ||
| startdelay: 0, | ||
| api: [1, 2], | ||
| plcmt: 1 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ]; | ||
| ``` | ||
|
|
||
| #### Video Ad Unit (Outstream) | ||
|
|
||
| ```javascript | ||
| var adUnits = [ | ||
| { | ||
| code: 'outstream-div', | ||
| mediaTypes: { | ||
| video: { | ||
| playerSize: [[640, 480]], | ||
| context: 'outstream', | ||
| mimes: ['video/mp4', 'video/webm'] | ||
| } | ||
| }, | ||
| bids: [ | ||
| { | ||
| bidder: 'gambid', | ||
| params: { | ||
| supplyPartnerId: 12345, | ||
| rendererUrl: 'https://example.com/outstream-renderer.js', | ||
| video: { | ||
| minduration: 5, | ||
| maxduration: 30, | ||
| protocols: [2, 3, 5, 6], | ||
| mimes: ['video/mp4', 'video/webm'], | ||
| playbackmethod: [2], | ||
| placement: 3, | ||
| plcmt: 3, | ||
| context: 'outstream' | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ]; | ||
| ``` | ||
Oops, something went wrong.
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.
What happened to this bid adapter? Is this documentation still relevant for some publishers?
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.
9mediaonline was one of our customers, but we are no longer provide services to them.
their adapter was using an aliasCode: gamoshi.