Struct gapi_grpc::google::ads::googleads::v5::common::CallFeedItem[][src]

pub struct CallFeedItem {
    pub phone_number: Option<String>,
    pub country_code: Option<String>,
    pub call_tracking_enabled: Option<bool>,
    pub call_conversion_action: Option<String>,
    pub call_conversion_tracking_disabled: Option<bool>,
    pub call_conversion_reporting_state: i32,
}

Represents a Call extension.

Fields

phone_number: Option<String>

The advertiser’s phone number to append to the ad. This string must not be empty.

country_code: Option<String>

Uppercase two-letter country code of the advertiser’s phone number. This string must not be empty.

call_tracking_enabled: Option<bool>

Indicates whether call tracking is enabled. By default, call tracking is not enabled.

call_conversion_action: Option<String>

The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if call_tracking_enabled is set to true. Otherwise this field is ignored.

call_conversion_tracking_disabled: Option<bool>

If true, disable call conversion tracking. call_conversion_action should not be set if this is true. Optional.

call_conversion_reporting_state: i32

Enum value that indicates whether this call extension uses its own call conversion setting (or just have call conversion disabled), or following the account level setting.

Implementations

impl CallFeedItem[src]

pub fn call_conversion_reporting_state(&self) -> CallConversionReportingState[src]

Returns the enum value of call_conversion_reporting_state, or the default if the field is set to an invalid enum value.

pub fn set_call_conversion_reporting_state(
    &mut self,
    value: CallConversionReportingState
)
[src]

Sets call_conversion_reporting_state to the provided enum value.

Trait Implementations

impl Clone for CallFeedItem[src]

impl Debug for CallFeedItem[src]

impl Default for CallFeedItem[src]

impl Message for CallFeedItem[src]

impl PartialEq<CallFeedItem> for CallFeedItem[src]

impl StructuralPartialEq for CallFeedItem[src]

Auto Trait Implementations

impl RefUnwindSafe for CallFeedItem

impl Send for CallFeedItem

impl Sync for CallFeedItem

impl Unpin for CallFeedItem

impl UnwindSafe for CallFeedItem

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<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]