[Gametize Tech] Feature Knowledge: Google Ad on Mobile App
FeaturedGeneral
Google Ad will show if the project is a free plan or plan that had exceeded ad-free player counts.
In order to show Google Ad, there are two bool flag that determine if a project should shows ad.
-
Bool value of
enabledGoogleAd
found itconfig.dart
underGoogleAdConfig
-
Under project object, bool value of
showAds
Both bool condition must be true
for Google Ad to shows up.
Ad Type
Banner Ad
Banner ad are ads that appear like a banner that will not cause any disturbance to app flow.
Currently banner ads are only show in page where it contain list of items. It is now show in the following list.
-
Topic list
-
Challenge list
-
Activity list (Completion list)
All banner ad showing logic follows the same which are show banner ad on x position in the list per page. For example, if the x position was set to 2, meaning every page load for items in the list, second item shown will always be banner ad. The value can be configured in config.dart
, look for corresponding BannerAdPosition
value.
*Currently the ad position value was set to 2
Interstitial Ad
Interstitial ad are ad that show up and takes up all the screen, and will prevent user from using the app until user have dismiss the ad with the cancel/close button. Usually interstitial ad will force user to see the ad for 5 seconds (some have more) before cancel/close button appear for user to dismiss it.
Currently interstitial ad are only show in the following action
-
Completed a challenge
-
Click on next challenge/topic button
Completed a challenge
First completion after updated the app to support Google Ad will always trigger interstitial ad. And after that it will follow value of challengeCompletionInterstitialAdShowCount
set in config.dart
to show the next interstitial ad after x amount of completion. For example, when it is set to 5, then after the fifth completion of a challenge, interstitial ad will be shown and the counter reset back to 0 vice versa. However, additional condition was added to show interstitial ad, if the app went to background for more than x amount of time (showInterstitialAdBackgroundTime
in config.dart
) then when the app resume, regardless of the counter it has previously it will always show interstitial ad after user completed a challenge and the counter reset again.
*Currently the completion count value was set to 5 and 2 minutes for background time
Click on next challenge/topic button
Interstitial ad will be shown after user click x amount of next challenge/topic button. The value is configured at nextChallengeActionInterstitialAdShowCount
in config.dart
. For example, when it is set to 5, then after the fifth click of next action button, interstitial ad will be shown and the counter reset back to 0 vice versa.
*Currently the next challenge action count value was set to 5
Note:
The article's technical specifications and details are subject to potential changes based on our discretion. It is important to note that the information presented in the article might have become outdated or lost its relevance in the present context.
If you are interested to learn more about this, please drop an email to support@gametize.com with your queries regarding the article!
-
Redzuan Hakim This advertisements feature is not new and has always been part of our platform, but it was only recently implemented in Gametize App 2.0. You may refer to our pricing page to find out more about the ad-free player counts for the different plans here: https://gametize.com/pricing.
Please sign in to leave a comment.
Comments
2 comments