failed to load ad : 3

后端 未结 24 1723
南方客
南方客 2020-11-22 08:12

I\'m setting an ad to my Android application using DoubleClick and can\'t manage to show the final ad, can someone help me?

When I test an ad by adding ".addTest

24条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 09:01

    W/Ads: Failed to load ad: 3

    Means: The ad request was successful, but no ad was returned due to lack of ad inventory.

    So, In my case, I have commented the keywords: property to load all types of ads. Now my ad is loading properly.

    static final MobileAdTargetingInfo targetingInfo = MobileAdTargetingInfo(
            testDevices: testDevice != null ? [testDevice] : null,
            nonPersonalizedAds: true,
            //keywords: ['Fitness', 'Yoga', 'Health', 'Exercise', 'Game', 'Doctor', 'Medical'],);
    

提交回复
热议问题