Hello, I’ve implemented ads in one game by following instructions:
“docs y8 com/docs/javascript/”
-
created one app here (can’t post links): “account y8 com/applications”
-
added code to index.html and changed appID, found example in the docs (javascript/js-getting-started)
-
Init ads in “menu.js”, I use Secret key here:
ID.ads.init(“938a20…”)
It works in the first App, but I followed all these steps to implement ads in another game, I use new appId and new Secret
ID.ads.init(“3d0b870de…”)
When this code runs, I can see the message in the console “Ads cannot continue, Game not found”.
Ads are visible in the second game too if I use Secret key from the first game, even if I change appID:
ID.ads.init(“938a20…”)
Also created third app to test, and it shows ads only if I use Secret from the first app, no matter what appID I use.
Why this happens? Created all 3 apps on the same way. I tested games on "storage-direct y8 com
"