Created
October 16, 2019 06:37
-
-
Save oxlb/833581e79fdef2c4e260eaa23fb7cab7 to your computer and use it in GitHub Desktop.
Events Enums for Google Ads Tracking
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
enum adEvent { | |
case viewAdInt | |
case viewAdBanner | |
func getName() -> String { | |
switch self { | |
case .viewAdInt: | |
return "view_ad_int" | |
case .viewAdBanner: | |
return "view_ad_banner" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment