Asset

Asset is a part of an ad which can be shared across multiple ads. It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and cannot be removed. To stop an asset from serving, remove the asset from the entity that is using it.

Proto definition

Fields

asset_data

Union field. The specific type of the asset.

asset_data can be only one of the following:

book_on_google_asset

BookOnGoogleAsset

A book on google asset.

business_message_asset

BusinessMessageAsset

A business message asset.

call_asset

CallAsset

A call asset.

call_to_action_asset

CallToActionAsset

Immutable. A call to action asset.

callout_asset

CalloutAsset

A callout asset.

dynamic_custom_asset

DynamicCustomAsset

A dynamic custom asset.

dynamic_education_asset

DynamicEducationAsset

A dynamic education asset.

dynamic_flights_asset

DynamicFlightsAsset

A dynamic flights asset.

dynamic_hotels_and_rentals_asset

DynamicHotelsAndRentalsAsset

A dynamic hotels and rentals asset.

dynamic_jobs_asset

DynamicJobsAsset

A dynamic jobs asset.

dynamic_local_asset

DynamicLocalAsset

A dynamic local asset.

dynamic_real_estate_asset

DynamicRealEstateAsset

A dynamic real estate asset.

dynamic_travel_asset

DynamicTravelAsset

A dynamic travel asset.

hotel_callout_asset

HotelCalloutAsset

A hotel callout asset.

hotel_property_asset

HotelPropertyAsset

Immutable. A hotel property asset.

image_asset

ImageAsset

Output only. An image asset.

lead_form_asset

LeadFormAsset

A lead form asset.

location_asset

LocationAsset

Output only. A location asset.

media_bundle_asset

MediaBundleAsset

Immutable. A media bundle asset.

mobile_app_asset

MobileAppAsset

A mobile app asset.

page_feed_asset

PageFeedAsset

A page feed asset.

price_asset

PriceAsset

A price asset.

promotion_asset

PromotionAsset

A promotion asset.

structured_snippet_asset

StructuredSnippetAsset

A structured snippet asset.

text_asset

TextAsset

Immutable. A text asset.

youtube_video_asset

YoutubeVideoAsset

Immutable. A YouTube video asset.

youtube_video_list_asset

YouTubeVideoListAsset

Immutable. A YouTube video list asset.

field_type_policy_summaries[]

AssetFieldTypePolicySummary

Output only. Policy information for the asset for each FieldType.

final_mobile_urls[]

string

A list of possible final mobile URLs after all cross domain redirects.

final_url_suffix

string

URL template for appending params to landing page URLs served with parallel tracking.

final_urls[]

string

A list of possible final URLs after all cross domain redirects.

id

int64

Output only. The ID of the asset.

name

string

Optional name of the asset.

orientation

AssetOrientation

Output only. Orientation of the asset. This is only supported for image and video assets.

policy_summary

AssetPolicySummary

Output only. Policy information for the asset.

resource_name

string

Immutable. The resource name of the asset. Asset resource names have the form:

customers/{customer_id}/assets/{asset_id}

source

AssetSource

Output only. Source of the asset.

tracking_url_template

string

URL template for constructing a tracking URL.

type

AssetType

Output only. Type of the asset.

url_custom_parameters[]

CustomParameter

A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.