Struct gapi_grpc::google::ads::googleads::v6::common::CallOnlyAdInfo[][src]

pub struct CallOnlyAdInfo {
    pub country_code: String,
    pub phone_number: String,
    pub business_name: String,
    pub headline1: String,
    pub headline2: String,
    pub description1: String,
    pub description2: String,
    pub call_tracked: bool,
    pub disable_call_conversion: bool,
    pub phone_number_verification_url: String,
    pub conversion_action: String,
    pub conversion_reporting_state: i32,
}

A call-only ad.

Fields

country_code: String

The country code in the ad.

phone_number: String

The phone number in the ad.

business_name: String

The business name in the ad.

headline1: String

First headline in the ad.

headline2: String

Second headline in the ad.

description1: String

The first line of the ad’s description.

description2: String

The second line of the ad’s description.

call_tracked: bool

Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.

disable_call_conversion: bool

Whether to disable call conversion for the creative. If set to true, disables call conversions even when call_tracked is true. If call_tracked is false, this field is ignored.

phone_number_verification_url: String

The URL to be used for phone number verification.

conversion_action: 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_tracked is set to true. Otherwise this field is ignored.

conversion_reporting_state: i32

The call conversion behavior of this call only ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.

Implementations

impl CallOnlyAdInfo[src]

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

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

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

Sets conversion_reporting_state to the provided enum value.

Trait Implementations

impl Clone for CallOnlyAdInfo[src]

impl Debug for CallOnlyAdInfo[src]

impl Default for CallOnlyAdInfo[src]

impl Message for CallOnlyAdInfo[src]

impl PartialEq<CallOnlyAdInfo> for CallOnlyAdInfo[src]

impl StructuralPartialEq for CallOnlyAdInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for CallOnlyAdInfo

impl Send for CallOnlyAdInfo

impl Sync for CallOnlyAdInfo

impl Unpin for CallOnlyAdInfo

impl UnwindSafe for CallOnlyAdInfo

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]