enum LockedOrientation (v202402)
Describes the orientation that a creative should be served with.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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 2024-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["The `LockedOrientation` enumeration describes the orientation a creative should be served with, such as portrait or landscape."],["It is part of the Google Ad Manager API and uses the namespace `https://www.google.com/apis/ads/publisher/v202402`."],["Possible values include `FREE_ORIENTATION`, `PORTRAIT_ONLY`, `LANDSCAPE_ONLY`, and `UNKNOWN` for cases where the actual value isn't exposed."],["This enumeration is used within the CreativeService, which handles different creative types like CustomCreative and Html5Creative."]]],["The `CreativeService` has dependencies including `CustomCreative`, `Html5Creative`, `ImageOverlayCreative`, `InternalRedirectCreative`, `RichMediaStudioCreative`, `TemplateCreative`, and `ThirdPartyCreative`. `LockedOrientation` describes the desired orientation for creative serving, with options such as `UNKNOWN`, `FREE_ORIENTATION`, `PORTRAIT_ONLY`, and `LANDSCAPE_ONLY`. These orientations define how a creative should be displayed. The service's namespace is `https://www.google.com/apis/ads/publisher/v202402`.\n"]]