- Home /
unity ads working fine in the editor not working when i test on android device,unity ads working in the editor not when i test in android device
ads are showing in the editor but when i build and run in android device no ads are visible. i have banner ad and rewarded video ad both are not not showing. but i checked two days ago and everything working fine that day but now when i tested it again today its not showing in device. i didnt change anything in script, i checked my game id its correct, i checked device logs also no error or warning related to unity test ad. but there is a warning GLSL link error: The number of vertex shader storage blocks (1) is greater than the maximum number allowed (0).
if anyone can help pls .thanks, @rasmus-unity
that warning is probably because of shaders or effects you are using not related to the ads
Answer by Ishidres · Sep 14, 2020 at 08:44 PM
Unity won't always show an ad in your game. If no ad is available or if you have seen too many ads on a day already, no more ads will be shown until after a specific cool down.
You said you didn't change anything but "suddenly it broke". It's likely that there's simply no ad available for you right now which is why you simply don't see one.
To summarize it: There's most likely nothing wrong and you don't have to care about it except the issue persists. You could however try installing the app on a different device to test if you see any ads there.
Happy coding,
Ishidres