Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Admob not working

$
0
0
I am trying to display interstitial ads in my game. I have built the project for iOS and tried to run. I got following message in console; To get test ads on this device, call: request.testDevices = @[ @"b9ade3b76dd9d16ccc6c61b78bf7d427" ]; I have entered my device ID in unity code. But still ads won't display. I have followed sample code from `GoogleMobileAdsDemoScript` file. private AdRequest createAdRequest() { return new AdRequest.Builder() .AddTestDevice("device id here") .AddKeyword("game") .TagForChildDirectedTreatment(false) .AddExtra("color_bg", "454545") .Build(); } I can't understand what I am doing wrong. I am using Unity 4.5.3. Please help me. Thanks.

Viewing all articles
Browse latest Browse all 4709

Trending Articles