Struct gapi_grpc::google::ads::googleads::v5::common::Segments [−][src]
Segment only fields.
Fields
ad_network_type: i32Ad network type.
budget_campaign_association_status: Option<BudgetCampaignAssociationStatus>Budget campaign association status.
click_type: i32Click type.
conversion_action: StringResource name of the conversion action.
conversion_action_category: i32Conversion action category.
conversion_action_name: StringConversion action name.
conversion_adjustment: boolThis segments your conversion columns by the original conversion and conversion value vs. the delta if conversions were adjusted. False row has the data as originally stated; While true row has the delta between data now and the data as originally stated. Summing the two together results post-adjustment data.
conversion_attribution_event_type: i32Conversion attribution event type.
conversion_lag_bucket: i32An enum value representing the number of days between the impression and the conversion.
conversion_or_adjustment_lag_bucket: i32An enum value representing the number of days between the impression and the conversion or between the impression and adjustments to the conversion.
date: StringDate to which metrics apply. yyyy-MM-dd format, e.g., 2018-04-17.
day_of_week: i32Day of the week, e.g., MONDAY.
device: i32Device to which metrics apply.
external_conversion_source: i32External conversion source.
geo_target_airport: StringResource name of the geo target constant that represents an airport.
geo_target_canton: StringResource name of the geo target constant that represents a canton.
geo_target_city: StringResource name of the geo target constant that represents a city.
geo_target_country: StringResource name of the geo target constant that represents a country.
geo_target_county: StringResource name of the geo target constant that represents a county.
geo_target_district: StringResource name of the geo target constant that represents a district.
geo_target_metro: StringResource name of the geo target constant that represents a metro.
geo_target_most_specific_location: StringResource name of the geo target constant that represents the most specific location.
geo_target_postal_code: StringResource name of the geo target constant that represents a postal code.
geo_target_province: StringResource name of the geo target constant that represents a province.
geo_target_region: StringResource name of the geo target constant that represents a region.
geo_target_state: StringResource name of the geo target constant that represents a state.
hotel_booking_window_days: i64Hotel booking window in days.
hotel_center_id: i64Hotel center ID.
hotel_check_in_date: StringHotel check-in date. Formatted as yyyy-MM-dd.
hotel_check_in_day_of_week: i32Hotel check-in day of week.
hotel_city: StringHotel city.
hotel_class: i32Hotel class.
hotel_country: StringHotel country.
hotel_date_selection_type: i32Hotel date selection type.
hotel_length_of_stay: i32Hotel length of stay.
hotel_rate_rule_id: StringHotel rate rule ID.
hotel_rate_type: i32Hotel rate type.
hotel_price_bucket: i32Hotel price bucket.
hotel_state: StringHotel state.
hour: i32Hour of day as a number between 0 and 23, inclusive.
interaction_on_this_extension: boolOnly used with feed item metrics. Indicates whether the interaction metrics occurred on the feed item itself or a different extension or ad unit.
keyword: Option<Keyword>Keyword criterion.
month: StringMonth as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
month_of_year: i32Month of the year, e.g., January.
partner_hotel_id: StringPartner hotel ID.
placeholder_type: i32Placeholder type. This is only used with feed item metrics.
product_aggregator_id: i64Aggregator ID of the product.
product_bidding_category_level1: StringBidding category (level 1) of the product.
product_bidding_category_level2: StringBidding category (level 2) of the product.
product_bidding_category_level3: StringBidding category (level 3) of the product.
product_bidding_category_level4: StringBidding category (level 4) of the product.
product_bidding_category_level5: StringBidding category (level 5) of the product.
product_brand: StringBrand of the product.
product_channel: i32Channel of the product.
product_channel_exclusivity: i32Channel exclusivity of the product.
product_condition: i32Condition of the product.
product_country: StringResource name of the geo target constant for the country of sale of the product.
product_custom_attribute0: StringCustom attribute 0 of the product.
product_custom_attribute1: StringCustom attribute 1 of the product.
product_custom_attribute2: StringCustom attribute 2 of the product.
product_custom_attribute3: StringCustom attribute 3 of the product.
product_custom_attribute4: StringCustom attribute 4 of the product.
product_item_id: StringItem ID of the product.
product_language: StringResource name of the language constant for the language of the product.
product_merchant_id: i64Merchant ID of the product.
product_store_id: StringStore ID of the product.
product_title: StringTitle of the product.
product_type_l1: StringType (level 1) of the product.
product_type_l2: StringType (level 2) of the product.
product_type_l3: StringType (level 3) of the product.
product_type_l4: StringType (level 4) of the product.
product_type_l5: StringType (level 5) of the product.
quarter: StringQuarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, e.g., the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
search_engine_results_page_type: i32Type of the search engine results page.
search_term_match_type: i32Match type of the keyword that triggered the ad, including variants.
slot: i32Position of the ad.
webpage: StringResource name of the ad group criterion that represents webpage criterion.
week: StringWeek as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
year: i32Year, formatted as yyyy.
Implementations
impl Segments[src]
pub fn device(&self) -> Device[src]
Returns the enum value of device, or the default if the field is set to an invalid enum value.
pub fn set_device(&mut self, value: Device)[src]
Sets device to the provided enum value.
pub fn conversion_attribution_event_type(
&self
) -> ConversionAttributionEventType[src]
&self
) -> ConversionAttributionEventType
Returns the enum value of conversion_attribution_event_type, or the default if the field is set to an invalid enum value.
pub fn set_conversion_attribution_event_type(
&mut self,
value: ConversionAttributionEventType
)[src]
&mut self,
value: ConversionAttributionEventType
)
Sets conversion_attribution_event_type to the provided enum value.
pub fn ad_network_type(&self) -> AdNetworkType[src]
Returns the enum value of ad_network_type, or the default if the field is set to an invalid enum value.
pub fn set_ad_network_type(&mut self, value: AdNetworkType)[src]
Sets ad_network_type to the provided enum value.
pub fn day_of_week(&self) -> DayOfWeek[src]
Returns the enum value of day_of_week, or the default if the field is set to an invalid enum value.
pub fn set_day_of_week(&mut self, value: DayOfWeek)[src]
Sets day_of_week to the provided enum value.
pub fn hotel_check_in_day_of_week(&self) -> DayOfWeek[src]
Returns the enum value of hotel_check_in_day_of_week, or the default if the field is set to an invalid enum value.
pub fn set_hotel_check_in_day_of_week(&mut self, value: DayOfWeek)[src]
Sets hotel_check_in_day_of_week to the provided enum value.
pub fn hotel_date_selection_type(&self) -> HotelDateSelectionType[src]
Returns the enum value of hotel_date_selection_type, or the default if the field is set to an invalid enum value.
pub fn set_hotel_date_selection_type(&mut self, value: HotelDateSelectionType)[src]
Sets hotel_date_selection_type to the provided enum value.
pub fn month_of_year(&self) -> MonthOfYear[src]
Returns the enum value of month_of_year, or the default if the field is set to an invalid enum value.
pub fn set_month_of_year(&mut self, value: MonthOfYear)[src]
Sets month_of_year to the provided enum value.
pub fn placeholder_type(&self) -> PlaceholderType[src]
Returns the enum value of placeholder_type, or the default if the field is set to an invalid enum value.
pub fn set_placeholder_type(&mut self, value: PlaceholderType)[src]
Sets placeholder_type to the provided enum value.
pub fn search_term_match_type(&self) -> SearchTermMatchType[src]
Returns the enum value of search_term_match_type, or the default if the field is set to an invalid enum value.
pub fn set_search_term_match_type(&mut self, value: SearchTermMatchType)[src]
Sets search_term_match_type to the provided enum value.
pub fn slot(&self) -> Slot[src]
Returns the enum value of slot, or the default if the field is set to an invalid enum value.
pub fn set_slot(&mut self, value: Slot)[src]
Sets slot to the provided enum value.
pub fn click_type(&self) -> ClickType[src]
Returns the enum value of click_type, or the default if the field is set to an invalid enum value.
pub fn set_click_type(&mut self, value: ClickType)[src]
Sets click_type to the provided enum value.
pub fn product_channel(&self) -> ProductChannel[src]
Returns the enum value of product_channel, or the default if the field is set to an invalid enum value.
pub fn set_product_channel(&mut self, value: ProductChannel)[src]
Sets product_channel to the provided enum value.
pub fn product_channel_exclusivity(&self) -> ProductChannelExclusivity[src]
Returns the enum value of product_channel_exclusivity, or the default if the field is set to an invalid enum value.
pub fn set_product_channel_exclusivity(
&mut self,
value: ProductChannelExclusivity
)[src]
&mut self,
value: ProductChannelExclusivity
)
Sets product_channel_exclusivity to the provided enum value.
pub fn product_condition(&self) -> ProductCondition[src]
Returns the enum value of product_condition, or the default if the field is set to an invalid enum value.
pub fn set_product_condition(&mut self, value: ProductCondition)[src]
Sets product_condition to the provided enum value.
pub fn conversion_lag_bucket(&self) -> ConversionLagBucket[src]
Returns the enum value of conversion_lag_bucket, or the default if the field is set to an invalid enum value.
pub fn set_conversion_lag_bucket(&mut self, value: ConversionLagBucket)[src]
Sets conversion_lag_bucket to the provided enum value.
pub fn conversion_or_adjustment_lag_bucket(
&self
) -> ConversionOrAdjustmentLagBucket[src]
&self
) -> ConversionOrAdjustmentLagBucket
Returns the enum value of conversion_or_adjustment_lag_bucket, or the default if the field is set to an invalid enum value.
pub fn set_conversion_or_adjustment_lag_bucket(
&mut self,
value: ConversionOrAdjustmentLagBucket
)[src]
&mut self,
value: ConversionOrAdjustmentLagBucket
)
Sets conversion_or_adjustment_lag_bucket to the provided enum value.
pub fn conversion_action_category(&self) -> ConversionActionCategory[src]
Returns the enum value of conversion_action_category, or the default if the field is set to an invalid enum value.
pub fn set_conversion_action_category(
&mut self,
value: ConversionActionCategory
)[src]
&mut self,
value: ConversionActionCategory
)
Sets conversion_action_category to the provided enum value.
pub fn external_conversion_source(&self) -> ExternalConversionSource[src]
Returns the enum value of external_conversion_source, or the default if the field is set to an invalid enum value.
pub fn set_external_conversion_source(
&mut self,
value: ExternalConversionSource
)[src]
&mut self,
value: ExternalConversionSource
)
Sets external_conversion_source to the provided enum value.
pub fn search_engine_results_page_type(&self) -> SearchEngineResultsPageType[src]
Returns the enum value of search_engine_results_page_type, or the default if the field is set to an invalid enum value.
pub fn set_search_engine_results_page_type(
&mut self,
value: SearchEngineResultsPageType
)[src]
&mut self,
value: SearchEngineResultsPageType
)
Sets search_engine_results_page_type to the provided enum value.
pub fn hotel_rate_type(&self) -> HotelRateType[src]
Returns the enum value of hotel_rate_type, or the default if the field is set to an invalid enum value.
pub fn set_hotel_rate_type(&mut self, value: HotelRateType)[src]
Sets hotel_rate_type to the provided enum value.
pub fn hotel_price_bucket(&self) -> HotelPriceBucket[src]
Returns the enum value of hotel_price_bucket, or the default if the field is set to an invalid enum value.
pub fn set_hotel_price_bucket(&mut self, value: HotelPriceBucket)[src]
Sets hotel_price_bucket to the provided enum value.
Trait Implementations
impl Clone for Segments[src]
impl Debug for Segments[src]
impl Default for Segments[src]
impl Message for Segments[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut, [src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf, [src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize[src]
fn clear(&mut self)[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut, [src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut, [src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf, [src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf, [src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf, [src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf, [src]
B: Buf,
impl PartialEq<Segments> for Segments[src]
impl StructuralPartialEq for Segments[src]
Auto Trait Implementations
impl RefUnwindSafe for Segments
impl Send for Segments
impl Sync for Segments
impl Unpin for Segments
impl UnwindSafe for Segments
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoRequest<T> for T[src]
pub fn into_request(self) -> Request<T>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,
impl<T> WithSubscriber for T[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,