[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADMediaAspectRatio\u003c/code\u003e is an enum defining different media aspect ratios for ad requests.\u003c/p\u003e\n"],["\u003cp\u003eIt includes options for unknown, any, landscape, portrait, and square (close to 1:1) aspect ratios.\u003c/p\u003e\n"],["\u003cp\u003eEach aspect ratio is represented by an integer value accessible in both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize this enum to specify preferred aspect ratios when requesting ads, influencing ad creative selection.\u003c/p\u003e\n"]]],["The `GADMediaAspectRatio` enum defines media aspect ratio options, including `unknown` (0), `any` (1), `landscape` (2), `portrait` (3), and `square` (4). Each value corresponds to a specific media orientation or an undefined/flexible state. This allows for specifying the desired or detected media shape, with `square` representing a near 1:1 aspect ratio. Both Swift and Objective-C declarations are provided for each aspect ratio type.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADMediaAspectRatio\n===================\n\n enum GADMediaAspectRatio : NSInteger {}\n\nMedia aspect ratio.\n- `\n ``\n ``\n `\n\n ### [GADMediaAspectRatioUnknown](#/c:@E@GADMediaAspectRatio@GADMediaAspectRatioUnknown)\n\n `\n ` \n Unknown media aspect ratio. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n GADMediaAspectRatioUnknown = 0\n\n- `\n ``\n ``\n `\n\n ### [GADMediaAspectRatioAny](#/c:@E@GADMediaAspectRatio@GADMediaAspectRatioAny)\n\n `\n ` \n Any media aspect ratio. \n\n #### Declaration\n\n Swift \n\n case any = 1\n\n Objective-C \n\n GADMediaAspectRatioAny = 1\n\n- `\n ``\n ``\n `\n\n ### [GADMediaAspectRatioLandscape](#/c:@E@GADMediaAspectRatio@GADMediaAspectRatioLandscape)\n\n `\n ` \n Landscape media aspect ratio. \n\n #### Declaration\n\n Swift \n\n case landscape = 2\n\n Objective-C \n\n GADMediaAspectRatioLandscape = 2\n\n- `\n ``\n ``\n `\n\n ### [GADMediaAspectRatioPortrait](#/c:@E@GADMediaAspectRatio@GADMediaAspectRatioPortrait)\n\n `\n ` \n Portrait media aspect ratio. \n\n #### Declaration\n\n Swift \n\n case portrait = 3\n\n Objective-C \n\n GADMediaAspectRatioPortrait = 3\n\n- `\n ``\n ``\n `\n\n ### [GADMediaAspectRatioSquare](#/c:@E@GADMediaAspectRatio@GADMediaAspectRatioSquare)\n\n `\n ` \n Close to square media aspect ratio. This is not a strict 1:1 aspect ratio. \n\n #### Declaration\n\n Swift \n\n case square = 4\n\n Objective-C \n\n GADMediaAspectRatioSquare = 4"]]