type CreativeNativeStylePreview (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
LineItemCreativeAssociation...
Represents the NativeStyle of a Creative and its corresponding preview URL.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
nativeStyleId
|
xsd:long
The id of the NativeStyle.
|
previewUrl
|
xsd:string
The URL for previewing this creative using this particular NativeStyle
|
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\u003e\u003ccode\u003eCreativeNativeStylePreview\u003c/code\u003e represents the relationship between a creative's native style and its corresponding preview URL.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the ID of the native style (\u003ccode\u003enativeStyleId\u003c/code\u003e) and a URL for previewing the creative with that style (\u003ccode\u003epreviewUrl\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThis information is used by the \u003ccode\u003eLineItemCreativeAssociationService\u003c/code\u003e to retrieve preview URLs for native styles.\u003c/p\u003e\n"]]],["The `LineItemCreativeAssociation` service provides a method `getPreviewUrlsForNativeStyles()` to retrieve preview information. This method returns `CreativeNativeStylePreview` objects, which detail the preview URLs for a `Creative`'s `NativeStyle`. Each `CreativeNativeStylePreview` includes a `nativeStyleId` (a long integer identifying the `NativeStyle`) and a `previewUrl` (a string showing the creative's preview with the `NativeStyle`). The service's namespace is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type CreativeNativeStylePreview (v202408)\n\n**Service** \n**LineItemCreativeAssociation...** **Dependencies** \n[getPreviewUrlsForNativeStyl...](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService#getPreviewUrlsForNativeStyles \"getPreviewUrlsForNativeStyles()\") \n▼\n**CreativeNativeStylePreview**\n\nRepresents the [NativeStyle](/ad-manager/api/reference/v202408/NativeStyleService.NativeStyle) of a [Creative](/ad-manager/api/reference/v202408/CreativeService.Creative) and its corresponding preview URL.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `nativeStyleId` | ` `xsd:`long` The id of the [NativeStyle](/ad-manager/api/reference/v202408/NativeStyleService.NativeStyle). |\n| ### `previewUrl` | ` `xsd:`string` The URL for previewing this creative using this particular [NativeStyle](/ad-manager/api/reference/v202408/NativeStyleService.NativeStyle) |"]]