Unable to specify the App ID for the AdMob API
Issue #1
resolved
First of all, thank you for your great work.
Please make it easier to find the place where I have to put the App ID. On Android there is a string "YOUR-APP-ID-HERE" that is easy to spot in the AdActivity. However, this thing is missing in the Ads.mm and I was not able to spot it anywhere so far.
Where is it located?
Comments (3)
-
repo owner -
reporter Thank you,
you know I'm modiX from the forums who posted this already? https://love2d.org/forums/viewtopic.php?f=5&t=84159#p219417
However, I forgot I asked here, too, so it's good you answered me, so other people can find this solution. =)
-
reporter - changed status to resolved
- Log in to comment
Hi
In this port you don't need your App ID, since you are able to request and display ads without it. If you noticed, on the Android port, the App ID is needed because the SDK must be inizialized in order to request Rewarded Video Ads.
On the contrary, for iOS you don't need to configure the SDK in order to request ads, therefore I decided not to put it. If you want to add it yourself for completeness you can open the Ads.mm and turn these lines
into these ones: