Hi
If you put a call for the GetFullScreenAdvertLoaded function i.e. GetFullScreenAdvertLoadedAmazon into the main do loop, would it continuously check if one is available and set as 1 when one is available or will it always be 0 if one didn't preload before the do loop? I want to do something like this:
do
If ([time since last ad shown was 3 minutes] and GetFullScreenAdvertLoadedAmazon())
ShowFullscreenAdvertAmazon()
[reset timer]
endif
Sync()
loop
I don't want to keep calling ShowFullscreenAdvertAmazon to test for when it's available like the documentation says try.
If GetFullScreenAdvertLoadedAmazon attempts to preload a new advert each time and changes to 1 when it's available then I can do the above and that'll be fine.
At some point this morning since adding Amazon ads to my app the ads have stopped showing completely.
I tried the Adverts example that comes with AGK2 but all of the get values are showing as 0 for the 3 ad providers. I tried leaving the example running for about 5 minutes to see if any of the get values changed to 1 but they didn't.
If GetFullScreenAdvertLoaded* doesn't check for new ads and preload them each time it's called then why isn't there a function to do that before you attempt to show them?
I should add that the only provider I seem to be having trouble with is Amazon. Chartboost works fine. Same with the example project too it's not calling an Amazon ad, nor is one showing when the Amazon button is pressed. Is this likely to work if I added it for when Amazon ads are available?
do
If ([time since last ad shown was 3 minutes] and GetFullScreenAdvertLoadedAmazon())
ShowFullscreenAdvertAmazon()
[reset timer]
endif
Sync()
loop
Thanks
Kevin