如何查看当前的 Google AdMob iOS SDK 版本? [英] How to check Current SDK version of Google AdMob iOS?

查看:26
本文介绍了如何查看当前的 Google AdMob iOS SDK 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google has Changed some Policy under which the ads displayed under SDK version 7.0 will not display ads any more, Actually i don't know which version SDK i m using.

Please help me to get out of this.

解决方案

pragma mark GADRequest implementation

- (GADRequest *)request {
GADRequest *request = [GADRequest request];


NSLog(@"Received ad successfully %@ " , [GADRequest sdkVersion] );

request.testDevices = @[
                        kGADSimulatorID
                        ];
return request;
}

Implement the above code in your iOS Project And Check Log

you will get Output something like this

afma-sdk-i-v7.27.0

这篇关于如何查看当前的 Google AdMob iOS SDK 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆