From dd6b01b06ee814e55dd2cf8e4367046a6a040c1d Mon Sep 17 00:00:00 2001 From: wy <1402628279@qq.com> Date: Mon, 28 Jun 2021 10:25:26 +0400 Subject: [PATCH 1/3] Create huaweiads.md --- dev-docs/bidders/huaweiads.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..5edbacdda1 --- /dev/null +++ b/dev-docs/bidders/huaweiads.md @@ -0,0 +1,33 @@ +--- +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 space material on the platform and get the corresponding ( slotid, adtype ). +4. We need OAID in our request, so when using prebidmobile, please add something like "TargetingParams.addUserData("oaid", "oaid-test")". + +### 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` | From c06a41641949890897c51d98ad1d1c9594e98547 Mon Sep 17 00:00:00 2001 From: wy <1402628279@qq.com> Date: Mon, 28 Jun 2021 17:19:20 +0400 Subject: [PATCH 2/3] Update huaweiads.md --- dev-docs/bidders/huaweiads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/bidders/huaweiads.md b/dev-docs/bidders/huaweiads.md index 5edbacdda1..3edecb7ba0 100644 --- a/dev-docs/bidders/huaweiads.md +++ b/dev-docs/bidders/huaweiads.md @@ -18,7 +18,7 @@ prebid_member: false 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 space material on the platform and get the corresponding ( slotid, adtype ). +3. You need to create your advertising creative on the platform and get the corresponding ( slotid, adtype ). 4. We need OAID in our request, so when using prebidmobile, please add something like "TargetingParams.addUserData("oaid", "oaid-test")". ### Bid Params From 1f0bf8be1c3f32ffd48c262a73b33a60229f75e5 Mon Sep 17 00:00:00 2001 From: wy <1402628279@qq.com> Date: Mon, 2 Aug 2021 18:38:24 +0400 Subject: [PATCH 3/3] Update huaweiads.md add clientTime --- dev-docs/bidders/huaweiads.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-docs/bidders/huaweiads.md b/dev-docs/bidders/huaweiads.md index 3edecb7ba0..913f164f37 100644 --- a/dev-docs/bidders/huaweiads.md +++ b/dev-docs/bidders/huaweiads.md @@ -19,7 +19,8 @@ The Example Bidding adapter requires setup before beginning. Please contact us a 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 in our request, so when using prebidmobile, please add something like "TargetingParams.addUserData("oaid", "oaid-test")". +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