forked from prebid/prebid.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'prebid:master' into master
- Loading branch information
Showing
119 changed files
with
2,273 additions
and
269 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 |
---|---|---|
|
@@ -4,6 +4,8 @@ Please give a short description and check the matching checkboxes to help us rev | |
Please make the PR writeable. This allows us to fix typos, grammar and linting errors ourselves, which makes | ||
merging and reviewing a lot faster for everybody. | ||
⚠️ The documentation is merged after the related code changes are merged and release ⚠️ | ||
--> | ||
|
||
## 🏷 Type of documentation | ||
Check failure on line 11 in .github/pull_request_template.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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Ad Position | ||
|
||
The `adPosition` property allows developers to specify the position of the ad within the publisher's content. This property maps to the `pos` field in the OpenRTB specification under the `imp[].banner` or `imp[].video` objects, depending on the ad format. The possible values for this field could be found in the [respective specification](https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-positions-). | ||
|
||
You can set `adPosition` by using the following method: | ||
|
||
```kotlin | ||
adUnit.setAdPosition(AdPosition.FOOTER); | ||
``` |
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,9 @@ | ||
### Ad Position | ||
|
||
The `adPosition` property allows developers to specify the position of the ad within the publisher's content. This property maps to the `pos` field in the OpenRTB specification under the `imp[].banner` or `imp[].video` objects, depending on the ad format. The possible values for this field could be found in the [respective specification](https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-positions-). | ||
|
||
You can set `adPosition` by using the following property: | ||
|
||
```swift | ||
adUnit.adPosition = .footer | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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,115 @@ | ||
--- | ||
layout: bidder | ||
title: AdPort | ||
description: Prebid AdPort Bidder Adapter | ||
aliasCode: adverxo | ||
pbjs: true | ||
pbs: false | ||
pbs_app_supported: false | ||
biddercode: adport | ||
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 AdPort Bidding adapter requires setup and approval before beginning. Please reach out to <prebid@adport.com> for | ||
more details. | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|----------|----------|-----------------------|---------------------------|----------| | ||
| `adUnitId` | required | Unique identifier for the ad unit in AdPort platform. | `1` | `integer` | | ||
| `auth` | required | Authentication token provided by AdPort 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 | ||
|
||
AdPort 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 AdPort bidder | ||
|
||
```javascript | ||
pbjs.setBidderConfig({ | ||
bidders: ['adport'], // Or alias | ||
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. |
Oops, something went wrong.