pub struct Segments {Show 109 fields
pub activity_account_id: Option<i64>,
pub activity_city: Option<String>,
pub activity_country: Option<String>,
pub activity_rating: Option<i64>,
pub activity_state: Option<String>,
pub external_activity_id: Option<String>,
pub ad_destination_type: i32,
pub ad_format_type: i32,
pub ad_network_type: i32,
pub ad_group: Option<String>,
pub asset_group: Option<String>,
pub auction_insight_domain: Option<String>,
pub budget_campaign_association_status: Option<BudgetCampaignAssociationStatus>,
pub campaign: Option<String>,
pub click_type: i32,
pub conversion_action: Option<String>,
pub conversion_action_category: i32,
pub conversion_action_name: Option<String>,
pub conversion_adjustment: Option<bool>,
pub conversion_attribution_event_type: i32,
pub conversion_lag_bucket: i32,
pub conversion_or_adjustment_lag_bucket: i32,
pub date: Option<String>,
pub day_of_week: i32,
pub device: i32,
pub external_conversion_source: i32,
pub geo_target_airport: Option<String>,
pub geo_target_canton: Option<String>,
pub geo_target_city: Option<String>,
pub geo_target_country: Option<String>,
pub geo_target_county: Option<String>,
pub geo_target_district: Option<String>,
pub geo_target_metro: Option<String>,
pub geo_target_most_specific_location: Option<String>,
pub geo_target_postal_code: Option<String>,
pub geo_target_province: Option<String>,
pub geo_target_region: Option<String>,
pub geo_target_state: Option<String>,
pub hotel_booking_window_days: Option<i64>,
pub hotel_center_id: Option<i64>,
pub hotel_check_in_date: Option<String>,
pub hotel_check_in_day_of_week: i32,
pub hotel_city: Option<String>,
pub hotel_class: Option<i32>,
pub hotel_country: Option<String>,
pub hotel_date_selection_type: i32,
pub hotel_length_of_stay: Option<i32>,
pub hotel_rate_rule_id: Option<String>,
pub hotel_rate_type: i32,
pub hotel_price_bucket: i32,
pub hotel_state: Option<String>,
pub hour: Option<i32>,
pub interaction_on_this_extension: Option<bool>,
pub keyword: Option<Keyword>,
pub month: Option<String>,
pub month_of_year: i32,
pub partner_hotel_id: Option<String>,
pub placeholder_type: i32,
pub product_aggregator_id: Option<i64>,
pub product_category_level1: Option<String>,
pub product_category_level2: Option<String>,
pub product_category_level3: Option<String>,
pub product_category_level4: Option<String>,
pub product_category_level5: Option<String>,
pub product_brand: Option<String>,
pub product_channel: i32,
pub product_channel_exclusivity: i32,
pub product_condition: i32,
pub product_country: Option<String>,
pub product_custom_attribute0: Option<String>,
pub product_custom_attribute1: Option<String>,
pub product_custom_attribute2: Option<String>,
pub product_custom_attribute3: Option<String>,
pub product_custom_attribute4: Option<String>,
pub product_feed_label: Option<String>,
pub product_item_id: Option<String>,
pub product_language: Option<String>,
pub product_merchant_id: Option<i64>,
pub product_store_id: Option<String>,
pub product_title: Option<String>,
pub product_type_l1: Option<String>,
pub product_type_l2: Option<String>,
pub product_type_l3: Option<String>,
pub product_type_l4: Option<String>,
pub product_type_l5: Option<String>,
pub quarter: Option<String>,
pub recommendation_type: i32,
pub search_engine_results_page_type: i32,
pub search_subcategory: Option<String>,
pub search_term: Option<String>,
pub search_term_match_type: i32,
pub slot: i32,
pub conversion_value_rule_primary_dimension: i32,
pub webpage: Option<String>,
pub week: Option<String>,
pub year: Option<i32>,
pub sk_ad_network_fine_conversion_value: Option<i64>,
pub sk_ad_network_redistributed_fine_conversion_value: Option<i64>,
pub sk_ad_network_user_type: i32,
pub sk_ad_network_ad_event_type: i32,
pub sk_ad_network_source_app: Option<SkAdNetworkSourceApp>,
pub sk_ad_network_attribution_credit: i32,
pub sk_ad_network_coarse_conversion_value: i32,
pub sk_ad_network_source_domain: Option<String>,
pub sk_ad_network_source_type: i32,
pub sk_ad_network_postback_sequence_index: Option<i64>,
pub sk_ad_network_version: Option<String>,
pub asset_interaction_target: Option<AssetInteractionTarget>,
pub new_versus_returning_customers: i32,
}
Expand description
Segment only fields.
Fields§
§activity_account_id: Option<i64>
Activity account ID.
activity_city: Option<String>
The city where the travel activity is available.
activity_country: Option<String>
The country where the travel activity is available.
activity_rating: Option<i64>
Activity rating.
activity_state: Option<String>
The state where the travel activity is available.
external_activity_id: Option<String>
Advertiser supplied activity ID.
ad_destination_type: i32
Ad Destination type.
ad_format_type: i32
Ad Format type.
ad_network_type: i32
Ad network type.
ad_group: Option<String>
Resource name of the ad group.
asset_group: Option<String>
Resource name of the asset group.
auction_insight_domain: Option<String>
Domain (visible URL) of a participant in the Auction Insights report.
budget_campaign_association_status: Option<BudgetCampaignAssociationStatus>
Budget campaign association status.
campaign: Option<String>
Resource name of the campaign.
click_type: i32
Click type.
conversion_action: Option<String>
Resource name of the conversion action.
conversion_action_category: i32
Conversion action category.
conversion_action_name: Option<String>
Conversion action name.
conversion_adjustment: Option<bool>
This segments your conversion columns by the original conversion and conversion value versus 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: i32
Conversion attribution event type.
conversion_lag_bucket: i32
An enum value representing the number of days between the impression and the conversion.
conversion_or_adjustment_lag_bucket: i32
An enum value representing the number of days between the impression and the conversion or between the impression and adjustments to the conversion.
date: Option<String>
Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
day_of_week: i32
Day of the week, for example, MONDAY.
device: i32
Device to which metrics apply.
external_conversion_source: i32
External conversion source.
geo_target_airport: Option<String>
Resource name of the geo target constant that represents an airport.
geo_target_canton: Option<String>
Resource name of the geo target constant that represents a canton.
geo_target_city: Option<String>
Resource name of the geo target constant that represents a city.
geo_target_country: Option<String>
Resource name of the geo target constant that represents a country.
geo_target_county: Option<String>
Resource name of the geo target constant that represents a county.
geo_target_district: Option<String>
Resource name of the geo target constant that represents a district.
geo_target_metro: Option<String>
Resource name of the geo target constant that represents a metro.
geo_target_most_specific_location: Option<String>
Resource name of the geo target constant that represents the most specific location.
geo_target_postal_code: Option<String>
Resource name of the geo target constant that represents a postal code.
geo_target_province: Option<String>
Resource name of the geo target constant that represents a province.
geo_target_region: Option<String>
Resource name of the geo target constant that represents a region.
geo_target_state: Option<String>
Resource name of the geo target constant that represents a state.
hotel_booking_window_days: Option<i64>
Hotel booking window in days.
hotel_center_id: Option<i64>
Hotel center ID.
hotel_check_in_date: Option<String>
Hotel check-in date. Formatted as yyyy-MM-dd.
hotel_check_in_day_of_week: i32
Hotel check-in day of week.
hotel_city: Option<String>
Hotel city.
hotel_class: Option<i32>
Hotel class.
hotel_country: Option<String>
Hotel country.
hotel_date_selection_type: i32
Hotel date selection type.
hotel_length_of_stay: Option<i32>
Hotel length of stay.
hotel_rate_rule_id: Option<String>
Hotel rate rule ID.
hotel_rate_type: i32
Hotel rate type.
hotel_price_bucket: i32
Hotel price bucket.
hotel_state: Option<String>
Hotel state.
hour: Option<i32>
Hour of day as a number between 0 and 23, inclusive.
interaction_on_this_extension: Option<bool>
Only 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: Option<String>
Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
month_of_year: i32
Month of the year, for example, January.
partner_hotel_id: Option<String>
Partner hotel ID.
placeholder_type: i32
Placeholder type. This is only used with feed item metrics.
product_aggregator_id: Option<i64>
Aggregator ID of the product.
product_category_level1: Option<String>
Category (level 1) of the product.
product_category_level2: Option<String>
Category (level 2) of the product.
product_category_level3: Option<String>
Category (level 3) of the product.
product_category_level4: Option<String>
Category (level 4) of the product.
product_category_level5: Option<String>
Category (level 5) of the product.
product_brand: Option<String>
Brand of the product.
product_channel: i32
Channel of the product.
product_channel_exclusivity: i32
Channel exclusivity of the product.
product_condition: i32
Condition of the product.
product_country: Option<String>
Resource name of the geo target constant for the country of sale of the product.
product_custom_attribute0: Option<String>
Custom attribute 0 of the product.
product_custom_attribute1: Option<String>
Custom attribute 1 of the product.
product_custom_attribute2: Option<String>
Custom attribute 2 of the product.
product_custom_attribute3: Option<String>
Custom attribute 3 of the product.
product_custom_attribute4: Option<String>
Custom attribute 4 of the product.
product_feed_label: Option<String>
Feed label of the product.
product_item_id: Option<String>
Item ID of the product.
product_language: Option<String>
Resource name of the language constant for the language of the product.
product_merchant_id: Option<i64>
Merchant ID of the product.
product_store_id: Option<String>
Store ID of the product.
product_title: Option<String>
Title of the product.
product_type_l1: Option<String>
Type (level 1) of the product.
product_type_l2: Option<String>
Type (level 2) of the product.
product_type_l3: Option<String>
Type (level 3) of the product.
product_type_l4: Option<String>
Type (level 4) of the product.
product_type_l5: Option<String>
Type (level 5) of the product.
quarter: Option<String>
Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
recommendation_type: i32
Recommendation type.
search_engine_results_page_type: i32
Type of the search engine results page.
search_subcategory: Option<String>
A search term subcategory. An empty string denotes the catch-all subcategory for search terms that didn’t fit into another subcategory.
search_term: Option<String>
A search term.
search_term_match_type: i32
Match type of the keyword that triggered the ad, including variants.
slot: i32
Position of the ad.
conversion_value_rule_primary_dimension: i32
Primary dimension of applied conversion value rules. NO_RULE_APPLIED shows the total recorded value of conversions that do not have a value rule applied. ORIGINAL shows the original value of conversions to which a value rule has been applied. GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value rules were applied.
webpage: Option<String>
Resource name of the ad group criterion that represents webpage criterion.
week: Option<String>
Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
year: Option<i32>
Year, formatted as yyyy.
sk_ad_network_fine_conversion_value: Option<i64>
iOS Store Kit Ad Network conversion value. Null value means this segment is not applicable, for example, non-iOS campaign.
sk_ad_network_redistributed_fine_conversion_value: Option<i64>
iOS Store Kit Ad Network redistributed fine conversion value.
Google uses modeling on observed conversion values(obtained from Apple) to calculate conversions from SKAN postbacks where NULLs are returned. This column represents the sum of the modeled conversion values and the observed conversion values. See https://support.google.com/google-ads/answer/14892597 to lean more.
sk_ad_network_user_type: i32
iOS Store Kit Ad Network user type.
sk_ad_network_ad_event_type: i32
iOS Store Kit Ad Network ad event type.
sk_ad_network_source_app: Option<SkAdNetworkSourceApp>
App where the ad that drove the iOS Store Kit Ad Network install was shown. Null value means this segment is not applicable, for example, non-iOS campaign, or was not present in any postbacks sent by Apple.
sk_ad_network_attribution_credit: i32
iOS Store Kit Ad Network attribution credit
sk_ad_network_coarse_conversion_value: i32
iOS Store Kit Ad Network coarse conversion value.
sk_ad_network_source_domain: Option<String>
Website where the ad that drove the iOS Store Kit Ad Network install was shown. Null value means this segment is not applicable, for example, non-iOS campaign, or was not present in any postbacks sent by Apple.
sk_ad_network_source_type: i32
The source type where the ad that drove the iOS Store Kit Ad Network install was shown. Null value means this segment is not applicable, for example, non-iOS campaign, or neither source domain nor source app were present in any postbacks sent by Apple.
sk_ad_network_postback_sequence_index: Option<i64>
iOS Store Kit Ad Network postback sequence index.
sk_ad_network_version: Option<String>
The version of the SKAdNetwork API used.
asset_interaction_target: Option<AssetInteractionTarget>
Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit. Interactions (for example, clicks) are counted across all the parts of the served ad (for example, Ad itself and other components like Sitelinks) when they are served together. When interaction_on_this_asset is true, it means the interactions are on this specific asset and when interaction_on_this_asset is false, it means the interactions is not on this specific asset but on other parts of the served ad this asset is served with.
new_versus_returning_customers: i32
This is for segmenting conversions by whether the user is a new customer or a returning customer. This segmentation is typically used to measure the impact of customer acquisition goal.
Implementations§
source§impl Segments
impl Segments
sourcepub fn device(&self) -> Device
pub fn device(&self) -> Device
Returns the enum value of device
, or the default if the field is set to an invalid enum value.
sourcepub fn set_device(&mut self, value: Device)
pub fn set_device(&mut self, value: Device)
Sets device
to the provided enum value.
sourcepub fn conversion_attribution_event_type(
&self,
) -> ConversionAttributionEventType
pub fn conversion_attribution_event_type( &self, ) -> ConversionAttributionEventType
Returns the enum value of conversion_attribution_event_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_conversion_attribution_event_type(
&mut self,
value: ConversionAttributionEventType,
)
pub fn set_conversion_attribution_event_type( &mut self, value: ConversionAttributionEventType, )
Sets conversion_attribution_event_type
to the provided enum value.
sourcepub fn ad_network_type(&self) -> AdNetworkType
pub fn ad_network_type(&self) -> AdNetworkType
Returns the enum value of ad_network_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_ad_network_type(&mut self, value: AdNetworkType)
pub fn set_ad_network_type(&mut self, value: AdNetworkType)
Sets ad_network_type
to the provided enum value.
sourcepub fn day_of_week(&self) -> DayOfWeek
pub fn day_of_week(&self) -> DayOfWeek
Returns the enum value of day_of_week
, or the default if the field is set to an invalid enum value.
sourcepub fn set_day_of_week(&mut self, value: DayOfWeek)
pub fn set_day_of_week(&mut self, value: DayOfWeek)
Sets day_of_week
to the provided enum value.
sourcepub fn hotel_check_in_day_of_week(&self) -> DayOfWeek
pub fn hotel_check_in_day_of_week(&self) -> DayOfWeek
Returns the enum value of hotel_check_in_day_of_week
, or the default if the field is set to an invalid enum value.
sourcepub fn set_hotel_check_in_day_of_week(&mut self, value: DayOfWeek)
pub fn set_hotel_check_in_day_of_week(&mut self, value: DayOfWeek)
Sets hotel_check_in_day_of_week
to the provided enum value.
sourcepub fn hotel_date_selection_type(&self) -> HotelDateSelectionType
pub fn hotel_date_selection_type(&self) -> HotelDateSelectionType
Returns the enum value of hotel_date_selection_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_hotel_date_selection_type(&mut self, value: HotelDateSelectionType)
pub fn set_hotel_date_selection_type(&mut self, value: HotelDateSelectionType)
Sets hotel_date_selection_type
to the provided enum value.
sourcepub fn month_of_year(&self) -> MonthOfYear
pub fn month_of_year(&self) -> MonthOfYear
Returns the enum value of month_of_year
, or the default if the field is set to an invalid enum value.
sourcepub fn set_month_of_year(&mut self, value: MonthOfYear)
pub fn set_month_of_year(&mut self, value: MonthOfYear)
Sets month_of_year
to the provided enum value.
sourcepub fn placeholder_type(&self) -> PlaceholderType
pub fn placeholder_type(&self) -> PlaceholderType
Returns the enum value of placeholder_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_placeholder_type(&mut self, value: PlaceholderType)
pub fn set_placeholder_type(&mut self, value: PlaceholderType)
Sets placeholder_type
to the provided enum value.
sourcepub fn search_term_match_type(&self) -> SearchTermMatchType
pub fn search_term_match_type(&self) -> SearchTermMatchType
Returns the enum value of search_term_match_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_search_term_match_type(&mut self, value: SearchTermMatchType)
pub fn set_search_term_match_type(&mut self, value: SearchTermMatchType)
Sets search_term_match_type
to the provided enum value.
sourcepub fn slot(&self) -> Slot
pub fn slot(&self) -> Slot
Returns the enum value of slot
, or the default if the field is set to an invalid enum value.
sourcepub fn click_type(&self) -> ClickType
pub fn click_type(&self) -> ClickType
Returns the enum value of click_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_click_type(&mut self, value: ClickType)
pub fn set_click_type(&mut self, value: ClickType)
Sets click_type
to the provided enum value.
sourcepub fn product_channel(&self) -> ProductChannel
pub fn product_channel(&self) -> ProductChannel
Returns the enum value of product_channel
, or the default if the field is set to an invalid enum value.
sourcepub fn set_product_channel(&mut self, value: ProductChannel)
pub fn set_product_channel(&mut self, value: ProductChannel)
Sets product_channel
to the provided enum value.
sourcepub fn product_channel_exclusivity(&self) -> ProductChannelExclusivity
pub fn product_channel_exclusivity(&self) -> ProductChannelExclusivity
Returns the enum value of product_channel_exclusivity
, or the default if the field is set to an invalid enum value.
sourcepub fn set_product_channel_exclusivity(
&mut self,
value: ProductChannelExclusivity,
)
pub fn set_product_channel_exclusivity( &mut self, value: ProductChannelExclusivity, )
Sets product_channel_exclusivity
to the provided enum value.
sourcepub fn product_condition(&self) -> ProductCondition
pub fn product_condition(&self) -> ProductCondition
Returns the enum value of product_condition
, or the default if the field is set to an invalid enum value.
sourcepub fn set_product_condition(&mut self, value: ProductCondition)
pub fn set_product_condition(&mut self, value: ProductCondition)
Sets product_condition
to the provided enum value.
sourcepub fn conversion_lag_bucket(&self) -> ConversionLagBucket
pub fn conversion_lag_bucket(&self) -> ConversionLagBucket
Returns the enum value of conversion_lag_bucket
, or the default if the field is set to an invalid enum value.
sourcepub fn set_conversion_lag_bucket(&mut self, value: ConversionLagBucket)
pub fn set_conversion_lag_bucket(&mut self, value: ConversionLagBucket)
Sets conversion_lag_bucket
to the provided enum value.
sourcepub fn conversion_or_adjustment_lag_bucket(
&self,
) -> ConversionOrAdjustmentLagBucket
pub fn conversion_or_adjustment_lag_bucket( &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.
sourcepub fn set_conversion_or_adjustment_lag_bucket(
&mut self,
value: ConversionOrAdjustmentLagBucket,
)
pub fn set_conversion_or_adjustment_lag_bucket( &mut self, value: ConversionOrAdjustmentLagBucket, )
Sets conversion_or_adjustment_lag_bucket
to the provided enum value.
sourcepub fn conversion_action_category(&self) -> ConversionActionCategory
pub fn conversion_action_category(&self) -> ConversionActionCategory
Returns the enum value of conversion_action_category
, or the default if the field is set to an invalid enum value.
sourcepub fn set_conversion_action_category(
&mut self,
value: ConversionActionCategory,
)
pub fn set_conversion_action_category( &mut self, value: ConversionActionCategory, )
Sets conversion_action_category
to the provided enum value.
sourcepub fn external_conversion_source(&self) -> ExternalConversionSource
pub fn external_conversion_source(&self) -> ExternalConversionSource
Returns the enum value of external_conversion_source
, or the default if the field is set to an invalid enum value.
sourcepub fn set_external_conversion_source(
&mut self,
value: ExternalConversionSource,
)
pub fn set_external_conversion_source( &mut self, value: ExternalConversionSource, )
Sets external_conversion_source
to the provided enum value.
sourcepub fn search_engine_results_page_type(&self) -> SearchEngineResultsPageType
pub fn search_engine_results_page_type(&self) -> SearchEngineResultsPageType
Returns the enum value of search_engine_results_page_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_search_engine_results_page_type(
&mut self,
value: SearchEngineResultsPageType,
)
pub fn set_search_engine_results_page_type( &mut self, value: SearchEngineResultsPageType, )
Sets search_engine_results_page_type
to the provided enum value.
sourcepub fn hotel_rate_type(&self) -> HotelRateType
pub fn hotel_rate_type(&self) -> HotelRateType
Returns the enum value of hotel_rate_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_hotel_rate_type(&mut self, value: HotelRateType)
pub fn set_hotel_rate_type(&mut self, value: HotelRateType)
Sets hotel_rate_type
to the provided enum value.
sourcepub fn hotel_price_bucket(&self) -> HotelPriceBucket
pub fn hotel_price_bucket(&self) -> HotelPriceBucket
Returns the enum value of hotel_price_bucket
, or the default if the field is set to an invalid enum value.
sourcepub fn set_hotel_price_bucket(&mut self, value: HotelPriceBucket)
pub fn set_hotel_price_bucket(&mut self, value: HotelPriceBucket)
Sets hotel_price_bucket
to the provided enum value.
sourcepub fn hotel_center_id(&self) -> i64
pub fn hotel_center_id(&self) -> i64
Returns the value of hotel_center_id
, or the default value if hotel_center_id
is unset.
sourcepub fn hotel_check_in_date(&self) -> &str
pub fn hotel_check_in_date(&self) -> &str
Returns the value of hotel_check_in_date
, or the default value if hotel_check_in_date
is unset.
sourcepub fn hotel_city(&self) -> &str
pub fn hotel_city(&self) -> &str
Returns the value of hotel_city
, or the default value if hotel_city
is unset.
sourcepub fn hotel_class(&self) -> i32
pub fn hotel_class(&self) -> i32
Returns the value of hotel_class
, or the default value if hotel_class
is unset.
sourcepub fn hotel_country(&self) -> &str
pub fn hotel_country(&self) -> &str
Returns the value of hotel_country
, or the default value if hotel_country
is unset.
sourcepub fn hotel_length_of_stay(&self) -> i32
pub fn hotel_length_of_stay(&self) -> i32
Returns the value of hotel_length_of_stay
, or the default value if hotel_length_of_stay
is unset.
sourcepub fn hotel_rate_rule_id(&self) -> &str
pub fn hotel_rate_rule_id(&self) -> &str
Returns the value of hotel_rate_rule_id
, or the default value if hotel_rate_rule_id
is unset.
sourcepub fn hotel_state(&self) -> &str
pub fn hotel_state(&self) -> &str
Returns the value of hotel_state
, or the default value if hotel_state
is unset.
sourcepub fn interaction_on_this_extension(&self) -> bool
pub fn interaction_on_this_extension(&self) -> bool
Returns the value of interaction_on_this_extension
, or the default value if interaction_on_this_extension
is unset.
sourcepub fn month(&self) -> &str
pub fn month(&self) -> &str
Returns the value of month
, or the default value if month
is unset.
sourcepub fn partner_hotel_id(&self) -> &str
pub fn partner_hotel_id(&self) -> &str
Returns the value of partner_hotel_id
, or the default value if partner_hotel_id
is unset.
sourcepub fn product_brand(&self) -> &str
pub fn product_brand(&self) -> &str
Returns the value of product_brand
, or the default value if product_brand
is unset.
sourcepub fn product_country(&self) -> &str
pub fn product_country(&self) -> &str
Returns the value of product_country
, or the default value if product_country
is unset.
sourcepub fn product_custom_attribute0(&self) -> &str
pub fn product_custom_attribute0(&self) -> &str
Returns the value of product_custom_attribute0
, or the default value if product_custom_attribute0
is unset.
sourcepub fn product_custom_attribute1(&self) -> &str
pub fn product_custom_attribute1(&self) -> &str
Returns the value of product_custom_attribute1
, or the default value if product_custom_attribute1
is unset.
sourcepub fn product_custom_attribute2(&self) -> &str
pub fn product_custom_attribute2(&self) -> &str
Returns the value of product_custom_attribute2
, or the default value if product_custom_attribute2
is unset.
sourcepub fn product_custom_attribute3(&self) -> &str
pub fn product_custom_attribute3(&self) -> &str
Returns the value of product_custom_attribute3
, or the default value if product_custom_attribute3
is unset.
sourcepub fn product_custom_attribute4(&self) -> &str
pub fn product_custom_attribute4(&self) -> &str
Returns the value of product_custom_attribute4
, or the default value if product_custom_attribute4
is unset.
sourcepub fn product_item_id(&self) -> &str
pub fn product_item_id(&self) -> &str
Returns the value of product_item_id
, or the default value if product_item_id
is unset.
sourcepub fn product_language(&self) -> &str
pub fn product_language(&self) -> &str
Returns the value of product_language
, or the default value if product_language
is unset.
sourcepub fn product_store_id(&self) -> &str
pub fn product_store_id(&self) -> &str
Returns the value of product_store_id
, or the default value if product_store_id
is unset.
sourcepub fn product_title(&self) -> &str
pub fn product_title(&self) -> &str
Returns the value of product_title
, or the default value if product_title
is unset.
sourcepub fn product_type_l1(&self) -> &str
pub fn product_type_l1(&self) -> &str
Returns the value of product_type_l1
, or the default value if product_type_l1
is unset.
sourcepub fn product_type_l2(&self) -> &str
pub fn product_type_l2(&self) -> &str
Returns the value of product_type_l2
, or the default value if product_type_l2
is unset.
sourcepub fn product_type_l3(&self) -> &str
pub fn product_type_l3(&self) -> &str
Returns the value of product_type_l3
, or the default value if product_type_l3
is unset.
sourcepub fn product_type_l4(&self) -> &str
pub fn product_type_l4(&self) -> &str
Returns the value of product_type_l4
, or the default value if product_type_l4
is unset.
sourcepub fn product_type_l5(&self) -> &str
pub fn product_type_l5(&self) -> &str
Returns the value of product_type_l5
, or the default value if product_type_l5
is unset.
sourcepub fn conversion_action(&self) -> &str
pub fn conversion_action(&self) -> &str
Returns the value of conversion_action
, or the default value if conversion_action
is unset.
sourcepub fn conversion_action_name(&self) -> &str
pub fn conversion_action_name(&self) -> &str
Returns the value of conversion_action_name
, or the default value if conversion_action_name
is unset.
sourcepub fn conversion_adjustment(&self) -> bool
pub fn conversion_adjustment(&self) -> bool
Returns the value of conversion_adjustment
, or the default value if conversion_adjustment
is unset.
sourcepub fn geo_target_airport(&self) -> &str
pub fn geo_target_airport(&self) -> &str
Returns the value of geo_target_airport
, or the default value if geo_target_airport
is unset.
sourcepub fn geo_target_canton(&self) -> &str
pub fn geo_target_canton(&self) -> &str
Returns the value of geo_target_canton
, or the default value if geo_target_canton
is unset.
sourcepub fn geo_target_city(&self) -> &str
pub fn geo_target_city(&self) -> &str
Returns the value of geo_target_city
, or the default value if geo_target_city
is unset.
sourcepub fn geo_target_country(&self) -> &str
pub fn geo_target_country(&self) -> &str
Returns the value of geo_target_country
, or the default value if geo_target_country
is unset.
sourcepub fn geo_target_county(&self) -> &str
pub fn geo_target_county(&self) -> &str
Returns the value of geo_target_county
, or the default value if geo_target_county
is unset.
sourcepub fn geo_target_district(&self) -> &str
pub fn geo_target_district(&self) -> &str
Returns the value of geo_target_district
, or the default value if geo_target_district
is unset.
sourcepub fn geo_target_metro(&self) -> &str
pub fn geo_target_metro(&self) -> &str
Returns the value of geo_target_metro
, or the default value if geo_target_metro
is unset.
sourcepub fn geo_target_most_specific_location(&self) -> &str
pub fn geo_target_most_specific_location(&self) -> &str
Returns the value of geo_target_most_specific_location
, or the default value if geo_target_most_specific_location
is unset.
sourcepub fn geo_target_postal_code(&self) -> &str
pub fn geo_target_postal_code(&self) -> &str
Returns the value of geo_target_postal_code
, or the default value if geo_target_postal_code
is unset.
sourcepub fn geo_target_province(&self) -> &str
pub fn geo_target_province(&self) -> &str
Returns the value of geo_target_province
, or the default value if geo_target_province
is unset.
sourcepub fn geo_target_region(&self) -> &str
pub fn geo_target_region(&self) -> &str
Returns the value of geo_target_region
, or the default value if geo_target_region
is unset.
sourcepub fn geo_target_state(&self) -> &str
pub fn geo_target_state(&self) -> &str
Returns the value of geo_target_state
, or the default value if geo_target_state
is unset.
sourcepub fn quarter(&self) -> &str
pub fn quarter(&self) -> &str
Returns the value of quarter
, or the default value if quarter
is unset.
sourcepub fn webpage(&self) -> &str
pub fn webpage(&self) -> &str
Returns the value of webpage
, or the default value if webpage
is unset.
sourcepub fn product_aggregator_id(&self) -> i64
pub fn product_aggregator_id(&self) -> i64
Returns the value of product_aggregator_id
, or the default value if product_aggregator_id
is unset.
sourcepub fn product_merchant_id(&self) -> i64
pub fn product_merchant_id(&self) -> i64
Returns the value of product_merchant_id
, or the default value if product_merchant_id
is unset.
sourcepub fn hotel_booking_window_days(&self) -> i64
pub fn hotel_booking_window_days(&self) -> i64
Returns the value of hotel_booking_window_days
, or the default value if hotel_booking_window_days
is unset.
sourcepub fn ad_destination_type(&self) -> AdDestinationType
pub fn ad_destination_type(&self) -> AdDestinationType
Returns the enum value of ad_destination_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_ad_destination_type(&mut self, value: AdDestinationType)
pub fn set_ad_destination_type(&mut self, value: AdDestinationType)
Sets ad_destination_type
to the provided enum value.
sourcepub fn sk_ad_network_fine_conversion_value(&self) -> i64
pub fn sk_ad_network_fine_conversion_value(&self) -> i64
Returns the value of sk_ad_network_fine_conversion_value
, or the default value if sk_ad_network_fine_conversion_value
is unset.
sourcepub fn conversion_value_rule_primary_dimension(
&self,
) -> ConversionValueRulePrimaryDimension
pub fn conversion_value_rule_primary_dimension( &self, ) -> ConversionValueRulePrimaryDimension
Returns the enum value of conversion_value_rule_primary_dimension
, or the default if the field is set to an invalid enum value.
sourcepub fn set_conversion_value_rule_primary_dimension(
&mut self,
value: ConversionValueRulePrimaryDimension,
)
pub fn set_conversion_value_rule_primary_dimension( &mut self, value: ConversionValueRulePrimaryDimension, )
Sets conversion_value_rule_primary_dimension
to the provided enum value.
sourcepub fn recommendation_type(&self) -> RecommendationType
pub fn recommendation_type(&self) -> RecommendationType
Returns the enum value of recommendation_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_recommendation_type(&mut self, value: RecommendationType)
pub fn set_recommendation_type(&mut self, value: RecommendationType)
Sets recommendation_type
to the provided enum value.
sourcepub fn sk_ad_network_user_type(&self) -> SkAdNetworkUserType
pub fn sk_ad_network_user_type(&self) -> SkAdNetworkUserType
Returns the enum value of sk_ad_network_user_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sk_ad_network_user_type(&mut self, value: SkAdNetworkUserType)
pub fn set_sk_ad_network_user_type(&mut self, value: SkAdNetworkUserType)
Sets sk_ad_network_user_type
to the provided enum value.
sourcepub fn sk_ad_network_ad_event_type(&self) -> SkAdNetworkAdEventType
pub fn sk_ad_network_ad_event_type(&self) -> SkAdNetworkAdEventType
Returns the enum value of sk_ad_network_ad_event_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sk_ad_network_ad_event_type(&mut self, value: SkAdNetworkAdEventType)
pub fn set_sk_ad_network_ad_event_type(&mut self, value: SkAdNetworkAdEventType)
Sets sk_ad_network_ad_event_type
to the provided enum value.
sourcepub fn sk_ad_network_attribution_credit(&self) -> SkAdNetworkAttributionCredit
pub fn sk_ad_network_attribution_credit(&self) -> SkAdNetworkAttributionCredit
Returns the enum value of sk_ad_network_attribution_credit
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sk_ad_network_attribution_credit(
&mut self,
value: SkAdNetworkAttributionCredit,
)
pub fn set_sk_ad_network_attribution_credit( &mut self, value: SkAdNetworkAttributionCredit, )
Sets sk_ad_network_attribution_credit
to the provided enum value.
sourcepub fn auction_insight_domain(&self) -> &str
pub fn auction_insight_domain(&self) -> &str
Returns the value of auction_insight_domain
, or the default value if auction_insight_domain
is unset.
sourcepub fn product_feed_label(&self) -> &str
pub fn product_feed_label(&self) -> &str
Returns the value of product_feed_label
, or the default value if product_feed_label
is unset.
sourcepub fn activity_account_id(&self) -> i64
pub fn activity_account_id(&self) -> i64
Returns the value of activity_account_id
, or the default value if activity_account_id
is unset.
sourcepub fn activity_rating(&self) -> i64
pub fn activity_rating(&self) -> i64
Returns the value of activity_rating
, or the default value if activity_rating
is unset.
sourcepub fn external_activity_id(&self) -> &str
pub fn external_activity_id(&self) -> &str
Returns the value of external_activity_id
, or the default value if external_activity_id
is unset.
sourcepub fn sk_ad_network_coarse_conversion_value(
&self,
) -> SkAdNetworkCoarseConversionValue
pub fn sk_ad_network_coarse_conversion_value( &self, ) -> SkAdNetworkCoarseConversionValue
Returns the enum value of sk_ad_network_coarse_conversion_value
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sk_ad_network_coarse_conversion_value(
&mut self,
value: SkAdNetworkCoarseConversionValue,
)
pub fn set_sk_ad_network_coarse_conversion_value( &mut self, value: SkAdNetworkCoarseConversionValue, )
Sets sk_ad_network_coarse_conversion_value
to the provided enum value.
sourcepub fn sk_ad_network_source_domain(&self) -> &str
pub fn sk_ad_network_source_domain(&self) -> &str
Returns the value of sk_ad_network_source_domain
, or the default value if sk_ad_network_source_domain
is unset.
sourcepub fn sk_ad_network_source_type(&self) -> SkAdNetworkSourceType
pub fn sk_ad_network_source_type(&self) -> SkAdNetworkSourceType
Returns the enum value of sk_ad_network_source_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sk_ad_network_source_type(&mut self, value: SkAdNetworkSourceType)
pub fn set_sk_ad_network_source_type(&mut self, value: SkAdNetworkSourceType)
Sets sk_ad_network_source_type
to the provided enum value.
sourcepub fn sk_ad_network_postback_sequence_index(&self) -> i64
pub fn sk_ad_network_postback_sequence_index(&self) -> i64
Returns the value of sk_ad_network_postback_sequence_index
, or the default value if sk_ad_network_postback_sequence_index
is unset.
sourcepub fn search_subcategory(&self) -> &str
pub fn search_subcategory(&self) -> &str
Returns the value of search_subcategory
, or the default value if search_subcategory
is unset.
sourcepub fn search_term(&self) -> &str
pub fn search_term(&self) -> &str
Returns the value of search_term
, or the default value if search_term
is unset.
sourcepub fn campaign(&self) -> &str
pub fn campaign(&self) -> &str
Returns the value of campaign
, or the default value if campaign
is unset.
sourcepub fn ad_group(&self) -> &str
pub fn ad_group(&self) -> &str
Returns the value of ad_group
, or the default value if ad_group
is unset.
sourcepub fn asset_group(&self) -> &str
pub fn asset_group(&self) -> &str
Returns the value of asset_group
, or the default value if asset_group
is unset.
sourcepub fn new_versus_returning_customers(
&self,
) -> ConvertingUserPriorEngagementTypeAndLtvBucket
pub fn new_versus_returning_customers( &self, ) -> ConvertingUserPriorEngagementTypeAndLtvBucket
Returns the enum value of new_versus_returning_customers
, or the default if the field is set to an invalid enum value.
sourcepub fn set_new_versus_returning_customers(
&mut self,
value: ConvertingUserPriorEngagementTypeAndLtvBucket,
)
pub fn set_new_versus_returning_customers( &mut self, value: ConvertingUserPriorEngagementTypeAndLtvBucket, )
Sets new_versus_returning_customers
to the provided enum value.
sourcepub fn product_category_level1(&self) -> &str
pub fn product_category_level1(&self) -> &str
Returns the value of product_category_level1
, or the default value if product_category_level1
is unset.
sourcepub fn product_category_level2(&self) -> &str
pub fn product_category_level2(&self) -> &str
Returns the value of product_category_level2
, or the default value if product_category_level2
is unset.
sourcepub fn product_category_level3(&self) -> &str
pub fn product_category_level3(&self) -> &str
Returns the value of product_category_level3
, or the default value if product_category_level3
is unset.
sourcepub fn product_category_level4(&self) -> &str
pub fn product_category_level4(&self) -> &str
Returns the value of product_category_level4
, or the default value if product_category_level4
is unset.
sourcepub fn product_category_level5(&self) -> &str
pub fn product_category_level5(&self) -> &str
Returns the value of product_category_level5
, or the default value if product_category_level5
is unset.
sourcepub fn activity_city(&self) -> &str
pub fn activity_city(&self) -> &str
Returns the value of activity_city
, or the default value if activity_city
is unset.
sourcepub fn activity_country(&self) -> &str
pub fn activity_country(&self) -> &str
Returns the value of activity_country
, or the default value if activity_country
is unset.
sourcepub fn activity_state(&self) -> &str
pub fn activity_state(&self) -> &str
Returns the value of activity_state
, or the default value if activity_state
is unset.
sourcepub fn sk_ad_network_redistributed_fine_conversion_value(&self) -> i64
pub fn sk_ad_network_redistributed_fine_conversion_value(&self) -> i64
Returns the value of sk_ad_network_redistributed_fine_conversion_value
, or the default value if sk_ad_network_redistributed_fine_conversion_value
is unset.
sourcepub fn ad_format_type(&self) -> AdFormatType
pub fn ad_format_type(&self) -> AdFormatType
Returns the enum value of ad_format_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_ad_format_type(&mut self, value: AdFormatType)
pub fn set_ad_format_type(&mut self, value: AdFormatType)
Sets ad_format_type
to the provided enum value.
sourcepub fn sk_ad_network_version(&self) -> &str
pub fn sk_ad_network_version(&self) -> &str
Returns the value of sk_ad_network_version
, or the default value if sk_ad_network_version
is unset.
Trait Implementations§
source§impl Message for Segments
impl Message for Segments
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 Segments
impl PartialEq for Segments
impl StructuralPartialEq for Segments
Auto Trait Implementations§
impl Freeze for Segments
impl RefUnwindSafe for Segments
impl Send for Segments
impl Sync for Segments
impl Unpin for Segments
impl UnwindSafe for Segments
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