From 18e9a68cf77456c82a8e282a9e51502c8490f9a5 Mon Sep 17 00:00:00 2001 From: wy <1402628279@qq.com> Date: Thu, 26 Aug 2021 20:22:44 +0400 Subject: [PATCH] Add Document For New Adapter: HuaweiAds (#3071) * Create huaweiads.md * Update huaweiads.md * Update huaweiads.md add clientTime --- dev-docs/bidders/huaweiads.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-docs/bidders/huaweiads.md diff --git a/dev-docs/bidders/huaweiads.md b/dev-docs/bidders/huaweiads.md new file mode 100644 index 0000000000..913f164f37 --- /dev/null +++ b/dev-docs/bidders/huaweiads.md @@ -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` |