GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADVideoOptions
Video ad options.
-
Indicates whether videos should start muted. By default this property value is YES.
Declaration
Swift
var shouldStartMuted: Bool { get set }
Objective-C
@property (nonatomic) BOOL startMuted;
-
Indicates whether the requested video should have custom controls enabled for
play/pause/mute/unmute.
Declaration
Swift
var areCustomControlsRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL customControlsRequested;
-
Indicates whether the requested video should have the click to expand behavior.
Declaration
Swift
var isClickToExpandRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL clickToExpandRequested;
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.
[[["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\u003eGADVideoOptions\u003c/code\u003e provides customization settings for video ads, such as controlling playback, sound, and user interaction.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure whether videos start muted by default, enable custom controls, or allow click-to-expand functionality.\u003c/p\u003e\n"],["\u003cp\u003eThese options are accessible through properties like \u003ccode\u003estartMuted\u003c/code\u003e, \u003ccode\u003ecustomControlsRequested\u003c/code\u003e, and \u003ccode\u003eclickToExpandRequested\u003c/code\u003e in both Swift and Objective-C.\u003c/p\u003e\n"]]],["GADVideoOptions configures video ad behavior. The `startMuted` property determines if videos begin muted, defaulting to YES. `customControlsRequested` dictates whether play/pause/mute controls are enabled. `clickToExpandRequested` specifies if the video should have a click-to-expand feature. These properties are accessible and modifiable via Swift and Objective-C, allowing developers to adjust the user's video ad experience.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADVideoOptions\n===============\n\n\n @interface GADVideoOptions : ../Classes.html#/c:objc(cs)GADAdLoaderOptions\n\nVideo ad options.\n- `\n ``\n ``\n `\n\n ### [startMuted](#/c:objc(cs)GADVideoOptions(py)startMuted)\n\n `\n ` \n Indicates whether videos should start muted. By default this property value is YES. \n\n #### Declaration\n\n Swift \n\n var shouldStartMuted: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL startMuted;\n\n- `\n ``\n ``\n `\n\n ### [customControlsRequested](#/c:objc(cs)GADVideoOptions(py)customControlsRequested)\n\n `\n ` \n Indicates whether the requested video should have custom controls enabled for\n play/pause/mute/unmute. \n\n #### Declaration\n\n Swift \n\n var areCustomControlsRequested: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL customControlsRequested;\n\n- `\n ``\n ``\n `\n\n ### [clickToExpandRequested](#/c:objc(cs)GADVideoOptions(py)clickToExpandRequested)\n\n `\n ` \n Indicates whether the requested video should have the click to expand behavior. \n\n #### Declaration\n\n Swift \n\n var isClickToExpandRequested: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL clickToExpandRequested;"]]