Interface AutoLoadMultiSizeBannerPlacement
-
- All Implemented Interfaces:
-
com.intentsoftware.addapptr.Placement
public interface AutoLoadMultiSizeBannerPlacement implements Placement
Placement used for obtaining banner ads.
-
-
Method Summary
Modifier and Type Method Description abstract UnitstartAutoReload()Enables automatic reloading of placement. abstract UnitstopAutoReload()Disables automatic reloading of placement. abstract UnitenableCreativeHistory(Integer size)Enables the banner creative history. abstract Array<PlacementHistoryInfo>getCreativeHistory()Retrieves the banner creative history (if it was enabled). abstract AutoLoadMultiSizeBannerPlacementListenergetListener()Set the placement listener that will listen to ad loading and display events. abstract UnitsetListener(AutoLoadMultiSizeBannerPlacementListener listener)Set the placement listener that will listen to ad loading and display events. abstract AATKit.StatisticsListenergetStatisticsListener()Sets the statistics listener that will be notified about placement reporting events, like counted adspace, request etc. abstract UnitsetStatisticsListener(AATKit.StatisticsListener statisticsListener)Sets the statistics listener that will be notified about placement reporting events, like counted adspace, request etc. abstract ImpressionListenergetImpressionListener()Sets the impression listener for the given placement. abstract UnitsetImpressionListener(ImpressionListener impressionListener)Sets the impression listener for the given placement. abstract CollapsibleBannerOptionsgetCollapsibleBannerOptions()Setting for Google collapsible banners. abstract UnitsetCollapsibleBannerOptions(CollapsibleBannerOptions collapsibleBannerOptions)Setting for Google collapsible banners. abstract Map<String, List<String>>getTargetingInfo()Sets the targeting information for the given placement. abstract UnitsetTargetingInfo(Map<String, List<String>> targetingInfo)Sets the targeting information for the given placement. abstract StringgetContentTargetingUrl()Sets the content targeting url for the application. abstract UnitsetContentTargetingUrl(String contentTargetingUrl)Sets the content targeting url for the application. abstract List<String>getMultiContentTargetingUrls()Sets the multi content targeting url for the application. abstract UnitsetMultiContentTargetingUrls(List<String> multiContentTargetingUrls)Sets the multi content targeting url for the application. -
-
Method Detail
-
startAutoReload
abstract Unit startAutoReload()
Enables automatic reloading of placement. Autoreloader will use reload time configured on addapptr.com account or fallback to default {@value #BANNER_DEFAULT_RELOAD_INTERVAL_IN_SECONDS} seconds.
-
stopAutoReload
abstract Unit stopAutoReload()
Disables automatic reloading of placement.
-
enableCreativeHistory
abstract Unit enableCreativeHistory(Integer size)
Enables the banner creative history.
-
getCreativeHistory
abstract Array<PlacementHistoryInfo> getCreativeHistory()
Retrieves the banner creative history (if it was enabled).
-
getListener
abstract AutoLoadMultiSizeBannerPlacementListener getListener()
Set the placement listener that will listen to ad loading and display events.
-
setListener
abstract Unit setListener(AutoLoadMultiSizeBannerPlacementListener listener)
Set the placement listener that will listen to ad loading and display events.
-
getStatisticsListener
abstract AATKit.StatisticsListener getStatisticsListener()
Sets the statistics listener that will be notified about placement reporting events, like counted adspace, request etc.
-
setStatisticsListener
abstract Unit setStatisticsListener(AATKit.StatisticsListener statisticsListener)
Sets the statistics listener that will be notified about placement reporting events, like counted adspace, request etc.
-
getImpressionListener
abstract ImpressionListener getImpressionListener()
Sets the impression listener for the given placement.
-
setImpressionListener
abstract Unit setImpressionListener(ImpressionListener impressionListener)
Sets the impression listener for the given placement.
-
getCollapsibleBannerOptions
abstract CollapsibleBannerOptions getCollapsibleBannerOptions()
Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.
-
setCollapsibleBannerOptions
abstract Unit setCollapsibleBannerOptions(CollapsibleBannerOptions collapsibleBannerOptions)
Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.
-
getTargetingInfo
abstract Map<String, List<String>> getTargetingInfo()
Sets the targeting information for the given placement. Information provided for placement overrides targeting information for application set by the setTargetingInfo.
-
setTargetingInfo
abstract Unit setTargetingInfo(Map<String, List<String>> targetingInfo)
Sets the targeting information for the given placement. Information provided for placement overrides targeting information for application set by the setTargetingInfo.
-
getContentTargetingUrl
abstract String getContentTargetingUrl()
Sets the content targeting url for the application. This information will be used only if no placement-specific targeting is available.
-
setContentTargetingUrl
abstract Unit setContentTargetingUrl(String contentTargetingUrl)
Sets the content targeting url for the application. This information will be used only if no placement-specific targeting is available.
-
getMultiContentTargetingUrls
abstract List<String> getMultiContentTargetingUrls()
Sets the multi content targeting url for the application. Not all ad-networks supports multiple urls.
-
setMultiContentTargetingUrls
abstract Unit setMultiContentTargetingUrls(List<String> multiContentTargetingUrls)
Sets the multi content targeting url for the application. Not all ad-networks supports multiple urls.
-
-
-
-