Enum gapi_grpc::google::ads::googleads::v5::enums::hotel_placeholder_field_enum::HotelPlaceholderField[][src]

#[repr(i32)]pub enum HotelPlaceholderField {
    Unspecified,
    Unknown,
    PropertyId,
    PropertyName,
    DestinationName,
    Description,
    Address,
    Price,
    FormattedPrice,
    SalePrice,
    FormattedSalePrice,
    ImageUrl,
    Category,
    StarRating,
    ContextualKeywords,
    FinalUrls,
    FinalMobileUrls,
    TrackingUrl,
    AndroidAppLink,
    SimilarPropertyIds,
    IosAppLink,
    IosAppStoreId,
}

Possible values for Hotel placeholder fields.

Variants

Unspecified

Not specified.

Unknown

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

PropertyId

Data Type: STRING. Required. Unique ID.

PropertyName

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

DestinationName

Data Type: STRING. Name of destination to be shown in dynamic ad.

Description

Data Type: STRING. Description of destination to be shown in dynamic ad.

Address

Data Type: STRING. Complete property address, including postal code.

Price

Data Type: STRING. Price to be shown in the ad. 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 property used to group like items together for recommendation engine.

StarRating

Data Type: INT64. Star rating (1 to 5) used to group like items together for recommendation engine.

ContextualKeywords

Data Type: STRING_LIST. Keywords used for product retrieval.

FinalUrls

Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded URLs. User will be redirected to these URLs when they click on an ad, or when they click on a specific flight for ads that show multiple flights.

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.

SimilarPropertyIds

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

Data Type: STRING. iOS app link.

IosAppStoreId

Data Type: INT64. iOS app store ID.

Implementations

impl HotelPlaceholderField[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of HotelPlaceholderField.

pub fn from_i32(value: i32) -> Option<HotelPlaceholderField>[src]

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

Trait Implementations

impl Clone for HotelPlaceholderField[src]

impl Copy for HotelPlaceholderField[src]

impl Debug for HotelPlaceholderField[src]

impl Default for HotelPlaceholderField[src]

impl Eq for HotelPlaceholderField[src]

impl From<HotelPlaceholderField> for i32[src]

impl Hash for HotelPlaceholderField[src]

impl Ord for HotelPlaceholderField[src]

impl PartialEq<HotelPlaceholderField> for HotelPlaceholderField[src]

impl PartialOrd<HotelPlaceholderField> for HotelPlaceholderField[src]

impl StructuralEq for HotelPlaceholderField[src]

impl StructuralPartialEq for HotelPlaceholderField[src]

Auto Trait Implementations

impl RefUnwindSafe for HotelPlaceholderField

impl Send for HotelPlaceholderField

impl Sync for HotelPlaceholderField

impl Unpin for HotelPlaceholderField

impl UnwindSafe for HotelPlaceholderField

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]