Package 

Class FacebookRtbNativeAd

    • Constructor Summary

      Constructors 
      Constructor Description
      FacebookRtbNativeAd(MediationNativeAdConfiguration adConfiguration, MediationAdLoadCallback<UnifiedNativeAdMapper, MediationNativeAdCallback> callback, MetaFactory metaFactory)
    • Method Summary

      Modifier and Type Method Description
      void render()
      void mapNativeAd(@NonNull() Context context, @NonNull() FacebookRtbNativeAd.NativeAdMapperListener mapperListener) This method will map the Meta Audience Network nativeAdBase to this mapper and send asuccess callback if the mapping was successful or a failure callback if the mapping wasunsuccessful.
      void trackViews(@NonNull() View view, @NonNull() Map<String, View> clickableAssetViews, @NonNull() Map<String, View> nonClickableAssetViews)
      void untrackView(@NonNull() View view)
      • Methods inherited from class com.google.android.gms.ads.mediation.UnifiedNativeAdMapper

        getAdChoicesContent, getAdvertiser, getBody, getCallToAction, getCurrentTime, getDuration, getExtras, getHeadline, getIcon, getImages, getMediaContentAspectRatio, getOverrideClickHandling, getOverrideImpressionRecording, getPrice, getStarRating, getStore, handleClick, hasVideoContent, recordImpression, setAdChoicesContent, setAdvertiser, setBody, setCallToAction, setExtras, setHasVideoContent, setHeadline, setIcon, setImages, setMediaContentAspectRatio, setMediaView, setOverrideClickHandling, setOverrideImpressionRecording, setPrice, setStarRating, setStore, trackViews, untrackView, zza, zzb, zzc, zzd, zze
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FacebookRtbNativeAd

        FacebookRtbNativeAd(MediationNativeAdConfiguration adConfiguration, MediationAdLoadCallback<UnifiedNativeAdMapper, MediationNativeAdCallback> callback, MetaFactory metaFactory)
    • Method Detail

      • mapNativeAd

         void mapNativeAd(@NonNull() Context context, @NonNull() FacebookRtbNativeAd.NativeAdMapperListener mapperListener)

        This method will map the Meta Audience Network nativeAdBase to this mapper and send asuccess callback if the mapping was successful or a failure callback if the mapping wasunsuccessful.

        Parameters:
        mapperListener - used to send success/failure callbacks when mapping is done.