-
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.
Merge branch 'prebid:master' into master
- Loading branch information
Showing
28 changed files
with
354 additions
and
52 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
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,53 @@ | ||
--- | ||
layout: bidder | ||
title: Adlive Plus | ||
description: Adlive Plus adapter | ||
biddercode: adliveplus | ||
aliasCode: lucead | ||
tcfeu_supported: false | ||
gvl_id: none | ||
usp_supported: false | ||
coppa_supported: false | ||
schain_supported: false | ||
dchain_supported: false | ||
media_types: banner | ||
safeframes_ok: true | ||
deals_supported: true | ||
floors_supported: true | ||
fpd_supported: true | ||
pbjs: true | ||
pbs: false | ||
prebid_member: true/false | ||
ortb_blocking_supported: false | ||
privacy_sandbox: paapi | ||
sidebarType: 1 | ||
--- | ||
### Note | ||
|
||
The Adlive Plus adapter requires setup before beginning. Please contact us at [[email protected]](mailto:[email protected]). | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|---------------|----------|-----------------------|-----------|-----------| | ||
| `placementId` | required | Placement id | `'11111'` | `string` | | ||
|
||
### Test Parameters | ||
|
||
```javascript | ||
const adUnits = [ | ||
{ | ||
code: 'test-div', | ||
sizes: [[300, 250]], | ||
bids: [ | ||
{ | ||
bidder: 'adliveplus', | ||
params: { | ||
placementId: '1', | ||
} | ||
} | ||
] | ||
} | ||
]; | ||
``` |
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,36 @@ | ||
--- | ||
layout: bidder | ||
title: Digiad DMCC | ||
description: Digiad DMCC Adaptor | ||
biddercode: digiad | ||
pbjs: true | ||
pbs: false | ||
media_types: banner, native, video | ||
gvl_id: 14 (adkernel) | ||
tcfeu_supported: true | ||
gpp_supported: true | ||
usp_supported: true | ||
coppa_supported: true | ||
pbs_app_supported: false | ||
schain_supported: true | ||
userIds: all | ||
fpd_supported: true | ||
prebid_member: false | ||
ortb_blocking_supported: true | ||
multiformat_supported: will-bid-on-one | ||
floors_supported: true | ||
aliasCode: adkernel | ||
sidebarType: 1 | ||
--- | ||
|
||
### Note | ||
|
||
The Digiad DMCC bidding adapter requires setup and approval before implementation. Please reach out to <[email protected]> for more details. | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|----------|----------|-----------------------|---------------------------|----------| | ||
| `host` | required | RTB host | `'cpm.digidayin.com'` | `string` | | ||
| `zoneId` | required | Zone Id | 30164 | `integer` | |
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 |
---|---|---|
|
@@ -18,13 +18,7 @@ sidebarType: 1 | |
|
||
### Note | ||
|
||
The Example Bidding adapter requires setup before beginning. Please contact us at <[email protected]>. | ||
|
||
1. The following parameters need to be registered on the HuaweiAds platform, and at the same time, the permission to access the server interface needs to be opened on the HuaweiAds platform. | ||
2. You can find ( publisherid, signkey, keyid ) on the platform after registration. | ||
3. You need to create your advertising creative on the platform and get the corresponding ( slotid, adtype ). | ||
4. We need OAID, GAID, IMEI (One must not be empty, you can collect OAID first, or use GAID) in our request, so when using prebidmobile, please add something like "TargetingParams.addUserData("oaid", "oaid-test") TargetingParams.addUserData("gaid", "gaid-test") TargetingParams.addUserData("imei", "imei-test")". | ||
5. You can also send the clientTime to the HuaweiAds Adx server, like "TargetingParams.addUserData("clientTime", "2018-11-02 16:34:07.981+0800")". if not, it will use the prebid server time and zone. | ||
The Huawei Bidding adapter requires setup and approval before implementation. Please contact us at [[email protected]](mailto:[email protected]), also you can [submit a ticket online](https://developer.huawei.com/consumer/en/support/feedback/#/). | ||
|
||
### Bid Params | ||
|
||
|
@@ -35,4 +29,32 @@ The Example Bidding adapter requires setup before beginning. Please contact us a | |
| `signkey` | required | Sign Key | `'5d********82c38594f8b2bdfd9f********a398dca734932898e3********8d'` | `string` | | ||
| `keyid` | required | Key Id | `'2'` | `string` | | ||
| `slotid` | required | Slot Id | `'u42ohmaufh'` | `string` | | ||
| `adtype` | required | Ad Type | `'native'` | `string` | | ||
| `adtype` | required | Ad Type | `'banner','native','interstitial','rewarded'` | `string` | | ||
|
||
Notes: | ||
|
||
1. The following parameters need to be registered on the HuaweiAds platform, and at the same time, the permission to access the server interface needs to be opened on the HuaweiAds platform. | ||
2. You can find publisherid, signkey, and keyid on the platform after registration. | ||
3. You need to create your advertising creative on the platform and get the corresponding slotid and adtype. | ||
4. We require OAID (Open Advertising ID) or GAID (Google Advertising ID) in the request. OAID and GAID are non-permanent device identifiers that allow personalized ads to be served to users while protecting user data privacy. In most cases, OAID is used for HMS phones and GAID is used for GMS phones. GAID is collected by default. For OAID on HMS phones, app developers should call the AdvertisingIdClient.getAdvertisingIdInfo(mContext) method to [obtain the OAID](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/identifier-service-obtaining-oaid-sdk-0000001050064988), then add the OAID to the request using the Prebid SDK as shown below. | ||
5. The auction will use the Prebid Server time zone, but this can be by developers if they send the `clientTime` targeting parameter to the HuaweiAds Adx server using the Prebid SDK. For example: `TargetingParams.addUserData("clientTime", "2018-11-02 16:34:07.981+0800")`. | ||
|
||
### Obtain the OAID | ||
|
||
```java | ||
// Add the OAID to user data in prebid initialization | ||
if ( isHmsAvailable() ) { | ||
TargetingParams.addUserData("oaid", AdvertisingIdClient.Info info = AdvertisingIdClient.getAdvertisingIdInfo(getApplicationContext()).getId()); | ||
} | ||
|
||
//Determine the HMS availability | ||
public static boolean isHmsAvailable(Context context) { | ||
boolean isAvailable = false; | ||
if (null != context) { | ||
int result = HuaweiApiAvailability.getInstance().isHuaweiMobileServicesAvailable(context); | ||
isAvailable = (com.huawei.hms.api.ConnectionResult.SUCCESS == result); | ||
} | ||
Log.i(TAG, "isHmsAvailable: " + isAvailable); | ||
return isAvailable; | ||
} | ||
``` |
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,38 @@ | ||
--- | ||
layout: bidder | ||
title: MEDIAIMPACT | ||
description: Prebid MEDIAIMPACT Bidder Adapter | ||
pbjs: true | ||
biddercode: mediaimpact | ||
media_types: banner | ||
sidebarType: 1 | ||
tcfeu_supported: false | ||
dsa_supported: false | ||
gvl_id: none | ||
usp_supported: false | ||
coppa_supported: false | ||
gpp_sids: None | ||
schain_supported: false | ||
dchain_supported: false | ||
userId: () | ||
safeframes_ok: false | ||
deals_supported: false | ||
floors_supported: false | ||
fpd_supported: false | ||
pbs: false | ||
prebid_member: false | ||
multiformat_supported: will-bid-on-one | ||
ortb_blocking_supported: false | ||
privacy_sandbox: no | ||
--- | ||
|
||
### Note | ||
|
||
The MEDIAIMPACT Bidding adapter requires setup before beginning. Please contact us at [[email protected]](mailto:[email protected]). | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|-------------|----------|-------------|----------------------|-----------| | ||
| `partnerId` | required | Partner ID. | `6698` | `integer` | |
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
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
Oops, something went wrong.