AATKit Cordova Integration
Release Notes
  • Start
    • Setup
    • Initialization
    • App Tracking Transparency
    • Google Mobile Ads SDK
    • Consent
      • Managed Consent
      • Vendor Consent
      • Simple Consent
  • Formats
    • Banner
    • Fullscreen (Interstitial)
    • Rewarded Video
  • Other
    • Reference
      • Functions
        • initWithConfiguration
        • reconfigure
        • configureDebugScreen
        • getVersion
        • showConsentDialogIfNeeded
        • showConsentDialogIfNeededOrRejected
        • editConsent
        • reloadConsent
        • isConsentOptIn
        • setDebugEnabled
        • setDebugShakeEnabled
        • getDebugInfo
        • enableCreativeHistory
        • setNetworkEnabled
        • isNetworkEnabled
        • setIsChildDirected
        • createPlacement
        • createRewardedVideoPlacement
        • createAppOpenAdPlacement
        • setCollapsibleBannerOptions
        • reloadPlacement
        • reloadPlacementForced
        • startPlacementAutoReload
        • stopPlacementAutoReload
        • muteVideoAds
        • hasAdForPlacement
        • isFrequencyCapReachedForPlacement
        • addPlacementToView
        • removePlacementFromView
        • setPlacementAlignment
        • setPlacementAlignmentWithOffset
        • setPlacementPosition
        • setPlacementContentGravity
        • showPlacement
        • setTargetingInfo
        • setTargetingInfoForPlacement
        • setContentTargetingUrl
        • setContentTargetingUrlForPlacement
        • setMultiContentTargetingUrls
        • addAdNetworkForKeywordTargeting
        • removeAdNetworkForKeywordTargeting
        • setUserTargeting
        • isTablet
        • maximumBannerSizePortrait
        • maximumBannerSizeLandscape
        • fittingBannerSizesPortrait
        • fittingBannerSizesLandscape
        • getAdInfo
      • Events
        • aatkitHaveAd
        • aatkitNoAd
        • aatkitShowingEmpty
        • aatkitPauseForAd
        • aatkitResumeAfterAd
        • aatkitUserEarnedIncentive
        • aatkitObtainedAdRules
        • managedConsentNeedsUserInterface
        • managedConsentCMPFinished
        • managedConsentCMPFailedToLoad
        • managedConsentCMPFailedToShow
      • Statistics Events
        • countedAdSpace
        • countedRequest
        • countedResponse
        • countedImpression
        • countedVimpression
        • countedNimpression
        • countedDirectDealImpression
        • countedClick
      • Other
        • Configuration JSON
        • DebugScreenConfiguration
        • Networks list
        • Banner sizes
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Examples
  1. Other
  2. Reference
  3. Functions

setPlacementAlignment

Overview

Sets banner placement position on the screen.

Syntax

setPlacementAlignment(placementName, bannerAlignment)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in gravite.net account.

bannerAlignment (REQUIRED)

int Banner alignment on the screen.

topLeft
topCenter
topRight
bottomLeft
bottomCenter
bottomRight

Examples

AATKitCordova.setPlacementAlignment("Banner", "topCenter");
PreviousremovePlacementFromViewNextsetPlacementAlignmentWithOffset

Last updated 2 years ago