pub struct SearchTargetingOptionsRequest {
pub advertiser_id: Option<i64>,
pub business_chain_search_terms: Option<BusinessChainSearchTerms>,
pub geo_region_search_terms: Option<GeoRegionSearchTerms>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
pub poi_search_terms: Option<PoiSearchTerms>,
}
Expand description
Request message for SearchTargetingOptions.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- targeting options search targeting types (request)
Fields§
§advertiser_id: Option<i64>
Required. The Advertiser this request is being made in the context of.
business_chain_search_terms: Option<BusinessChainSearchTerms>
Search terms for Business Chain targeting options. Can only be used when targeting_type is TARGETING_TYPE_BUSINESS_CHAIN
.
geo_region_search_terms: Option<GeoRegionSearchTerms>
Search terms for geo region targeting options. Can only be used when targeting_type is TARGETING_TYPE_GEO_REGION
.
page_size: Option<i32>
Requested page size. Must be between 1
and 200
. If unspecified will default to 100
. Returns error code INVALID_ARGUMENT
if an invalid value is specified.
page_token: Option<String>
A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to SearchTargetingOptions
method. If not specified, the first page of results will be returned.
poi_search_terms: Option<PoiSearchTerms>
Search terms for POI targeting options. Can only be used when targeting_type is TARGETING_TYPE_POI
.
Trait Implementations§
Source§impl Clone for SearchTargetingOptionsRequest
impl Clone for SearchTargetingOptionsRequest
Source§fn clone(&self) -> SearchTargetingOptionsRequest
fn clone(&self) -> SearchTargetingOptionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for SearchTargetingOptionsRequest
impl Default for SearchTargetingOptionsRequest
Source§fn default() -> SearchTargetingOptionsRequest
fn default() -> SearchTargetingOptionsRequest
Source§impl<'de> Deserialize<'de> for SearchTargetingOptionsRequest
impl<'de> Deserialize<'de> for SearchTargetingOptionsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for SearchTargetingOptionsRequest
Auto Trait Implementations§
impl Freeze for SearchTargetingOptionsRequest
impl RefUnwindSafe for SearchTargetingOptionsRequest
impl Send for SearchTargetingOptionsRequest
impl Sync for SearchTargetingOptionsRequest
impl Unpin for SearchTargetingOptionsRequest
impl UnwindSafe for SearchTargetingOptionsRequest
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more