Enum googapis::google::ads::googleads::v7::enums::travel_placeholder_field_enum::TravelPlaceholderField[][src]

#[repr(i32)]
pub enum TravelPlaceholderField {
Show 22 variants Unspecified, Unknown, DestinationId, OriginId, Title, DestinationName, OriginName, Price, FormattedPrice, SalePrice, FormattedSalePrice, ImageUrl, Category, ContextualKeywords, DestinationAddress, FinalUrl, FinalMobileUrls, TrackingUrl, AndroidAppLink, SimilarDestinationIds, IosAppLink, IosAppStoreId,
}
Expand description

Possible values for Travel placeholder fields.

Variants

Unspecified

Not specified.

Unknown

Used for return value only. Represents value unknown in this version.

DestinationId

Data Type: STRING. Required. Destination id. Example: PAR, LON. For feed items that only have destination id, destination id must be a unique key. For feed items that have both destination id and origin id, then the combination must be a unique key.

OriginId

Data Type: STRING. Origin id. Example: PAR, LON. Combination of DESTINATION_ID and ORIGIN_ID must be unique per offer.

Title

Data Type: STRING. Required. Main headline with name to be shown in dynamic ad.

DestinationName

Data Type: STRING. The destination name. Shorter names are recommended.

OriginName

Data Type: STRING. Origin name. Shorter names are recommended.

Price

Data Type: STRING. Price to be shown in the ad. Highly recommended for dynamic ads. Example: “100.00 USD”

FormattedPrice

Data Type: STRING. Formatted price to be shown in the ad. Example: “Starting at $100.00 USD”, “$80 - $100”

SalePrice

Data Type: STRING. Sale price to be shown in the ad. Example: “80.00 USD”

FormattedSalePrice

Data Type: STRING. Formatted sale price to be shown in the ad. Example: “On sale for $80.00”, “$60 - $80”

ImageUrl

Data Type: URL. Image to be displayed in the ad.

Category

Data Type: STRING. Category of travel offer used to group like items together for recommendation engine.

ContextualKeywords

Data Type: STRING_LIST. Keywords used for product retrieval.

DestinationAddress

Data Type: STRING. Address of travel offer, including postal code.

FinalUrl

Data Type: URL_LIST. Required. Final URLs to be used in ad, when using Upgraded URLs; the more specific the better (e.g. the individual URL of a specific travel offer and its location).

FinalMobileUrls

Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.

TrackingUrl

Data Type: URL. Tracking template for the ad when using Upgraded URLs.

Data Type: STRING. Android app link. Must be formatted as: android-app://{package_id}/{scheme}/{host_path}. The components are defined as follows: package_id: app ID as specified in Google Play. scheme: the scheme to pass to the application. Can be HTTP, or a custom scheme. host_path: identifies the specific content within your application.

SimilarDestinationIds

Data Type: STRING_LIST. List of recommended destination IDs to show together with this item.

Data Type: STRING. iOS app link.

IosAppStoreId

Data Type: INT64. iOS app store ID.

Implementations

Returns true if value is a variant of TravelPlaceholderField.

Converts an i32 to a TravelPlaceholderField, or None if value is not a valid variant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more