YoYoGames / GMEXT-AdMob

Repository for GameMaker's AdMob Extension
Other
9 stars 3 forks source link

Problem with the Google Ad mob Extension. And not showing without reason #67

Closed gm-bug-reporter[bot] closed 1 month ago

gm-bug-reporter[bot] commented 1 month ago

Description

Hello,

I am developing an application using GameMaker. In my IOS application, I use the "Google-Mobile-Ads" SDK, in order to display ads with Google AD Mob. I have already used this SDK for previous applications and it worked, but for this one, the ads are not displayed.

I get the following error message: Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))"

the application concerned is Patrick's Journey.

The application can be played but not and are displayed. Im am sure that the problem doesn't come from my AdMob account.

Thank you in advance for your help.

Steps To Reproduce

Build the application and use it. No ads are displayed.

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Mac 14.0

Which platform(s) are you seeing the problem on?

iOS

5350c64e-b76b-477a-9f79-bc74e5458c89

DiasFranciscoA commented 1 month ago

After looking at your project we could notice that the extension as been tampered with the code injection in the extension doesn't match the one in the official release:

image

The block of injected code shown in the image above is NOT present in the official extension so we cannot provide support to your project as is.

EsteveMatteo commented 1 month ago

Hello, I added this code to try to solve the problem, but it was present even without this part of code. You can check to run the game without it and see that the problem is the same

DiasFranciscoA commented 1 month ago

Thank you for reaching out again. We would like you to please run the AbMob demo project with the demo AdUnit ids. Basically run the test project as is (note you will need to change the bundle name to one that is registered in your App Developer Account). Apart from that there should be no changes needed to test. We cannot test your project because we cannot use the bundle ID provided in the demo.

DiasFranciscoA commented 1 month ago

Okay so after loading your game using a default bundle id we could notice that you are indeed asking for consent from the user for personalized ads but you are NOT actually displaying any of the ads. So everything is working as it should you need to call AdMob_Banner_Create for banners or AdMob_Banner_Create or AdMob_Interstitial_Load|AdMob_Interstitial_Show ... to load and to show the respective ads. Please refer to the demo project to see how this should be handled and how to propert display the ads.