Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The following methods are available to adjust the behaviour of the SDK.

Video Clickthrough Behaviour v1.3.1 +

By default, video creatives will direct the user to the clickthrough location when the video creative or the CTA button is tapped.

You can adjust the behavior so that only the CTA “Learn More” button will be clickable. When configured in this way, tapping the video will have no effect unless the actual CTA button is tapped.

iOS:

// Import required:
#import <MobileFuseSDK/MobileFuseSettings.h>

// Set the behavior to CTA Only:
[MobileFuseSettings setVideoClickthroughBehavior: VIDEO_CLICKTHROUGH_BEHAVIOR_CTA_ONLY];

// Set the behavior to CTA + Video (default):
[MobileFuseSettings setVideoClickthroughBehavior: VIDEO_CLICKTHROUGH_BEHAVIOR_CTA_AND_VIDEO];

Android:

// Set the behavior to CTA Only:
MobileFuseSettings.setVideoClickthroughBehaviour( ClickthroughBehaviour.CTA_ONLY );

// Set the behavior to CTA + Video (default):
MobileFuseSettings.setVideoClickthroughBehaviour( ClickthroughBehaviour.CTA_AND_VIDEO );

Maximum display duration before interstitial ads are closable v1.3.1+

This setting will allow you to specify a maximum display duration for interstitial ads, after which point the ‘close’ or ‘skip’ button will be presented to the user.

For example, if you set this to 5 seconds, all video and rich-media interstitial ads will be closable after 5 seconds, even if their creative requests a longer unskippable duration. This setting does not affect other ad types such as rewarded or thumbnail.

By default, all richmedia ads will be closable after 5 seconds. For video creatives, the creative ‘skip offset’ is respected unless this setting is applied.

iOS:

// Import required:
#import <MobileFuseSDK/MobileFuseSettings.h>

// Ensure that all interstitial ads can be skipped after 5 seconds:
[MobileFuseSettings setMaxInterstitialCloseButtonDelayInSeconds: 5.0];

Android:

// Ensure that all interstitial ads can be skipped after 5 seconds:
MobileFuseSettings.setMaxInterstitialCloseButtonDelayInSeconds( 5.0f );

  • No labels