Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
final bannerAdIdAndroid = "ca-app-pub-3940256099942544/6300978111";
final bannerAdIdIos = "ca-app-pub-3940256099942544/2934735716";
final intertstitialAdIdAndroid = "ca-app-pub-3940256099942544/1033173712";
final intertstitialAdIdIos = "ca-app-pub-3940256099942544/4411468910";
String getBannerId() => Platform.isIOS ? bannerAdIdIos : bannerAdIdAndroid;
String getInterstitialId() => Platform.isIOS ? intertstitialAdIdIos : intertstitialAdIdAndroid;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.