[OUTDATED][Free] Admob Extension - Add different types of AdMob ads in your application

@Faraz_Firoz @SRIKAR_B.S.S @Aquib_Khan @Hades

Thankyou so much !


Also, Some extension has been updated aswell as App-Open Ad is added. I've edited these changes in documentation too.

  1. Admob Sdk extension is updated commit. It now have total of 5 blocks. Now you can set/change targeting of audience from this extension. You can find about targeting from here.

  2. Admob Banner extension is updated commit. Now you can customize size of banner ads while loading the banner ad. Now you can set size to banner size, medium rectangle size, large banner size, full banner size and your own custom size.

  3. Added AppOpen Ad commits. Now you can add App-Open ad in your application.

8 Likes

A post was split to a new topic: Error while compiling extension

the extension is not working at all
Ad failed to load error message: No ad config
Interstitial ads shows runtime error and it can`t be rebuilt using rush after fixing this error

1 Like

Are you using companion ?

This error occurs if Ad request was not filled due to lack of availability of ads. If you are getting in Test Rewarded id then try with your own admob reward ad. I guess you will not get this error in real id.

whether I am using the companion or the compiled app, no ads load
would you please upload an aia file? :eyes:

/* Updated on December 11 2021*/

AdsApp.aia (2.0 MB)

2 Likes

works great for me now :sweat_smile:, thanks :grin:

I called this method on Screen1.initalize, it worked for some time but now it gives me this error.
What can be the problem?

You need to ask a permission when screen Initialize

 When Screen1 Initialize 
     Call Screen1 AskForPermission permission name = android.permission.ACCESS_NETWORK_STATE

Delete old AdmobSdk extension & use this : com.oseamiya.admobsdks

I have not added this permission in manifest thinking that it will added by default :sweat_smile:. Later on I read this post but forgot to update the extension. Extension has been updated now.

Now it works thanks :blush:

My application consists of 3 screens, do I have to initialize sdk on each screen?


rewarded ad test code is wrong

and please add

thank u for all

no :slight_smile: I tried

1 Like

You can initialize AdMob once the application starts (Screen1), you also can initialize it in other screens but you don't need to, once is enough.

1 Like

You can use SetAdUnitId block to set your ad unit id .

1 Like

Also, Now AdUnitId is added in designer property.
image

2 Likes

Nice work @oseamiya :wink: :+1:

2 Likes

thank you again. It's very good for me

I'm starting to learn and I couldn't do it anyway, I did everything right.
Could you send me an AIA so I can see the blocks?
Thanks!

POST #11

2 Likes