Questions tagged [unifiednativeadview]

15 questions
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
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
  • 522
  • 7
  • 26
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…
Primož Kralj
  • 5,534
  • 14
  • 65
  • 125
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
  • 106,412
  • 122
  • 641
  • 1,128
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
  • 39
  • 2
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
  • 7,952
  • 4
  • 43
  • 42
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
0 answers

Native ads list is returning zero size in Recycler View

I'm trying to implement Facebook native ads, all works fine the only problem I am facing is this the native ads are replacing position of my data list and some of the data is getting missed while setting it to the recycler view. The Problem is…
0
votes
0 answers

how to add notifyItemRangeInserted for native ads inside recycler view

I have implemented native advanced ads inside my recyclerView, And the recycler view items are displayed only when the native ad is loaded so i did the following method. here in my method the recycler view items get displayed and when native…
sanoj lawrence
  • 1,085
  • 4
  • 24
  • 55
0
votes
0 answers

Insert Admob to recycler view when admob native advance is loaded

Currently i was able to insert admob in-between my recycler view items and was able to load ads and recycler view item, But my problem is the recycler view doesn't show any item untill the admob is loaded. So how do i insert or display the admob…
sanoj lawrence
  • 1,085
  • 4
  • 24
  • 55
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
  • 967
  • 6
  • 19
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. …