Packagecom.distriqt.extension.admob.facebookaudience
Classpublic final class AdMobFacebookAudience
InheritanceAdMobFacebookAudience Inheritance flash.events.EventDispatcher

This class represents the facebookaudience extension.



Public Properties
 PropertyDefined By
  implementation : String
[read-only] The implementation currently in use.
AdMobFacebookAudience
  isSupported : Boolean
[static] [read-only] Whether the current device supports the extensions functionality
AdMobFacebookAudience
  nativeVersion : String
[read-only] The native version string of the native extension.
AdMobFacebookAudience
  service : AdMobFacebookAudience
[static] [read-only] The singleton instance of the FacebookAudience class.
AdMobFacebookAudience
  version : String
[read-only] The version of this extension.
AdMobFacebookAudience
Public Methods
 MethodDefined By
  
Constructor You should not call this directly, but instead use the singleton access
AdMobFacebookAudience
  
dispose():void
Disposes the extension and releases any allocated resources.
AdMobFacebookAudience
  
setAdvertiserTrackingEnabled(enabled:Boolean):void
Starting with iOS 14, you will need to set the setAdvertiserTrackingEnabled flag.
AdMobFacebookAudience
Public Constants
 ConstantDefined By
  EXT_CONTEXT_ID : String = com.distriqt.admob.FacebookAudience
[static]
AdMobFacebookAudience
  VERSION : String = 7.0.0
[static]
AdMobFacebookAudience
Property Detail
implementationproperty
implementation:String  [read-only]

The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:


Implementation
    public function get implementation():String
isSupportedproperty 
isSupported:Boolean  [read-only]

Whether the current device supports the extensions functionality


Implementation
    public static function get isSupported():Boolean
nativeVersionproperty 
nativeVersion:String  [read-only]

The native version string of the native extension.


Implementation
    public function get nativeVersion():String
serviceproperty 
service:AdMobFacebookAudience  [read-only]

The singleton instance of the FacebookAudience class.


Implementation
    public static function get service():AdMobFacebookAudience

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
versionproperty 
version:String  [read-only]

The version of this extension.

This should be of the format, MAJOR.MINOR.BUILD


Implementation
    public function get version():String
Constructor Detail
AdMobFacebookAudience()Constructor
public function AdMobFacebookAudience()

Constructor You should not call this directly, but instead use the singleton access

Method Detail
dispose()method
public function dispose():void

Disposes the extension and releases any allocated resources. Once this function has been called, a call to init is neccesary again before any of the extensions functionality will work.

setAdvertiserTrackingEnabled()method 
public function setAdvertiserTrackingEnabled(enabled:Boolean):void

Starting with iOS 14, you will need to set the setAdvertiserTrackingEnabled flag. This allows you to inform Facebook whether to use the data to deliver personalized ads in line with your own legal obligations, platform terms, and commitments you’ve made to your users. If the flag is set to false we will not be able to deliver personalized ads. You will need to implement the setAdvertiserTrackingEnabled flag irrespective of the use of mediation. Ref: https://developers.facebook.com/docs/audience-network/guides/advertising-tracking-enabled/

Parameters

enabled:Boolean

Constant Detail
EXT_CONTEXT_IDConstant
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.FacebookAudience

VERSIONConstant 
public static const VERSION:String = 7.0.0