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 more