-
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.
Add Document For New Adapter: HuaweiAds (#3071)
* Create huaweiads.md * Update huaweiads.md * Update huaweiads.md add clientTime
- Loading branch information
Showing
1 changed file
with
34 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,34 @@ | ||
--- | ||
layout: bidder | ||
title: HuaweiAds | ||
description: Prebid HuaweiAds Bidder Adapter | ||
biddercode: huaweiads | ||
gvl_id: 856 | ||
media_types: banner, video, native | ||
safeframes_ok: false | ||
bidder_supports_deals: true | ||
pbjs: false | ||
pbs: true | ||
pbs_app_supported: true | ||
prebid_member: false | ||
--- | ||
|
||
### Note: | ||
|
||
The Example Bidding adapter requires setup before beginning. Please contact us at hwads@huawei.com. | ||
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. | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|---------------|----------|--------------|-----------|----------| | ||
| `publisherid` | required | Publisher Id | `'2001000399'` | `string` | | ||
| `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` | |