HMS-Core / hms-ads-demo-java

HUAWEI Ads SDK sample code. HUAWEI Ads SDK provides the banner, native, rewarded, interstitial and splash ad formats for integration.
https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/ads-sdk-introduction?ha_source=hms1
Apache License 2.0
57 stars 20 forks source link

Can we test Huawei Ads on Samsung Device? #21

Open khurramshafeeq opened 1 year ago

khurramshafeeq commented 1 year ago

Hi,

I have installed hms-ads-demo app on my Samsung device, but is shows "Ad failed to load with error code 2"

Can i test huawei ads on my samsung device?

xuxiapu commented 1 year ago

@khurramshafeeq 1.In case of error code 2, check whether the current network is available.Pls refer to the link. image 2.Currently, non-Huawei Android phones (outside the Chinese mainland) of the following manufacturers can also use HUAWEI Ads Publisher Service by integrating the Ads SDK (com.huawei.hms:ads-prime): HONOR, OPPO, vivo, Xiaomi, and Samsung. Pls refer to the link. image You need to change “implementation 'com.huawei.hms:ads-lite:13.4.54.300'” in the sample code to “ implementation 'com.huawei.hms:ads-prime:13.4.54.300'”. image