GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADMBannerAnimationType
enum GADMBannerAnimationType : NSInteger {}
These are the types of animation we employ for transitions between two mediated ads.
-
Declaration
Objective-C
GADMBannerAnimationTypeNone = 0
-
Declaration
Swift
case flipFromLeft = 1
Objective-C
GADMBannerAnimationTypeFlipFromLeft = 1
-
Declaration
Swift
case flipFromRight = 2
Objective-C
GADMBannerAnimationTypeFlipFromRight = 2
-
Declaration
Objective-C
GADMBannerAnimationTypeCurlUp = 3
-
Declaration
Objective-C
GADMBannerAnimationTypeCurlDown = 4
-
Declaration
Swift
case slideFromLeft = 5
Objective-C
GADMBannerAnimationTypeSlideFromLeft = 5
-
Declaration
Swift
case slideFromRight = 6
Objective-C
GADMBannerAnimationTypeSlideFromRight = 6
-
Declaration
Objective-C
GADMBannerAnimationTypeFadeIn = 7
-
Declaration
Objective-C
GADMBannerAnimationTypeRandom = 8
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADMBannerAnimationType\u003c/code\u003e defines the animation style for transitions between mediated ads.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a variety of animation options such as flip, curl, slide, and fade.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can choose a specific animation or opt for a random selection.\u003c/p\u003e\n"],["\u003cp\u003eThese animations enhance the visual experience during ad transitions in Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eThe enum provides constants for each animation type, usable in both Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleMobileAds Framework Reference\n\nGADMBannerAnimationType\n=======================\n\n enum GADMBannerAnimationType : NSInteger {}\n\nThese are the types of animation we employ for transitions between two mediated ads.\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeNone](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeNone)\n\n `\n ` \n \\\u003c No animation. \n\n #### Declaration\n\n Swift \n\n case none = 0\n\n Objective-C \n\n GADMBannerAnimationTypeNone = 0\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeFlipFromLeft](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeFlipFromLeft)\n\n `\n ` \n \\\u003c Flip from left. \n\n #### Declaration\n\n Swift \n\n case flipFromLeft = 1\n\n Objective-C \n\n GADMBannerAnimationTypeFlipFromLeft = 1\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeFlipFromRight](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeFlipFromRight)\n\n `\n ` \n \\\u003c Flip from right. \n\n #### Declaration\n\n Swift \n\n case flipFromRight = 2\n\n Objective-C \n\n GADMBannerAnimationTypeFlipFromRight = 2\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeCurlUp](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeCurlUp)\n\n `\n ` \n \\\u003c Curl up. \n\n #### Declaration\n\n Swift \n\n case curlUp = 3\n\n Objective-C \n\n GADMBannerAnimationTypeCurlUp = 3\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeCurlDown](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeCurlDown)\n\n `\n ` \n \\\u003c Curl down. \n\n #### Declaration\n\n Swift \n\n case curlDown = 4\n\n Objective-C \n\n GADMBannerAnimationTypeCurlDown = 4\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeSlideFromLeft](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeSlideFromLeft)\n\n `\n ` \n \\\u003c Slide from left. \n\n #### Declaration\n\n Swift \n\n case slideFromLeft = 5\n\n Objective-C \n\n GADMBannerAnimationTypeSlideFromLeft = 5\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeSlideFromRight](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeSlideFromRight)\n\n `\n ` \n \\\u003c Slide from right. \n\n #### Declaration\n\n Swift \n\n case slideFromRight = 6\n\n Objective-C \n\n GADMBannerAnimationTypeSlideFromRight = 6\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeFadeIn](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeFadeIn)\n\n `\n ` \n \\\u003c Fade in. \n\n #### Declaration\n\n Swift \n\n case fadeIn = 7\n\n Objective-C \n\n GADMBannerAnimationTypeFadeIn = 7\n\n- `\n ``\n ``\n `\n\n ### [GADMBannerAnimationTypeRandom](#/c:@E@GADMBannerAnimationType@GADMBannerAnimationTypeRandom)\n\n `\n ` \n \\\u003c Random animation. \n\n #### Declaration\n\n Swift \n\n case random = 8\n\n Objective-C \n\n GADMBannerAnimationTypeRandom = 8"]]