Created
October 16, 2019 07:09
-
-
Save oxlb/1d41fe4dad20857b5952b480e39bd583 to your computer and use it in GitHub Desktop.
AdAnalyticsModel class for Google ads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AdAnalyticsModel { | |
func trackAd(typeOfAd: adType, adUnitId: String?) { | |
if let adId = adUnitId { | |
print("adUnitId ", adId) | |
} | |
print("adType \(typeOfAd.getName())") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment