Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Ads are not workings #108

Open
huzaibsayyed opened this issue Dec 14, 2024 · 0 comments
Open

Facebook Ads are not workings #108

huzaibsayyed opened this issue Dec 14, 2024 · 0 comments

Comments

@huzaibsayyed
Copy link

Facebook ads are not working, I use TestAdIdManager but fb ads are not loading. My use case was to use admob and fb ads in one app. But it is not working.

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await EasyAds.instance.initialize(
    isShowAppOpenOnAppStateChange: false,
    adIdManager,
    adMobAdRequest: const AdRequest(),
    // admobConfiguration: RequestConfiguration(testDeviceIds: []),
    fbTestingId: '37b1da9d-b48c-4103-a393-2e095e734bd6',
    fbTestMode: true,
    // showAdBadge: Platform.isIOS,
    // fbiOSAdvertiserTrackingEnabled: true,
  );

  runApp(const MainApp());
}
EasyAds.instance.showAd(adNetwork: AdNetwork.facebook, AdUnitType.interstitial);
flutter: \^[[38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
flutter: \^[[38;5;12m│ #0   EasyLogger.logInfo (package:easy_ads_flutter/src/utils/easy_logger.dart:19:43)<…>
flutter: \^[[38;5;12m│ #1   EasyAds.showAd (package:easy_ads_flutter/src/easy_ads.dart:401:17)<…>
flutter: \^[[38;5;12m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…>
flutter: \^[[38;5;12m│ 💡 AdNetwork.facebook AdUnitType.interstitial was not loaded, so called loading<…>
flutter: \^[[38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
flutter: \^[[38;5;196m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
flutter: \^[[38;5;196m│ #0   EasyLogger._onAdFailedToLoad (package:easy_ads_flutter/src/utils/easy_logger.dart:43:13)<…>
flutter: \^[[38;5;196m│ #1   EasyLogger._onAdEvent (package:easy_ads_flutter/src/utils/easy_logger.dart:83:9)<…>
flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…>
flutter: \^[[38;5;196m│ ⛔ interstitial ads for facebook could not be loaded.<…>
flutter: \^[[38;5;196m│ ⛔ ERROR: Error occurred while loading 1001 No fill ad<…>
flutter: \^[[38;5;196m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant