If you have a user interface for AdMob ads, then a button will appear that you will use for the callToAction part.
First of all, you need to add a selector to detect a click action, to add a selector for this button
[callToActionButton addTarget:self action:@selector(adCalled:) forControlEvents:UIControlEventTouchUpInside];
After that, implement the adCalled method to get the click and call the method further, below is the code for your reference. Below is the example that I used to get the declaration object from my collection view, and then redirect it.
- (void)adCalled:(id)sender { CGPoint buttonPosition = [sender convertPoint:CGPointZero toView:mainCollectionView];
Using this, I can open the n web link using the google tracking URL.
Hope this helps.
source share