pub struct SmartCampaignSuggestionInfo {
pub final_url: String,
pub language_code: String,
pub ad_schedules: Vec<AdScheduleInfo>,
pub keyword_themes: Vec<KeywordThemeInfo>,
pub business_setting: Option<BusinessSetting>,
pub geo_target: Option<GeoTarget>,
}
Expand description
Information needed to get suggestion for Smart Campaign. More information provided will help the system to derive better suggestions.
Fields§
§final_url: String
Optional. Landing page URL of the campaign.
language_code: String
Optional. The two letter advertising language for the Smart campaign to be constructed, default to ‘en’ if not set.
ad_schedules: Vec<AdScheduleInfo>
Optional. The business ad schedule.
keyword_themes: Vec<KeywordThemeInfo>
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
business_setting: Option<BusinessSetting>
The business settings to consider when generating suggestions. Settings are automatically extracted from the business when provided. Otherwise, these settings must be specified explicitly.
geo_target: Option<GeoTarget>
The geo target of the campaign, either a list of locations or a single proximity shall be specified.
Trait Implementations§
Source§impl Clone for SmartCampaignSuggestionInfo
impl Clone for SmartCampaignSuggestionInfo
Source§fn clone(&self) -> SmartCampaignSuggestionInfo
fn clone(&self) -> SmartCampaignSuggestionInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SmartCampaignSuggestionInfo
impl Debug for SmartCampaignSuggestionInfo
Source§impl Message for SmartCampaignSuggestionInfo
impl Message for SmartCampaignSuggestionInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for SmartCampaignSuggestionInfo
Auto Trait Implementations§
impl Freeze for SmartCampaignSuggestionInfo
impl RefUnwindSafe for SmartCampaignSuggestionInfo
impl Send for SmartCampaignSuggestionInfo
impl Sync for SmartCampaignSuggestionInfo
impl Unpin for SmartCampaignSuggestionInfo
impl UnwindSafe for SmartCampaignSuggestionInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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