AATKit Ionic 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
        • initialize
        • reconfigure
        • setLogLevel
        • configureDebugScreen
        • enableDebugScreen
        • disableDebugScreen
        • setIsChildDirected
        • showConsentDialogIfNeeded
        • showConsentDialogIfNeededOrRejected
        • editConsent
        • reloadConsent
        • createPlacement
        • createRewardedVideoPlacement
        • reloadPlacement
        • startPlacementAutoReload
        • stopPlacementAutoReload
        • showPlacement
        • addPlacementToView
        • removePlacementFromView
        • setPlacementAlignment
        • setPlacementAlignmentWithOffset
        • isTablet
        • maximumBannerSizeLandscape
        • maximumBannerSizePortrait
        • fittingBannerSizesPortrait
        • fittingBannerSizesLandscape
        • setCollapsibleBannerOptions
        • setMultiContentTargetingUrlsForPlacement
        • getAdInfo
        • enableCreativeHistory
        • setUserTargeting
      • Interfaces
        • AATKitDebugScreenConfiguration
        • AATKitAdNetworkOptions
        • AATKitConfiguration
        • AATKitConsent
        • AATKitCollapsibleBannerOptions
        • AATKitAdInfo
      • Events
        • onHaveAd
        • onNoAd
        • onPauseForAd
        • onResumeAfterAd
        • onUserEarnedIncentive
        • aatkitObtainedAdRules
        • managedConsentNeedsUserInterface
        • managedConsentCMPFinished
        • managedConsentCMPFailedToShow
        • managedConsentCMPFailedToLoad
Powered by GitBook
On this page
  1. Other
  2. Reference
  3. Functions

setPlacementAlignmentWithOffset

setPlacementAlignmentWithOffset(...)

setPlacementAlignmentWithOffset(options: { placementName: string; bannerAlignment: string; x: number; y: number; }) => Promise<void>

Sets banner placement position on the screen with defined offset.

Param
Type
Description

options

{ placementName: string; bannerAlignment: string; x: number; y: number; }

object containing:

– placement name,

– banner alignment with possible values: "topLeft", "topCenter", "topRight", "bottomLeft", "bottomCenter", "bottomRight"

– x value of the banner offset. When this value is positive the banner is moved to the right, when it is negative the banner is moved to the left.

– y value of the banner offset. When this value is positive the banner is moved to the bottom, when it is negative the banner is moved to the top.


PrevioussetPlacementAlignmentNextisTablet

Last updated 1 month ago