我想知道什么时候使用firebase_admob
,我需要这个代码吗?如果是这样,在发布应用程序时,我应该为keywords
、contentUrl
和写什么testDevices
?我的意思是,在发布应用程序时,testDevices
甚至有必要吗?
MobileAdTargetingInfo targetingInfo = MobileAdTargetingInfo(
keywords: <String>['flutterio', 'beautiful apps'],
contentUrl: 'https://flutter.io',
birthday: DateTime.now(),
childDirected: false,
designedForFamilies: false,
gender: MobileAdGender.male, // or MobileAdGender.female, MobileAdGender.unknown
testDevices: <String>[], // Android emulators are considered test devices
);