This is complete Unity source code with implemented AdMob ads. Requires Unity 2018.4.35 or any newer version.
Test it here (WebGL): https://e-ugovor.rs/fill_the_trucks/
Or download the test apk and test it on your android device: https://www.dropbox.com/s/m1u8z0rthpec372/Fill%20The%20Truck%20Test.apk?dl=1
Interstitial and Banner AdMob ads are implemented in this project. All you need to do is to:
Go to Assets – > Google Mobile Ads -> Settings and put your app id (from your AdMob console) there. (Important step, app may crash on start if you skip this step) Open the script “Menus.cs” and put you interstitial ad id on line 42 for android, line 44 for iOS, and banner ad id on line 59 for android, line 61 iOS. This project is compatible for android, iOS, WebGL, PC and many other platforms that unity supports.
Tap the screen to release the balls, you need to do that in a perfect timing so balls fall into trucks. Each ball you get into the truck rewards you with a different amount of points, depending on the truck score multiplier. If the ball misses the truck, it disappears. When you lose all 100 of your balls, the game is over. The game is endless and your only goal is to reach as many score points as you can.