enum LockedOrientation (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the orientation that a creative should be served with.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API
version.
|
FREE_ORIENTATION
|
|
PORTRAIT_ONLY
|
|
LANDSCAPE_ONLY
|
|
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe CreativeService supports various creative types such as CustomCreative, Html5Creative, ImageOverlayCreative, InternalRedirectCreative, RichMediaStudioCreative, TemplateCreative, and ThirdPartyCreative.\u003c/p\u003e\n"],["\u003cp\u003eLockedOrientation, within the CreativeService, describes how a creative should be displayed, with options like \u003ccode\u003eFREE_ORIENTATION\u003c/code\u003e, \u003ccode\u003ePORTRAIT_ONLY\u003c/code\u003e, and \u003ccode\u003eLANDSCAPE_ONLY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eLockedOrientation uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the LockedOrientation value is not supported by the API version being used.\u003c/p\u003e\n"]]],["The document details the `CreativeService` and its dependencies, including `CustomCreative`, `Html5Creative`, `ImageOverlayCreative`, `InternalRedirectCreative`, `RichMediaStudioCreative`, `TemplateCreative`, and `ThirdPartyCreative`. It also defines `LockedOrientation`, which specifies a creative's required display orientation. The `LockedOrientation` options are `UNKNOWN`, `FREE_ORIENTATION`, `PORTRAIT_ONLY`, and `LANDSCAPE_ONLY`. The namespace for these definitions is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# enum LockedOrientation (v202411)\n\n**Service** \n**CreativeService** **Dependencies** \n[CustomCreative](/ad-manager/api/reference/v202411/CreativeService.CustomCreative) [Html5Creative](/ad-manager/api/reference/v202411/CreativeService.Html5Creative) [ImageOverlayCreative](/ad-manager/api/reference/v202411/CreativeService.ImageOverlayCreative) [InternalRedirectCreative](/ad-manager/api/reference/v202411/CreativeService.InternalRedirectCreative) [RichMediaStudioCreative](/ad-manager/api/reference/v202411/CreativeService.RichMediaStudioCreative) [TemplateCreative](/ad-manager/api/reference/v202411/CreativeService.TemplateCreative) [ThirdPartyCreative](/ad-manager/api/reference/v202411/CreativeService.ThirdPartyCreative) \n▼\n**LockedOrientation**\n\nDescribes the orientation that a creative should be served with.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|--------------------|-------------------------------------------------------------------------------------|\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |\n| `FREE_ORIENTATION` | |\n| `PORTRAIT_ONLY` | |\n| `LANDSCAPE_ONLY` | |"]]