[GUIDE] Show Unity Ads In Your App like a Pro, Aia Included

Hi Coders, I saw some members asking questions on how to use Unity Ads, So i decided to came with a Guide on how to show unity ads like a pro(Expert)

First of all you will need active Subscription otherwise you will not be Able to drag or export your Project. To buy subscription visit this Link: https://store.niotron.com/.

As you know the more you spend the more you earn(Do not take this seriously)

Okay Lets jump to our Simple and short Guide.

First of all to show Unity Ads you will need to initialize Unity Sdk and you will need to have you Unity Game Id.
Then you will drag and drop Screen initialize block and, also we will create a procedure in order to reduce the number of block, Lets give our procedure a name and drag on it all Unity initialize blocks include Banner,Interstitial and rewarded. (It depends on which ad format you wanna use)

Then we will create a variable which will handle you Unity game id, This will help you to tag a variable anywhere in you project rather than writing it anytime when you need to use it. Then our blocks will looks like this

image

blocks(144)

Then if you need to show unity banner just drag this block and place your placement id which you will get it from you Unity account dashboard.

blocks(147)
Also i recommend to uncheck visibility of banner and you will enable it to true once its loaded just check blocks below

image

Now we done with banner Lets jump to unity interstitial.
As we already Initialized Interstitial Sdk we will directly load our Placement. and we will show our ad, But Lets Add more some Blocks to make our Interstitial activity in modern way.

Here we will use module block so to specify some button clicks counts which will show our interstitial i suggest to show to show interstitial ad after at list 3 clicks otherwise you will annoy your users and they can Uninstall your app. Then blocks will looks like this.

Then we will Finish with Rewarded as you know we already initialized our Rewarded Sdk so the steps will be easy here just check these Blocks

Additional Make Sure you drag and drop blocks which will show some errors if ads are failed to load or to showing, i will use only banner blocks but you will drop the rest of remaining ads formats.

PROOF: The most needed thing here is Screenshots with a proof :wink: and here we go

  1. 2. 3. 4.

Thank you all so much.
Because I didn’t use any spelling checking programs, you can correct me if there are any typos so I can change them.
Download Aia file here. Unity_ads.aia (4.0 KB)

8 Likes

Fantastic work @connor

1 Like

Excellent guide :wink:
Thanks for making it

2 Likes

Thanks For Making A Pro level Guide :smiling_face_with_three_hearts:

2 Likes

Thank you all @Horizon @iaditya_nanda @hridu45

3 Likes

this helps alot… Keep the good work

1 Like

@connor Bro, I followed your instructions to implement Rewarded Ads But all time Rewarded Ads failed to load. Please help me Bro

1 Like

Please show your work what you have done

Show us your blocks

2 Likes

I Have A Question

How Much App Can we add for monitization in unity

ads dashboard.

Can we add as much as we want

1 Like

but the banner ads don’t go out what happens they only go out in test mode

May be its Unity Issue

1 Like

@connor Welcome back

1 Like

can you help me i have created an app “Famous Motivator” & in this app i have added clock component but my clock time is 360000 mean 6 Minutes but ads is showing before the time
i mean ads not showing on that time “360000” ads are showing in 01:45 - 02:50 Please Help me if you want than i can give you my aia file.

please Help Me

this is aia file :-
FM.aia (1.6 MB)

Please Fix it if you can and let me know what is the problem in this app

its not working i imported the same aia and also i have buy monetization component but still not working

1 Like

hi @connor

is this method will also work in other app inventors

by the way
thank you for this guidance

Hey Thanks For Your All Info. But Can You Please Make 1 Video About Unity Ads That how To use it in Right way and why you use this code i mean i want to know that how You Know about ads code Like This :heart_eyes: :kissing_heart:

Actually (November 2024):

11-03 17:07:26.759 16706 16706 W UnityAds: com.unity3d.services.UnityServices.initialize() (line:73) :: Unity Ads SDK initialize has already been called with different parameters:
11-03 17:07:26.759 16706 16706 W UnityAds: - Test Mode Current: false | Received: true
11-03 17:07:26.759 16706 16706 W UnityAds: Responding with first initialization result.
11-03 17:12:45.576 31460 31531 D UnityAds: com.unity3d.services.core.misc.Utilities.writeFile() (line:33882187) :: Wrote file: /data/user/0/com.lemon.lvoverseas/files/UnityAdsStorage-public-data.json
11-03 17:12:45.577 31460 31531 D UnityAds: com.unity3d.services.core.device.Storage.sendEvent() (line:33816612) :: Couldn’t send storage event to WebApp
11-03 17:36:35.967 17994 18066 D UnityAds: com.unity3d.services.core.misc.Utilities.writeFile() (line:33882187) :: Wrote file: /data/user/0/com.lemon.lvoverseas/files/UnityAdsStorage-public-data.json
11-03 17:36:35.968 17994 18066 D UnityAds: com.unity3d.services.core.device.Storage.sendEvent() (line:33816612) :: Couldn’t send storage event to WebApp