StartAppNativeAd
Last Updated On 2021-07-16
Version 1MinSDK 7Tutorial Video
A Native Ad is a raw representation of an ad without any pre-defined wrapping UI, which gives you the freedom to design and control the ad exactly as you want. Using Native Ads, you can design an ad experience that perfectly fits your application's scene, content and functionality.
Methods
You can set the below method blocks in the blocks section of the builder.
GetAdCampaignActionType
Returns the Ad Campaign Type, if it will open the app or the store
GetAdCategory
Returns the Ad Category
GetAdDescription
Returns the Ad Description
GetAdImageUrl
Returns the Ad Image Url
GetAdInstalls
Returns the Ad Install in the Store
GetAdRating
Returns the Ad Rating in PlayStore
GetAdSecondaryImageUrl
Returns the Ad Secondary Image Url
GetAdTitle
Returns the Ad Title
IsSdkInitialized
Check if the StartApp SDK Is Initialized
LoadAd
Load a Native Ad. numberOfAds is the number of ads to load, primary and secondary Image Sizes can be the following:0 – for image size 72px X 72px 1 – for image size 100px X 100px 2 – for image size 150px X 150px 3 – for image size 340px X 340px 4 – for image size 1200px X 628px 5 – for image size 320px X 480px 6 – for image size 480px X 320px. Note: Size 5-6 can't be used together with sizes 0-4. Also 0 - 3 are the allowed ad Sizes for Secondary Image Size
RegisterContainerForClick
Set a Container to listen for Interaction from the User
Events
You can set the below event blocks in the blocks section of the builder.
AdFailedToLoad
Ad Failed To Loaded
AdLoaded
Ad Loaded
ErrorOccurred
Ad Error Occurred