Struct google_api_proto::google::ads::searchads360::v0::common::UnifiedCallAsset
source · pub struct UnifiedCallAsset {
pub country_code: String,
pub phone_number: String,
pub call_conversion_reporting_state: i32,
pub call_conversion_action: String,
pub ad_schedule_targets: Vec<AdScheduleInfo>,
pub call_only: bool,
pub call_tracking_enabled: bool,
pub use_searcher_time_zone: bool,
pub start_date: String,
pub end_date: String,
}
Expand description
A unified call asset.
Fields§
§country_code: String
Two-letter country code of the phone number. Examples: ‘US’, ‘us’.
phone_number: String
The advertiser’s raw phone number. Examples: ‘1234567890’, ‘(123)456-7890’
call_conversion_reporting_state: i32
Output only. Indicates whether this CallAsset should use its own call conversion setting, follow the account level setting, or disable call conversion.
call_conversion_action: String
The conversion action to attribute a call conversion to. If not set, the default conversion action is used. This field only has effect if call_conversion_reporting_state is set to USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
ad_schedule_targets: Vec<AdScheduleInfo>
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
call_only: bool
Whether the call only shows the phone number without a link to the website. Applies to Microsoft Ads.
call_tracking_enabled: bool
Whether the call should be enabled on call tracking. Applies to Microsoft Ads.
use_searcher_time_zone: bool
Whether to show the call extension in search user’s time zone. Applies to Microsoft Ads.
start_date: String
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
end_date: String
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
Implementations§
source§impl UnifiedCallAsset
impl UnifiedCallAsset
sourcepub fn call_conversion_reporting_state(&self) -> CallConversionReportingState
pub fn call_conversion_reporting_state(&self) -> CallConversionReportingState
Returns the enum value of call_conversion_reporting_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_call_conversion_reporting_state(
&mut self,
value: CallConversionReportingState,
)
pub fn set_call_conversion_reporting_state( &mut self, value: CallConversionReportingState, )
Sets call_conversion_reporting_state
to the provided enum value.
Trait Implementations§
source§impl Clone for UnifiedCallAsset
impl Clone for UnifiedCallAsset
source§fn clone(&self) -> UnifiedCallAsset
fn clone(&self) -> UnifiedCallAsset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnifiedCallAsset
impl Debug for UnifiedCallAsset
source§impl Default for UnifiedCallAsset
impl Default for UnifiedCallAsset
source§impl Message for UnifiedCallAsset
impl Message for UnifiedCallAsset
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UnifiedCallAsset
impl PartialEq for UnifiedCallAsset
source§fn eq(&self, other: &UnifiedCallAsset) -> bool
fn eq(&self, other: &UnifiedCallAsset) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnifiedCallAsset
Auto Trait Implementations§
impl Freeze for UnifiedCallAsset
impl RefUnwindSafe for UnifiedCallAsset
impl Send for UnifiedCallAsset
impl Sync for UnifiedCallAsset
impl Unpin for UnifiedCallAsset
impl UnwindSafe for UnifiedCallAsset
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request