Questions tagged [huawei-ads]

Use this tag for programming questions relating to Huawei Ads Kit. It is one of the services provided by Huawei HMS Core for developers. Huawei Ads provides developers with the Publisher service and advertising identifiers (OAID) to monetize app traffic while protecting user privacy.

Huawei Ads Kit provides the open advertising identifier (OAID) and install referrer capabilities for advertisers to deliver personalized ads and attribute conversions.

Huawei Ads Publisher Service utilizes Huawei's user base and data capabilities to deliver ad content to users.

Resources:

21 questions
6
votes
3 answers

Ad failed to load with error code 0(internal Error) - Huawei Ads Implementation

I m getting the above error continuously in demo Application. I have HMS core Version 5.0.0.329(Initial Version). My internet connection is stable. I have created test application on app gallery that has been approved but still same error. No luck…
4
votes
2 answers

What are the descriptons for Huawei AdsKit AdListener.onAdFailed error codes?

What are the descriptions for Huawei AdsKit AdListener.onAdFailed error codes? It works as expected in test mode, but not in production. I'm getting onAdFailed(3) : I/HiAdSDK.h: onAdFailed, errorCode:700 in the log for banner ads and…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
3
votes
1 answer

Implemented the Huawei Full ads SDK Ads on the GMS devices but Ads not coming Why?

I had implemented the Huawei Full Ads SDK Ads on the GMS devices and after that the ads were not coming up Why? Can anyone help me out? Thanks in advance!
3
votes
3 answers

Native Ads MediaView doesn't match constraint in Huawei Ads Implementation

I’m implementing the Native Ads in Android using Native Ads - Huawei documentation. When I come across to change the height of the MediaView according to Screen Size (0 dp), I have found that it couldn't be changed. Even though I have implemented…
3
votes
1 answer

Don't Create Threads in the preview window - Huawei Ads Implementation

I'm implementing the huawei ads in the android Application. I have go through all the https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/publisher-service-banner-0000001050066915 and successfully implemented the ads but android…
2
votes
1 answer

Facebook Audience Network ads are not working when the app is downloaded from Huawei AppGallery

I have an Android app that has been published on Play Store & I integrated Facebook Audience Network (FAN) ads into it. Since most of the new Huawei devices don't have Play Store, I published the same app to Huawei AppGallery. The problem is FAN ads…
2
votes
1 answer

Huawei Ads: check hms sdk available error

I'm trying to implement huawei ads in my app. I'm testing on samsung galaxy s7 with HMS Core 5.0.2.301 installed. I've tried running sample from https://github.com/HMS-Core/hms-ads-demo-java But I keep getting onRewardAdFailedToLoad error 3 which…
SMGhost
  • 3,867
  • 6
  • 38
  • 68
2
votes
1 answer

What Huawei AdsKit AdListener.onAdFailed errorCode 2 means?

I have integrated Huawei AdsKit (banner ads) and registered AdListener. onAdFailed is called with errorCode = 2. What can be a reason? There is something [strange] in the log (JSON error): 2021-01-12 23:26:11.107 30332-30332 I/HiAdSDK.ae: …
4ntoine
  • 19,816
  • 21
  • 96
  • 220
2
votes
1 answer

IOException in mReferrerClient.getInstallReferrer() with HMS Core version 5.0.1.307

I want to test my own app before going live after integrating with Huawei install Referrer SDK. I followed all the steps found in codelabs and the documentations and when i install the apk on the device , getInstallReferrer method throws…
1
vote
1 answer

My Huawei Ads are displaying only in some regions

My Apk is uploaded to AppGallery and my Huawei Ads are displaying successfully using Cloud Debugging , but only when I change the region to a country that is located in Asia or Africa . Ads are not displaying if the region selected is in Europe…
1
vote
2 answers

What are the allowed values for Huawei AdsKit `AdParam.Builder`?

What are the allowed enum values in AdParam.Builder, eg. setGender(int value)? I've tried using 1 and 2, but having Root obj class .. is invalid in the log: 2021-01-13 00:20:22.041 2138-2324 W/HiAdSDK.jd: Root obj class (class java.lang.Object) is…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
1
vote
1 answer

Why HMS Ads Kit in React Native displays package list missing error during build process?

While working with HMS Ads Kit in React Native, project gives package list missing error during build process of the Android folder in the Android Studio. How can resolve the issue?
Nithin
  • 932
  • 7
  • 14
1
vote
2 answers

Huawei Ads kit Banner Ad returns Error code 1

I am trying to integrate Huawei Ads kit to my application but it constantly returns me Error code 1 and fails showing any ad. I wish the errors would be more explanatory. Does anybody have an idea how can I solve this problem?
1
vote
1 answer

HMS Ads Kit-Error code 4 is returned when obtaining ads

When I use HUAWEI Ads SDK in Android Studio to load native ads and display them on my app, Error code -4 is returned,and log information: The ad is being requested and cannot be requested again. Why is this happening?
user13319119
0
votes
1 answer

execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function

execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function when the quick app accesses the advertising service
1
2