Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS ads not shown on my app #49

Open
kerberosargos opened this issue Apr 10, 2016 · 0 comments
Open

iOS ads not shown on my app #49

kerberosargos opened this issue Apr 10, 2016 · 0 comments

Comments

@kerberosargos
Copy link

Hello,
When I test my app on ios simulator I can see test admob banner.
After published my app on iTunes, banner not shown on real device.

Do you have any idea where is my problem?

My ti.admob release version is 2.1.0 which I implement my project.

var $Admob = require('ti.admob');

if (OS_IOS) {
    Alloy.Globals.AdmobPubliserId = "ca-app-pub-2223887693172102/xxxxxxxx";
} 

if (OS_IOS) {

            var $AdmobIOS = $Admob.createView({
                height: 50,
                top: 0,
                debugEnabled: true,
                adBackgroundColor: 'black',
                adType: $Admob.AD_TYPE_BANNER,
                adUnitId : Alloy.Globals.AdmobPubliserId,
                testDevices : [$Admob.SIMULATOR_ID]
            });

            $AdmobIOS.addEventListener('didFailToReceiveAd', function() {
                $FncTiApiInfo("Admob not received!");
                $.resetClass($.Admob, "hide");
            });

            $.Admob.add($AdmobIOS);
        }
cb1kenobi pushed a commit that referenced this issue May 16, 2023
…core-5.0.0

build(deps-dev): bump jasmine-core from 3.99.1 to 5.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant