Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check Current SDK version of Google AdMob iOS?

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.

like image 390
Dhaval Kakadiya Avatar asked Dec 14 '22 18:12

Dhaval Kakadiya


1 Answers

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

like image 155
Mitesh Varu Avatar answered Jan 21 '23 17:01

Mitesh Varu