Enum gapi_grpc::google::ads::googleads::v5::enums::custom_placeholder_field_enum::CustomPlaceholderField[][src]

#[repr(i32)]pub enum CustomPlaceholderField {
    Unspecified,
    Unknown,
    Id,
    Id2,
    ItemTitle,
    ItemSubtitle,
    ItemDescription,
    ItemAddress,
    Price,
    FormattedPrice,
    SalePrice,
    FormattedSalePrice,
    ImageUrl,
    ItemCategory,
    FinalUrls,
    FinalMobileUrls,
    TrackingUrl,
    ContextualKeywords,
    AndroidAppLink,
    SimilarIds,
    IosAppLink,
    IosAppStoreId,
}

Possible values for Custom placeholder fields.

Variants

Unspecified

Not specified.

Unknown

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

Id

Data Type: STRING. Required. Combination ID and ID2 must be unique per offer.

Id2

Data Type: STRING. Combination ID and ID2 must be unique per offer.

ItemTitle

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

ItemSubtitle

Data Type: STRING. Optional text to be shown in the image ad.

ItemDescription

Data Type: STRING. Optional description of the product to be shown in the ad.

ItemAddress

Data Type: STRING. Full address of your offer or service, including postal code. This will be used to identify the closest product to the user when there are multiple offers in the feed that are relevant to the user.

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. Highly recommended for image ads.

ItemCategory

Data Type: STRING. Used as a recommendation engine signal to serve items in the same category.

FinalUrls

Data Type: URL_LIST. 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 product for ads that have multiple products.

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.

ContextualKeywords

Data Type: STRING_LIST. Keywords used for product retrieval.

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.

SimilarIds

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

Data Type: STRING. iOS app link.

IosAppStoreId

Data Type: INT64. iOS app store ID.

Implementations

impl CustomPlaceholderField[src]

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

Returns true if value is a variant of CustomPlaceholderField.

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

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

Trait Implementations

impl Clone for CustomPlaceholderField[src]

impl Copy for CustomPlaceholderField[src]

impl Debug for CustomPlaceholderField[src]

impl Default for CustomPlaceholderField[src]

impl Eq for CustomPlaceholderField[src]

impl From<CustomPlaceholderField> for i32[src]

impl Hash for CustomPlaceholderField[src]

impl Ord for CustomPlaceholderField[src]

impl PartialEq<CustomPlaceholderField> for CustomPlaceholderField[src]

impl PartialOrd<CustomPlaceholderField> for CustomPlaceholderField[src]

impl StructuralEq for CustomPlaceholderField[src]

impl StructuralPartialEq for CustomPlaceholderField[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomPlaceholderField

impl Send for CustomPlaceholderField

impl Sync for CustomPlaceholderField

impl Unpin for CustomPlaceholderField

impl UnwindSafe for CustomPlaceholderField

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]