Admob multiple ads

Previous topic - Next topic

MrPlow

Hi
My recent project is once again only showing 1 advert on load . So loading a new ad doesn't work is that fixed in 2.8 of AE?

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#1
Look like Google Admob is full of crap :-P. Very tired about fixing issues again, again and again, that even im diddent touch any code since that. So do not except me to trying to fix that anytime soon. Its needs to being recode from scrath.

So im even might remove that in the next version and readd it again later when redone. So im searched for other ads service and have looked on Amazon Ads.

Here im just successful got Amazon Ads working (which was quite easy here), but sadly its seen its only US based, since im got a "NO_FILL" issue when test ads is disabled, while with test ads its works fine (include miltiple ads). So Amazon Ads is far easier than Google Admob, where test ads is impractical to use in that way they have done.

That means there is changes to intersititial.gbas and require few changes in the glbasic code as well (mostly only require renaming). But by now im gonna take a break before im retry the crappy admob in the java code part (if Amazon can work, then im except glbasic code now working)..






Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

But earlier versions of my apps are working great with Admob - just recent changes seem to have affected it...for re-loading a new advert.

I dont want to use non-Google amazon ads (could have bad fill rates and payout)

Surely its a small issue? Maybe I could search for the bug if I knew which file and code section the last fix was done in?

Happy to donate some funds for your help on it
:)

Here are my src from that project - does anything jump out at you?





Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

Maybe I could help you as its in my interest to get Admob working - I could review the Admob side maybe?

I will try to build a test project to just load admob ads for testing.


Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#4
It's could also been gbas based, but I'm got the Amazon working imo. It's a great test sdk and im really like working with it. Just like ouya was and still is.

Im do wont go back to Google SDK and gonna want to take a break. But im have now reworked intertinal.gbas, and the object is now changed from admob to intersitital, so there would been changes next time.

Also sometimes a ads also might fails loading, then its might not newer reload it again.

Also the hibernate function seens also works pretty fine in AE2.8. Howover music does not stop in Karma Miwa, but the pause is do called, so its a different issue, seens nothing with AE to do (read, its a bug in the game its self, oops).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#5
actuelly its got fixed for the final time and then im do not want to do that again, so dont write a new thread.

Howover im do need to do some bat files, because there is various options:

- Google Admob
- Amazon Ads
- None

Since its not possible to easy change files in the tempproject in the fly, im might need to code a tool for checking what service that have been used. That will been done in AndroidIcons.exe. But that tool take some tool to create, so its can take some days or a week. Its would been checked in the manifest file.

PS. There is a lots of changes, so its is not 100% backward compatible. But is just matter renaming stuff and removing the reset() thing, which is done automatic now. You can also no longer checked if a ads did clicked on or not.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#6
Android Extras v2.9 is coming soon. The extra code to detect the various ads service (if used) is in place and seens working. If no ads service is used, there is even a dummy for that, so there is now possible to save few mb. Only missing is just possible to uses both Amazon and Google in same time (which is possible, if example Amazon fails to deviver, then its can try Admob).

As previous wrote there might require some changes in your code, so its not 100% backward compatible. But its mostly only matter rename and removing the reset() function after show() (which is now done automatic and cleaned that one up). Hopefully its dosent crash.

There is also added a error as clean test if something is wrong to the output or logcat (etc why the ads diddent show).

PS. api-19 is required as from ae2.8 (but im can again doing minor updates).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Great stuff Spacefractal !!

I look forward to using the new version!

:booze:
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

erico

Somebody has to hold this Space Columbus back! :D :D
Great stuff! :good:

Marmor

If you like his work , donate some Donuts.


MrPlow

Just looking to see what fixes will be in v2.9  =D

- Admob load() advert more than just once
- Netwebend work without crash
- Netwebend while music playing (or will we need to stop music before leaving app)

Happy to donate some donuts!
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

erico

Quote from: Marmor on 2015-Feb-28
If you like his work , donate some Donuts.

It can only be done in gfx form for a little while ;)

spacefractal

#12
In cant property do anything about netwebend about Music. The crash happens on some c++ code and seen it's a sdl limits.

I'm do recommend to start music after the advent have been shown. Not before. If none advent been shown, then no music.

Yes I'm haven't started a new project yet, but is gonna creating levels for a game created by Michael ware (balders). I'm do have a plan for my next game. So I'm might ask.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Thanks SF!

BTW - Link file says 2.8.0 AE but is it 2.9 version anyway?

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

im only updated the minor version (that one that is in around 10mb), so the major version is still 2.8 (over 200mb).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/