Admob on iOS

Monkey Targets Forums/iOS/Admob on iOS

Raul(Posted 2014) [#1]
So, I wanted to try Admob for iOS. before integrating in my small game itself I said, lets make some tests.

I made a new application, search the Help and copy paste the sample code from Mark to the new test app.

I added my publisher id and compile the app for ios8. After launching it on my device I receive in console:

2014-10-04 00:51:30.839 MonkeyGame[354:60572] <Google> To get test ads on this device, call: request.testDevices = @[ @"887ad115437cf3edacf2ad8865cb4e6d" ];
2014-10-04 00:51:32.189 MonkeyGame[354:60572] <Google> Invalid Request: {
    "base_uri" = "http:";
    "enable_auto_click_protection" = 0;
    errors = "Cannot determine request type. Is your ad unit id correct?";
    "google.afma.Notify_dt" = 1412373092173;
    "request_id" = 1;
    "request_scenario" = "online_request";
    type = unknown;
    "use_webview_loadurl" = 0;
}
2014-10-04 00:51:32.377 MonkeyGame[354:60572] <Google:HTML> You are currently using version 6.8.0 of the SDK, which doesn't officially support iOS 8. Please consider updating your SDK to the most recent sdk version, 6.12.0, to get iOS 8 support, including a fix for smart banner rendering in landscape mode. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes.


Is there a proper tutorial for adding admobs to iOS?


MikeHart(Posted 2014) [#2]
LOL, your problem is stated right there. Do so as they say.


Raul(Posted 2014) [#3]
Already done that. I downloaded the SDK from that location. After creating the xcode project from Monkey IDE, I open it and added the files from the SDK. Still the same message :(


Raul(Posted 2014) [#4]
i tried all the weekend to find a solution.

After compiling with Monkeyx 79, I open the project in XCODE, I delete the old references of SDK, added the new one to 6.12.0.

SAME #$%#(% MESSAGE APPEARS OVER AND OVER AGAIN.

This morning I started again, on the test project I made. Same message appears in debug console, but the banner is also shown.