GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADAdChoicesPosition
enum GADAdChoicesPosition : NSInteger {}
Position of the AdChoices icon in the containing ad.
-
Declaration
Swift
case topRightCorner = 0
Objective-C
GADAdChoicesPositionTopRightCorner
-
Declaration
Swift
case topLeftCorner = 1
Objective-C
GADAdChoicesPositionTopLeftCorner
-
Declaration
Swift
case bottomRightCorner = 2
Objective-C
GADAdChoicesPositionBottomRightCorner
-
Declaration
Swift
case bottomLeftCorner = 3
Objective-C
GADAdChoicesPositionBottomLeftCorner
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\u003eGADAdChoicesPosition\u003c/code\u003e is an enum used to specify the position of the AdChoices icon within an ad.\u003c/p\u003e\n"],["\u003cp\u003eIt offers four corner positions: top-right, top-left, bottom-right, and bottom-left.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this enum to control where the AdChoices icon appears in their ads, using the respective case values.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is available for both Swift and Objective-C, with corresponding declarations provided for each language.\u003c/p\u003e\n"]]],["The core content defines the `GADAdChoicesPosition` enumeration, which specifies the location of the AdChoices icon within an ad. There are four possible positions: top right corner, top left corner, bottom right corner, and bottom left corner. Each position is represented by a case in Swift (with an integer value) and a corresponding constant in Objective-C. This allows developers to programmatically select the placement of the AdChoices icon.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADAdChoicesPosition\n====================\n\n enum GADAdChoicesPosition : NSInteger {}\n\nPosition of the AdChoices icon in the containing ad.\n- `\n ``\n ``\n `\n\n ### [GADAdChoicesPositionTopRightCorner](#/c:@E@GADAdChoicesPosition@GADAdChoicesPositionTopRightCorner)\n\n `\n ` \n \\\u003c Top right corner. \n\n #### Declaration\n\n Swift \n\n case topRightCorner = 0\n\n Objective-C \n\n GADAdChoicesPositionTopRightCorner\n\n- `\n ``\n ``\n `\n\n ### [GADAdChoicesPositionTopLeftCorner](#/c:@E@GADAdChoicesPosition@GADAdChoicesPositionTopLeftCorner)\n\n `\n ` \n \\\u003c Top left corner. \n\n #### Declaration\n\n Swift \n\n case topLeftCorner = 1\n\n Objective-C \n\n GADAdChoicesPositionTopLeftCorner\n\n- `\n ``\n ``\n `\n\n ### [GADAdChoicesPositionBottomRightCorner](#/c:@E@GADAdChoicesPosition@GADAdChoicesPositionBottomRightCorner)\n\n `\n ` \n \\\u003c Bottom right corner. \n\n #### Declaration\n\n Swift \n\n case bottomRightCorner = 2\n\n Objective-C \n\n GADAdChoicesPositionBottomRightCorner\n\n- `\n ``\n ``\n `\n\n ### [GADAdChoicesPositionBottomLeftCorner](#/c:@E@GADAdChoicesPosition@GADAdChoicesPositionBottomLeftCorner)\n\n `\n ` \n \\\u003c Bottom Left Corner. \n\n #### Declaration\n\n Swift \n\n case bottomLeftCorner = 3\n\n Objective-C \n\n GADAdChoicesPositionBottomLeftCorner"]]