Package com.intentsoftware.addapptr
Class BannerConfiguration
-
- All Implemented Interfaces:
public final class BannerConfigurationThe configuration object to be used when creating a banner placement.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegernumberOfWorkersprivate BooleanisManualAdSpaceCountingprivate CollapsibleBannerOptionscollapsibleBannerOptions
-
Constructor Summary
Constructors Constructor Description BannerConfiguration()Constructs new BannerConfguration to be used when creating new InfeedBannerPlacement.
-
Method Summary
Modifier and Type Method Description final IntegergetNumberOfWorkers()The number of ad requests that can be made simultaneously. final UnitsetNumberOfWorkers(Integer numberOfWorkers)final BooleanisManualAdSpaceCounting()If manual adspace counting should be used. final UnitsetManualAdSpaceCounting(Boolean isManualAdSpaceCounting)If manual adspace counting should be used. final CollapsibleBannerOptionsgetCollapsibleBannerOptions()Setting for Google collapsible banners. final UnitsetCollapsibleBannerOptions(CollapsibleBannerOptions collapsibleBannerOptions)Setting for Google collapsible banners. StringtoString()-
-
Constructor Detail
-
BannerConfiguration
BannerConfiguration()
Constructs new BannerConfguration to be used when creating new InfeedBannerPlacement.
-
-
Method Detail
-
getNumberOfWorkers
final Integer getNumberOfWorkers()
The number of ad requests that can be made simultaneously. Must be greater than 0.
-
setNumberOfWorkers
final Unit setNumberOfWorkers(Integer numberOfWorkers)
-
isManualAdSpaceCounting
final Boolean isManualAdSpaceCounting()
If manual adspace counting should be used. If manual adspace counting is disabled, adspace is counted on every banner request.
-
setManualAdSpaceCounting
final Unit setManualAdSpaceCounting(Boolean isManualAdSpaceCounting)
If manual adspace counting should be used. If manual adspace counting is disabled, adspace is counted on every banner request.
-
getCollapsibleBannerOptions
final CollapsibleBannerOptions getCollapsibleBannerOptions()
Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.
-
setCollapsibleBannerOptions
final Unit setCollapsibleBannerOptions(CollapsibleBannerOptions collapsibleBannerOptions)
Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.
-
-
-
-