Questions tagged [unifiednativeadview]

15 questions
5
votes
4 answers

UnifiedNativeAdView, was not found in the project or the libraries

I added the required dependency. But the Android Studio is showing the below line. Adview is showing and no other issue. I checked everything carefully, But I see the below time every time. com.google.android.gms.ads.formats.UnifiedNativeAdView,…
3
votes
1 answer

Admob Native Advanced Ad not showing media content?

I have the ad fetched and all content except mediaView seem to work. Is there anything missing? class NativeAdAdapterItem( private val ad: NativeAd, ) : AdapterItem(ad) { override fun bind(firstTime: Boolean,…
aryaxt
  • 76,198
  • 92
  • 293
  • 442
3
votes
0 answers

admob UnifiedNativeAd onAdFailedToLoad return Invalid template ID: -1

I'm working with admob native ads over 1 year. Recently my fill rate droped from 85% to 40%. When i checked with new sdk (firebase-ads:19.3.0) and new error handler onAdFailedToLoad(LoadAdError loadAdError) most request return Invalid template ID:…
behrooz
  • 617
  • 9
  • 30
2
votes
0 answers

How to place Admob Native Advanced Ads in Firebase recycler view android?

I have ViewHolder, But I am unable to integrate the native ads in this code, will you please guide me regarding the integration of the native ads in the same code? How should I integrate the Native ads in this code? public class ViewHolder extends…
2
votes
1 answer

How to know if UnifiedNativeAd is NativeAppInstallAd or NativeContentAd?

I am using UnifiedNativeAd to display native ad. How can I know if it's NativeAppInstallAd or NativeContentAd? As per AdMob native ads policy compliance checklist, NativeAppInstallAd should always display Call To Action button while NativeContentAd…
c0dehunter
  • 6,412
  • 16
  • 77
  • 139
1
vote
1 answer

How to properly handle the lifecycle of Admob's UnifiedNativeAd?

Background I'm trying to implement support for native ads from Admob. The problem I've noticed this requirement: Ensure that all UnifiedNativeAd references are destroyed in your activity's onDestroy() method. In your onUnifiedNativeAdLoaded…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
1
vote
1 answer

Admob native ads of UnifiedNativeAdView are not clickable in Kotlin

I faced a strange bug with admob native ads. Everything works fine except that I cannot find url value for an ads on callback and that UnifiedNativeAdView is not clickable, even button inside don't go anywhere as I use admob templates. Here is the…
1
vote
0 answers

Keeping Native Advance Ad in ArrayList is not possible? ( Android Admob / JAVA )

I want to integrate the Native Advance Ad into my RecyclerView. My app shows ad in every 6 items when you scroll down the display. To avoid a lot of ad downloading, I tried to load UnifiedNativeAd 5 times when the RecyclerView shows up, and push…
john
  • 37
  • 5
1
vote
1 answer

How to get UnifiedNativeAdView ad click callback

For some reason, I need to know when the ad clicked or the user reacts with that. but UnifiedNativeAdView overrides any touch click to even native banner ads. How we can get ad user interaction callback?
Amir Hossein Ghasemi
  • 20,623
  • 10
  • 57
  • 53
0
votes
1 answer

Admob native ads click is not working in unity (Android Platform)

I add the native ad in my unity game and ads details are shown properly but my ad click is not working.. I added the box collider manually and detect the click right but still ad is not redirecting to link. I used test ids right now. If anyone can…
0
votes
0 answers

How to Implement UnifiedNative ads in Xamarin.Forms ios

I am trying to add UnifiedNative ads in my xamarin.forms Application. I successfully implemented them in Android but having a hard time for iOS. For Android - I have created a custom renderer and a xml layout for holding the Ad content. For ios, I…
0
votes
2 answers

MyUnifiedNativeAd.OnUnifiedNativeAdLoaded (Android.Gms.Ads.Formats.UnifiedNativeAd ad) crash on some devices _ Xamarin.Android

My Xamarin.Android app crashes on some devices Stacktrace says MyUnifiedNativeAd.OnUnifiedNativeAdLoaded (Android.Gms.Ads.Formats.UnifiedNativeAd ad) Here is stacktrace MyUnifiedNativeAd.OnUnifiedNativeAdLoaded…
0
votes
1 answer

Xamarin iOS AdMob NativeAd AdLoader Delegate Never Called

I am trying to implement the iOS renderer for a XF view to display native ads. I can't seem to load the native ad. Using: try { loader.Delegate = new MyAdLoaderDelegate(renderer); loader.LoadRequest(request); }catch(Exception e) { …
jmichas
  • 1,139
  • 1
  • 10
  • 21
0
votes
0 answers

unifiedNativeAd's call-to-action button not working inside of RecyclerView

I am showing a set of unifiedNativeAds in a RecyclerView. Actually, I have no problem with this. I mean, everything works fine, except for the call-to-action button. If I click on it nothing happens. I am storing the set of unifiedNativeAds inside…
-1
votes
1 answer

Why Native Advanced ads removed the item from recycler view android?

I am using this code in my adapter How to place Admob Native Advanced Ads in recycler view android? This problem occur But i want result like this Addition to my code, I am using this formula to place the item in recycler view. …