AI-generated Key Takeaways
-
CreativePreviewError provides reasons why a creative preview URL might not be generated.
-
Some creative types, like native creatives, require specific methods for retrieving preview URLs.
-
Third-party creatives need an HTML snippet to get a preview URL.
-
An UNKNOWN value indicates that the actual error reason is not available in the requested API version.
Service
LineItemCreativeAssociation...
Dependencies
CreativePreviewError
▼
CreativePreviewError.Reason
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Enumeration | Description |
---|---|
CANNOT_GENERATE_PREVIEW_URL
|
The creative cannot be previewed on this page. |
CANNOT_GENERATE_PREVIEW_URL_FOR_NATIVE_CREATIVES
|
Preview URLs for native creatives must be retrieved with LineItemCreativeAssociationService.getPreviewUrlsForNativeStyles. |
HTML_SNIPPET_REQUIRED_FOR_THIRD_PARTY_CREATIVE
|
Third party creatives must have an html snippet set in order to obtain a preview URL. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |