HMS Ads kit example
Project was created to show Huawei Ads kit integration also After clone and run it on device, you can see ads types.
App consist of three parts that includes different kind of ads.
- First Activity shows us type of Splash Ads After that you will be redirected to Main activity that contains a banner ads and inputs for game.
- We try to find random number that was generated in Main activity before start. If random number isn't found in three chances, Game will be finished. If you want to try one more time , You need to watch Splash Ads. After watch it, you will obtaine one chance.
Currently , HMS contains 5 kind of ads kits.If you want to learn detail information all ad kits , you can click link that is at end of ad definition
Native Ads : Native ads are typical ad materials that are displayed on the customized interface of an app so that they can fit seamlessly into the surrounding content in the app.
Banner Ads : Banner ads are rectangular images that occupy a spot at the top, middle, or bottom within an app’s layout. Banner ads refresh automatically at intervals. When a user taps a banner ad, the user is redirected to the advertiser’s page in most cases.
Rewarded Ads : Rewarded ads are full-screen video ads that users opt to view in exchange for in-app rewards.
Interstitial ads : Interstitial ads are full-screen ads that cover the interface of an app. Such ads are displayed when a user starts, pauses, or exits an app, without disrupting the user’s experience.
Splash ads : Splash ads are displayed immediately after an app is launched, even before the home screen of the app is displayed.