googleads_rs::google::ads::googleads::v18::common

Struct Metrics

Source
pub struct Metrics {
Show 204 fields pub absolute_top_impression_percentage: f64, pub active_view_cpm: f64, pub active_view_ctr: f64, pub active_view_impressions: i64, pub active_view_measurability: f64, pub active_view_measurable_cost_micros: i64, pub active_view_measurable_impressions: i64, pub active_view_viewability: f64, pub all_conversions_from_interactions_rate: f64, pub all_conversions_value: f64, pub all_conversions_value_by_conversion_date: f64, pub all_new_customer_lifetime_value: f64, pub all_conversions: f64, pub all_conversions_by_conversion_date: f64, pub all_conversions_value_per_cost: f64, pub all_conversions_from_click_to_call: f64, pub all_conversions_from_directions: f64, pub all_conversions_from_interactions_value_per_interaction: f64, pub all_conversions_from_menu: f64, pub all_conversions_from_order: f64, pub all_conversions_from_other_engagement: f64, pub all_conversions_from_store_visit: f64, pub all_conversions_from_store_website: f64, pub auction_insight_search_absolute_top_impression_percentage: f64, pub auction_insight_search_impression_share: f64, pub auction_insight_search_outranking_share: f64, pub auction_insight_search_overlap_rate: f64, pub auction_insight_search_position_above_rate: f64, pub auction_insight_search_top_impression_percentage: f64, pub average_cost: f64, pub average_cpc: f64, pub average_cpe: f64, pub average_cpm: f64, pub average_cpv: f64, pub average_page_views: f64, pub average_time_on_site: f64, pub benchmark_average_max_cpc: f64, pub biddable_app_install_conversions: f64, pub biddable_app_post_install_conversions: f64, pub benchmark_ctr: f64, pub bounce_rate: f64, pub clicks: i64, pub combined_clicks: i64, pub combined_clicks_per_query: f64, pub combined_queries: i64, pub content_budget_lost_impression_share: f64, pub content_impression_share: f64, pub conversion_last_received_request_date_time: String, pub conversion_last_conversion_date: String, pub content_rank_lost_impression_share: f64, pub conversions_from_interactions_rate: f64, pub conversions_value: f64, pub conversions_value_by_conversion_date: f64, pub new_customer_lifetime_value: f64, pub conversions_value_per_cost: f64, pub conversions_from_interactions_value_per_interaction: f64, pub conversions: f64, pub conversions_by_conversion_date: f64, pub cost_micros: i64, pub cost_per_all_conversions: f64, pub cost_per_conversion: f64, pub cost_per_current_model_attributed_conversion: f64, pub cross_device_conversions: f64, pub cross_device_conversions_value_micros: i64, pub ctr: f64, pub current_model_attributed_conversions: f64, pub current_model_attributed_conversions_from_interactions_rate: f64, pub current_model_attributed_conversions_from_interactions_value_per_interaction: f64, pub current_model_attributed_conversions_value: f64, pub current_model_attributed_conversions_value_per_cost: f64, pub engagement_rate: f64, pub engagements: i64, pub hotel_average_lead_value_micros: f64, pub hotel_commission_rate_micros: i64, pub hotel_expected_commission_cost: f64, pub hotel_price_difference_percentage: f64, pub hotel_eligible_impressions: i64, pub historical_creative_quality_score: i32, pub historical_landing_page_quality_score: i32, pub historical_quality_score: i64, pub historical_search_predicted_ctr: i32, pub gmail_forwards: i64, pub gmail_saves: i64, pub gmail_secondary_clicks: i64, pub impressions_from_store_reach: i64, pub impressions: i64, pub interaction_rate: f64, pub interactions: i64, pub interaction_event_types: Vec<i32>, pub invalid_click_rate: f64, pub invalid_clicks: i64, pub general_invalid_click_rate: f64, pub general_invalid_clicks: i64, pub message_chats: i64, pub message_impressions: i64, pub message_chat_rate: f64, pub mobile_friendly_clicks_percentage: f64, pub optimization_score_uplift: f64, pub optimization_score_url: String, pub organic_clicks: i64, pub organic_clicks_per_query: f64, pub organic_impressions: i64, pub organic_impressions_per_query: f64, pub organic_queries: i64, pub percent_new_visitors: f64, pub phone_calls: i64, pub phone_impressions: i64, pub phone_through_rate: f64, pub relative_ctr: f64, pub search_absolute_top_impression_share: f64, pub search_budget_lost_absolute_top_impression_share: f64, pub search_budget_lost_impression_share: f64, pub search_budget_lost_top_impression_share: f64, pub search_click_share: f64, pub search_exact_match_impression_share: f64, pub search_impression_share: f64, pub search_rank_lost_absolute_top_impression_share: f64, pub search_rank_lost_impression_share: f64, pub search_rank_lost_top_impression_share: f64, pub search_top_impression_share: f64, pub search_volume: Option<SearchVolumeRange>, pub speed_score: i64, pub average_target_cpa_micros: i64, pub average_target_roas: f64, pub top_impression_percentage: f64, pub valid_accelerated_mobile_pages_clicks_percentage: f64, pub value_per_all_conversions: f64, pub value_per_all_conversions_by_conversion_date: f64, pub value_per_conversion: f64, pub value_per_conversions_by_conversion_date: f64, pub value_per_current_model_attributed_conversion: f64, pub video_quartile_p100_rate: f64, pub video_quartile_p25_rate: f64, pub video_quartile_p50_rate: f64, pub video_quartile_p75_rate: f64, pub video_view_rate: f64, pub video_views: i64, pub view_through_conversions: i64, pub sk_ad_network_installs: i64, pub sk_ad_network_total_conversions: i64, pub publisher_purchased_clicks: i64, pub publisher_organic_clicks: i64, pub publisher_unknown_clicks: i64, pub all_conversions_from_location_asset_click_to_call: f64, pub all_conversions_from_location_asset_directions: f64, pub all_conversions_from_location_asset_menu: f64, pub all_conversions_from_location_asset_order: f64, pub all_conversions_from_location_asset_other_engagement: f64, pub all_conversions_from_location_asset_store_visits: f64, pub all_conversions_from_location_asset_website: f64, pub eligible_impressions_from_location_asset_store_reach: i64, pub view_through_conversions_from_location_asset_click_to_call: f64, pub view_through_conversions_from_location_asset_directions: f64, pub view_through_conversions_from_location_asset_menu: f64, pub view_through_conversions_from_location_asset_order: f64, pub view_through_conversions_from_location_asset_other_engagement: f64, pub view_through_conversions_from_location_asset_store_visits: f64, pub view_through_conversions_from_location_asset_website: f64, pub orders: f64, pub average_order_value_micros: i64, pub average_cart_size: f64, pub cost_of_goods_sold_micros: i64, pub gross_profit_micros: i64, pub gross_profit_margin: f64, pub revenue_micros: i64, pub units_sold: f64, pub cross_sell_cost_of_goods_sold_micros: i64, pub cross_sell_gross_profit_micros: i64, pub cross_sell_revenue_micros: i64, pub cross_sell_units_sold: f64, pub lead_cost_of_goods_sold_micros: i64, pub lead_gross_profit_micros: i64, pub lead_revenue_micros: i64, pub lead_units_sold: f64, pub unique_users: i64, pub average_impression_frequency_per_user: f64, pub linked_entities_count: i64, pub linked_sample_entities: Vec<String>, pub sample_best_performance_entities: Vec<String>, pub sample_good_performance_entities: Vec<String>, pub sample_low_performance_entities: Vec<String>, pub sample_learning_performance_entities: Vec<String>, pub sample_unrated_performance_entities: Vec<String>, pub asset_pinned_total_count: i64, pub asset_pinned_as_headline_position_one_count: i64, pub asset_pinned_as_headline_position_two_count: i64, pub asset_pinned_as_headline_position_three_count: i64, pub asset_pinned_as_description_position_one_count: i64, pub asset_pinned_as_description_position_two_count: i64, pub asset_best_performance_impression_percentage: f64, pub asset_good_performance_impression_percentage: f64, pub asset_low_performance_impression_percentage: f64, pub asset_learning_performance_impression_percentage: f64, pub asset_unrated_performance_impression_percentage: f64, pub asset_best_performance_cost_percentage: f64, pub asset_good_performance_cost_percentage: f64, pub asset_low_performance_cost_percentage: f64, pub asset_learning_performance_cost_percentage: f64, pub asset_unrated_performance_cost_percentage: f64, pub store_visits_last_click_model_attributed_conversions: f64, pub results_conversions_purchase: f64, pub video_view_rate_in_feed: f64, pub video_view_rate_in_stream: f64, pub video_view_rate_shorts: f64,
}
Expand description

Metrics data.

Fields§

§absolute_top_impression_percentage: f64

Search absolute top impression share is the percentage of your Search ad impressions that are shown in the most prominent Search position.

§active_view_cpm: f64

Average cost of viewable impressions (active_view_impressions).

§active_view_ctr: f64

Active view measurable clicks divided by active view viewable impressions.

This metric is reported only for the Display Network.

§active_view_impressions: i64

A measurement of how often your ad has become viewable on a Display Network site.

§active_view_measurability: f64

The ratio of impressions that could be measured by Active View over the number of served impressions.

§active_view_measurable_cost_micros: i64

The cost of the impressions you received that were measurable by Active View.

§active_view_measurable_impressions: i64

The number of times your ads are appearing on placements in positions where they can be seen.

§active_view_viewability: f64

The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).

§all_conversions_from_interactions_rate: f64

All conversions from interactions (as oppose to view through conversions) divided by the number of ad interactions.

§all_conversions_value: f64

The value of all conversions.

§all_conversions_value_by_conversion_date: f64

The value of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§all_new_customer_lifetime_value: f64

All of new customers’ lifetime conversion value. If you have set up customer acquisition goal at either account level or campaign level, this will include the additional conversion value from new customers for both biddable and non-biddable conversions. If your campaign has adopted the customer acquisition goal and selected “bid higher for new customers”, these values will be included in “all_conversions_value”. See https://support.google.com/google-ads/answer/12080169 for more details.

§all_conversions: f64

The total number of conversions. This includes all conversions regardless of the value of include_in_conversions_metric.

§all_conversions_by_conversion_date: f64

The total number of conversions. This includes all conversions regardless of the value of include_in_conversions_metric. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§all_conversions_value_per_cost: f64

The value of all conversions divided by the total cost of ad interactions (such as clicks for text ads or views for video ads).

§all_conversions_from_click_to_call: f64

The number of times people clicked the “Call” button to call a store during or after clicking an ad. This number doesn’t include whether or not calls were connected, or the duration of any calls.

This metric applies to feed items only.

§all_conversions_from_directions: f64

The number of times people clicked a “Get directions” button to navigate to a store after clicking an ad.

This metric applies to feed items only.

§all_conversions_from_interactions_value_per_interaction: f64

The value of all conversions from interactions divided by the total number of interactions.

§all_conversions_from_menu: f64

The number of times people clicked a link to view a store’s menu after clicking an ad.

This metric applies to feed items only.

§all_conversions_from_order: f64

The number of times people placed an order at a store after clicking an ad.

This metric applies to feed items only.

§all_conversions_from_other_engagement: f64

The number of other conversions (for example, posting a review or saving a location for a store) that occurred after people clicked an ad.

This metric applies to feed items only.

§all_conversions_from_store_visit: f64

Estimated number of times people visited a store after clicking an ad.

This metric applies to feed items only.

§all_conversions_from_store_website: f64

The number of times that people were taken to a store’s URL after clicking an ad.

This metric applies to feed items only.

§auction_insight_search_absolute_top_impression_percentage: f64

This metric is part of the Auction Insights report, and tells how often the ads of another participant showed in the most prominent position on the search results page. This percentage is computed only over the auctions that you appeared in the page.

This metric is not publicly available.

§auction_insight_search_impression_share: f64

This metric is part of the Auction Insights report, and tells the percentage of impressions that another participant obtained, over the total number of impressions that your ads were eligible for. Any value below 0.1 is reported as 0.0999.

This metric is not publicly available.

§auction_insight_search_outranking_share: f64

This metric is part of the Auction Insights report, and tells the percentage of impressions that your ads outranked (showed above) another participant in the auction, compared to the total number of impressions that your ads were eligible for. Any value below 0.1 is reported as 0.0999.

This metric is not publicly available.

§auction_insight_search_overlap_rate: f64

This metric is part of the Auction Insights report, and tells how often another participant’s ad received an impression when your ad also received an impression.

This metric is not publicly available.

§auction_insight_search_position_above_rate: f64

This metric is part of the Auction Insights report, and tells how often another participant’s ad was shown in a higher position than yours, when both of your ads were shown at the same page.

This metric is not publicly available.

§auction_insight_search_top_impression_percentage: f64

This metric is part of the Auction Insights report, and tells how often the ads of another participant showed adjacent to the top organic search results. This percentage is computed only over the auctions that you appeared in the page.

This metric is not publicly available.

§average_cost: f64

The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.

§average_cpc: f64

The total cost of all clicks divided by the total number of clicks received.

§average_cpe: f64

The average amount that you’ve been charged for an ad engagement. This amount is the total cost of all ad engagements divided by the total number of ad engagements.

§average_cpm: f64

Average cost-per-thousand impressions (CPM).

§average_cpv: f64

The average amount you pay each time someone views your ad. The average CPV is defined by the total cost of all ad views divided by the number of views.

§average_page_views: f64

Average number of pages viewed per session.

§average_time_on_site: f64

Total duration of all sessions (in seconds) / number of sessions. Imported from Google Analytics.

§benchmark_average_max_cpc: f64

An indication of how other advertisers are bidding on similar products.

§biddable_app_install_conversions: f64

Number of app installs.

§biddable_app_post_install_conversions: f64

Number of in-app actions.

§benchmark_ctr: f64

An indication on how other advertisers’ Shopping ads for similar products are performing based on how often people who see their ad click on it.

§bounce_rate: f64

Percentage of clicks where the user only visited a single page on your site. Imported from Google Analytics.

§clicks: i64

The number of clicks.

§combined_clicks: i64

The number of times your ad or your site’s listing in the unpaid results was clicked. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§combined_clicks_per_query: f64

The number of times your ad or your site’s listing in the unpaid results was clicked (combined_clicks) divided by combined_queries. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§combined_queries: i64

The number of searches that returned pages from your site in the unpaid results or showed one of your text ads. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§content_budget_lost_impression_share: f64

The estimated percent of times that your ad was eligible to show on the Display Network but didn’t because your budget was too low. Note: Content budget lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§content_impression_share: f64

The impressions you’ve received on the Display Network divided by the estimated number of impressions you were eligible to receive. Note: Content impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

§conversion_last_received_request_date_time: String

The last date/time a conversion tag for this conversion action successfully fired and was seen by Google Ads. This firing event may not have been the result of an attributable conversion (for example, because the tag was fired from a browser that did not previously click an ad from an appropriate advertiser). The date/time is in the customer’s time zone.

§conversion_last_conversion_date: String

The date of the most recent conversion for this conversion action. The date is in the customer’s time zone.

§content_rank_lost_impression_share: f64

The estimated percentage of impressions on the Display Network that your ads didn’t receive due to poor Ad Rank. Note: Content rank lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§conversions_from_interactions_rate: f64

Conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§conversions_value: f64

The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§conversions_value_by_conversion_date: f64

The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§new_customer_lifetime_value: f64

New customers’ lifetime conversion value. If you have set up customer acquisition goal at either account level or campaign level, this will include the additional conversion value from new customers for biddable conversions. If your campaign has adopted the customer acquisition goal and selected “bid higher for new customers”, these values will be included in “conversions_value” for optimization. See https://support.google.com/google-ads/answer/12080169 for more details.

§conversions_value_per_cost: f64

The value of conversions divided by the cost of ad interactions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§conversions_from_interactions_value_per_interaction: f64

The value of conversions from interactions divided by the number of ad interactions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§conversions: f64

The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§conversions_by_conversion_date: f64

The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§cost_micros: i64

The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.

§cost_per_all_conversions: f64

The cost of ad interactions divided by all conversions.

§cost_per_conversion: f64

The cost of ad interactions divided by conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§cost_per_current_model_attributed_conversion: f64

The cost of ad interactions divided by current model attributed conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§cross_device_conversions: f64

Conversions from when a customer clicks on a Google Ads ad on one device, then converts on a different device or browser. Cross-device conversions are already included in all_conversions.

§cross_device_conversions_value_micros: i64

The sum of the value of cross-device conversions, in micros.

§ctr: f64

The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).

§current_model_attributed_conversions: f64

Shows how your historic conversions data would look under the attribution model you’ve currently selected. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§current_model_attributed_conversions_from_interactions_rate: f64

Current model attributed conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§current_model_attributed_conversions_from_interactions_value_per_interaction: f64

The value of current model attributed conversions from interactions divided by the number of ad interactions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§current_model_attributed_conversions_value: f64

The value of current model attributed conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§current_model_attributed_conversions_value_per_cost: f64

The value of current model attributed conversions divided by the cost of ad interactions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§engagement_rate: f64

How often people engage with your ad after it’s shown to them. This is the number of ad expansions divided by the number of times your ad is shown.

§engagements: i64

The number of engagements. An engagement occurs when a viewer expands your Lightbox ad. Also, in the future, other ad types may support engagement metrics.

§hotel_average_lead_value_micros: f64

Average lead value based on clicks.

§hotel_commission_rate_micros: i64

Commission bid rate in micros. A 20% commission is represented as 200,000.

§hotel_expected_commission_cost: f64

Expected commission cost. The result of multiplying the commission value times the hotel_commission_rate in advertiser currency.

§hotel_price_difference_percentage: f64

The average price difference between the price offered by reporting hotel advertiser and the cheapest price offered by the competing advertiser.

§hotel_eligible_impressions: i64

The number of impressions that hotel partners could have had given their feed performance.

§historical_creative_quality_score: i32

The creative historical quality score.

§historical_landing_page_quality_score: i32

The quality of historical landing page experience.

§historical_quality_score: i64

The historical quality score.

§historical_search_predicted_ctr: i32

The historical search predicted click through rate (CTR).

§gmail_forwards: i64

The number of times the ad was forwarded to someone else as a message.

§gmail_saves: i64

The number of times someone has saved your Gmail ad to their inbox as a message.

§gmail_secondary_clicks: i64

The number of clicks to the landing page on the expanded state of Gmail ads.

§impressions_from_store_reach: i64

The number of times a store’s location-based ad was shown.

This metric applies to feed items only.

§impressions: i64

Count of how often your ad has appeared on a search results page or website on the Google Network.

§interaction_rate: f64

How often people interact with your ad after it is shown to them. This is the number of interactions divided by the number of times your ad is shown.

§interactions: i64

The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.

§interaction_event_types: Vec<i32>

The types of payable and free interactions.

§invalid_click_rate: f64

The percentage of clicks filtered out of your total number of clicks (filtered + non-filtered clicks) during the reporting period.

§invalid_clicks: i64

Number of clicks Google considers illegitimate and doesn’t charge you for.

§general_invalid_click_rate: f64

The percentage of clicks that have been filtered out of your total number of clicks (filtered + non-filtered clicks) due to being general invalid clicks. These are clicks Google considers illegitimate that are detected through routine means of filtration (that is, known invalid data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You’re not charged for them, and they don’t affect your account statistics. See the help page at https://support.google.com/campaignmanager/answer/6076504 for details.

§general_invalid_clicks: i64

Number of general invalid clicks. These are a subset of your invalid clicks that are detected through routine means of filtration (such as known invalid data-center traffic, bots and spiders or other crawlers, irregular patterns, etc.). You’re not charged for them, and they don’t affect your account statistics. See the help page at https://support.google.com/campaignmanager/answer/6076504 for details.

§message_chats: i64

Number of message chats initiated for Click To Message impressions that were message tracking eligible.

§message_impressions: i64

Number of Click To Message impressions that were message tracking eligible.

§message_chat_rate: f64

Number of message chats initiated (message_chats) divided by the number of message impressions (message_impressions). Rate at which a user initiates a message chat from an ad impression with a messaging option and message tracking enabled. Note that this rate can be more than 1.0 for a given message impression.

§mobile_friendly_clicks_percentage: f64

The percentage of mobile clicks that go to a mobile-friendly page.

§optimization_score_uplift: f64

Total optimization score uplift of all recommendations.

§optimization_score_url: String

URL for the optimization score page in the Google Ads web interface. This metric can be selected from customer or campaign, and can be segmented by segments.recommendation_type. For example, SELECT metrics.optimization_score_url, segments.recommendation_type FROM customer will return a URL for each unique (customer, recommendation_type) combination.

§organic_clicks: i64

The number of times someone clicked your site’s listing in the unpaid results for a particular query. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§organic_clicks_per_query: f64

The number of times someone clicked your site’s listing in the unpaid results (organic_clicks) divided by the total number of searches that returned pages from your site (organic_queries). See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§organic_impressions: i64

The number of listings for your site in the unpaid search results. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§organic_impressions_per_query: f64

The number of times a page from your site was listed in the unpaid search results (organic_impressions) divided by the number of searches returning your site’s listing in the unpaid results (organic_queries). See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§organic_queries: i64

The total number of searches that returned your site’s listing in the unpaid results. See the help page at https://support.google.com/google-ads/answer/3097241 for details.

§percent_new_visitors: f64

Percentage of first-time sessions (from people who had never visited your site before). Imported from Google Analytics.

§phone_calls: i64

Number of offline phone calls.

§phone_impressions: i64

Number of offline phone impressions.

§phone_through_rate: f64

Number of phone calls received (phone_calls) divided by the number of times your phone number is shown (phone_impressions).

§relative_ctr: f64

Your clickthrough rate (Ctr) divided by the average clickthrough rate of all advertisers on the websites that show your ads. Measures how your ads perform on Display Network sites compared to other ads on the same sites.

§search_absolute_top_impression_share: f64

The percentage of the customer’s Shopping or Search ad impressions that are shown in the most prominent Shopping position. See https://support.google.com/google-ads/answer/7501826 for details. Any value below 0.1 is reported as 0.0999.

§search_budget_lost_absolute_top_impression_share: f64

The number estimating how often your ad wasn’t the very first ad among the top ads in the search results due to a low budget. Note: Search budget lost absolute top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_budget_lost_impression_share: f64

The estimated percent of times that your ad was eligible to show on the Search Network but didn’t because your budget was too low. Note: Search budget lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_budget_lost_top_impression_share: f64

The number estimating how often your ad didn’t show adjacent to the top organic search results due to a low budget. Note: Search budget lost top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_click_share: f64

The number of clicks you’ve received on the Search Network divided by the estimated number of clicks you were eligible to receive. Note: Search click share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

§search_exact_match_impression_share: f64

The impressions you’ve received divided by the estimated number of impressions you were eligible to receive on the Search Network for search terms that matched your keywords exactly (or were close variants of your keyword), regardless of your keyword match types. Note: Search exact match impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

§search_impression_share: f64

The impressions you’ve received on the Search Network divided by the estimated number of impressions you were eligible to receive. Note: Search impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

§search_rank_lost_absolute_top_impression_share: f64

The number estimating how often your ad wasn’t the very first ad among the top ads in the search results due to poor Ad Rank. Note: Search rank lost absolute top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_rank_lost_impression_share: f64

The estimated percentage of impressions on the Search Network that your ads didn’t receive due to poor Ad Rank. Note: Search rank lost impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_rank_lost_top_impression_share: f64

The number estimating how often your ad didn’t show adjacent to the top organic search results due to poor Ad Rank. Note: Search rank lost top impression share is reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001.

§search_top_impression_share: f64

The impressions you’ve received among the top ads compared to the estimated number of impressions you were eligible to receive among the top ads. Note: Search top impression share is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999.

Top ads are generally above the top organic results, although they may show below the top organic results on certain queries.

§search_volume: Option<SearchVolumeRange>

Search volume range for a search term insight category.

§speed_score: i64

A measure of how quickly your page loads after clicks on your mobile ads. The score is a range from 1 to 10, 10 being the fastest.

§average_target_cpa_micros: i64

The average Target CPA, or unset if not available (for example, for campaigns that had traffic from portfolio bidding strategies or non-tCPA).

§average_target_roas: f64

The average Target ROAS, or unset if not available (for example, for campaigns that had traffic from portfolio bidding strategies or non-tROAS).

§top_impression_percentage: f64

The percent of your ad impressions that are shown adjacent to the top organic search results.

§valid_accelerated_mobile_pages_clicks_percentage: f64

The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages that reach a valid AMP page.

§value_per_all_conversions: f64

The value of all conversions divided by the number of all conversions.

§value_per_all_conversions_by_conversion_date: f64

The value of all conversions divided by the number of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§value_per_conversion: f64

The value of conversions divided by the number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§value_per_conversions_by_conversion_date: f64

The value of conversions divided by the number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at https://support.google.com/google-ads/answer/9549009.

§value_per_current_model_attributed_conversion: f64

The value of current model attributed conversions divided by the number of the conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.

§video_quartile_p100_rate: f64

Percentage of impressions where the viewer watched all of your video.

§video_quartile_p25_rate: f64

Percentage of impressions where the viewer watched 25% of your video.

§video_quartile_p50_rate: f64

Percentage of impressions where the viewer watched 50% of your video.

§video_quartile_p75_rate: f64

Percentage of impressions where the viewer watched 75% of your video.

§video_view_rate: f64

The number of views your TrueView video ad receives divided by its number of impressions, including thumbnail impressions for TrueView in-display ads.

§video_views: i64

The number of times your video ads were viewed.

§view_through_conversions: i64

The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

§sk_ad_network_installs: i64

The number of iOS Store Kit Ad Network conversions.

§sk_ad_network_total_conversions: i64

The total number of iOS Store Kit Ad Network conversions.

§publisher_purchased_clicks: i64

Clicks from properties not owned by the publisher for which the traffic the publisher has paid for or acquired through incentivized activity

§publisher_organic_clicks: i64

Clicks from properties for which the traffic the publisher has not paid for or acquired through incentivized activity

§publisher_unknown_clicks: i64

Clicks from traffic which is not identified as “Publisher Purchased” or “Publisher Organic”

§all_conversions_from_location_asset_click_to_call: f64

Number of call button clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_directions: f64

Number of driving directions clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_menu: f64

Number of menu link clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_order: f64

Number of order clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_other_engagement: f64

Number of other types of local action clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_store_visits: f64

Estimated number of visits to the store after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§all_conversions_from_location_asset_website: f64

Number of website URL clicks on any location surface after a chargeable ad event (click or impression). This measure is coming from Asset based location.

§eligible_impressions_from_location_asset_store_reach: i64

Number of impressions in which the store location was shown or the location was used for targeting. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_click_to_call: f64

Number of call button clicks on any location surface after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_directions: f64

Number of driving directions clicks on any location surface after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_menu: f64

Number of menu link clicks on any location surface after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_order: f64

Number of order clicks on any location surface after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_other_engagement: f64

Number of other types of local action clicks on any location surface after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_store_visits: f64

Estimated number of visits to the store after an impression. This measure is coming from Asset based location.

§view_through_conversions_from_location_asset_website: f64

Number of website URL clicks on any location surface after an impression. This measure is coming from Asset based location.

§orders: f64

Orders is the total number of purchase conversions you received attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. If a conversion is attributed to previous interactions with your ads (clicks for text or Shopping ads, views for video ads etc.) it’s counted as an order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order on your website. Even though they bought 2 products, this would count as 1 order. This metric is only available if you report conversions with cart data.

§average_order_value_micros: i64

Average order value is the average revenue you made per order attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Average order value is the total revenue from your orders divided by the total number of orders. Example: You received 3 orders which made $10, $15 and $20 worth of revenue. The average order value is $15 = ($10 + $15 + $20)/3. This metric is only available if you report conversions with cart data.

§average_cart_size: f64

Average cart size is the average number of products in each order attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Average cart size is the total number of products sold divided by the total number of orders you received. Example: You received 2 orders, the first included 3 products and the second included 2. The average cart size is 2.5 products = (3+2)/2. This metric is only available if you report conversions with cart data.

§cost_of_goods_sold_micros: i64

Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to your ads. How it works: You can add a cost of goods sold value to every product in Merchant Center. If you report conversions with cart data, the products you sold are matched with their cost of goods sold value and this can be used to calculate the gross profit you made on each order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only available if you report conversions with cart data.

§gross_profit_micros: i64

Gross profit is the profit you made from orders attributed to your ads minus the cost of goods sold (COGS). How it works: Gross profit is the revenue you made from sales attributed to your ads minus cost of goods sold. Gross profit calculations only include products that have a cost of goods sold value in Merchant Center. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order from your website. The hat is priced $10 and the shirt is priced $20. The hat has a cost of goods sold value of $3, but the shirt has no cost of goods sold value. Gross profit for this order will only take into account the hat, so it’s $7 = $10 - $3. This metric is only available if you report conversions with cart data.

§gross_profit_margin: f64

Gross profit margin is the percentage gross profit you made from orders attributed to your ads, after taking out the cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. Gross profit margin is the gross profit you made divided by your total revenue and multiplied by 100%. Gross profit margin calculations only include products that have a cost of goods sold value in Merchant Center. Example: Someone bought a hat and a shirt in an order on your website. The hat is priced $10 and has a cost of goods sold value of $3. The shirt is priced $20 but has no cost of goods sold value. Gross profit margin for this order will only take into account the hat because it has a cost of goods sold value, so it’s 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report conversions with cart data.

§revenue_micros: i64

Revenue is the total amount you made from orders attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Revenue is the total value of all the orders you received attributed to your ads, minus any discount. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order from your website. The hat is priced $10 and the shirt is priced $20. The entire order has a $5 discount. The revenue from this order is $25 = ($10 + $20) - $5. This metric is only available if you report conversions with cart data.

§units_sold: f64

Units sold is the total number of products sold from orders attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Units sold is the total number of products sold from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The units sold in this order is 3. This metric is only available if you report conversions with cart data.

§cross_sell_cost_of_goods_sold_micros: i64

Cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don’t match then this is considered cross-sell. Cross-sell cost of goods sold is the total cost of the products sold that weren’t advertised. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this order is $5. This metric is only available if you report conversions with cart data.

§cross_sell_gross_profit_micros: i64

Cross-sell gross profit is the profit you made from products sold as a result of advertising a different product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the purchase is a sold product. If these products don’t match then this is considered cross-sell. Cross-sell gross profit is the revenue you made from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 = $20 - $5. This metric is only available if you report conversions with cart data.

§cross_sell_revenue_micros: i64

Cross-sell revenue is the total amount you made from products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don’t match then this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue of this order is $20. This metric is only available if you report conversions with cart data.

§cross_sell_units_sold: f64

Cross-sell units sold is the total number of products sold as a result of advertising a different product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If these products don’t match then this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. This metric is only available if you report conversions with cart data.

§lead_cost_of_goods_sold_micros: i64

Lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order is $3. This metric is only available if you report conversions with cart data.

§lead_gross_profit_micros: i64

Lead gross profit is the profit you made from products sold as a result of advertising the same product, minus cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the revenue you made from these sales minus the cost of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if you report conversions with cart data.

§lead_revenue_micros: i64

Lead revenue is the total amount you made from products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total value you made from the sales of these products is shown under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This metric is only available if you report conversions with cart data.

§lead_units_sold: f64

Lead units sold is the total number of products sold as a result of advertising the same product. How it works: You report conversions with cart data for completed purchases on your website. If the ad that was interacted with before the purchase has an associated product (see Shopping Ads) then this product is considered the advertised product. Any product included in the order the customer places is a sold product. If the advertised and sold products match, then the total number of these products sold is shown under lead units sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead units sold in this order is 1. This metric is only available if you report conversions with cart data.

§unique_users: i64

The number of unique users who saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.

§average_impression_frequency_per_user: f64

The average number of times a unique user saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.

§linked_entities_count: i64

Number of linked resources in which the asset is used. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§linked_sample_entities: Vec<String>

A list of up to 20 sample linked resources in which the asset is used. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§sample_best_performance_entities: Vec<String>

A list of up to 20 sample linked resources with impressions in the last 30 days where the asset had the AssetPerformanceLabel.BEST performance label. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§sample_good_performance_entities: Vec<String>

A list of up to 20 sample linked resources with impressions in the last 30 days where the asset had the AssetPerformanceLabel.GOOD performance label. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§sample_low_performance_entities: Vec<String>

A list of up to 20 sample linked resources with impressions in the last 30 days where the asset had the AssetPerformanceLabel.LOW performance label. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§sample_learning_performance_entities: Vec<String>

A list of up to 20 sample linked resources with impressions in the last 30 days where the asset had the AssetPerformanceLabel.LEARNING performance label. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§sample_unrated_performance_entities: Vec<String>

A list of up to 20 sample linked resources with impressions in the last 30 days where the assets had AssetPerformanceLabel performance label other than BEST, GOOD, LOW, and LEARNING. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView.

§asset_pinned_total_count: i64

Number of total usages in which the asset is pinned. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_pinned_as_headline_position_one_count: i64

Number of entities in which the asset is pinned to headline 1. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_pinned_as_headline_position_two_count: i64

Number of entities in which the asset is pinned to headline 2. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_pinned_as_headline_position_three_count: i64

Number of entities in which the asset is pinned to headline 3. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_pinned_as_description_position_one_count: i64

Number of entities in which the asset is pinned to description 1. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_pinned_as_description_position_two_count: i64

Number of entities in which the asset is pinned to description 2. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_best_performance_impression_percentage: f64

Percentage of impressions the asset received in ads with AssetPerformanceLabel.BEST. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_good_performance_impression_percentage: f64

Percentage of impressions the asset received in ads with AssetPerformanceLabel.GOOD. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_low_performance_impression_percentage: f64

Percentage of impressions the asset received in ads with AssetPerformanceLabel.LOW. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_learning_performance_impression_percentage: f64

Percentage of impressions the asset received in ads with AssetPerformanceLabel.LEARNING. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_unrated_performance_impression_percentage: f64

Percentage of impressions the asset received in ads with AssetPerformanceLabel other than BEST, GOOD, LOW, and LEARNING. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Search channel.

§asset_best_performance_cost_percentage: f64

Percentage of cost the asset received in ads with AssetPerformanceLabel.BEST. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Performance Max channel.

§asset_good_performance_cost_percentage: f64

Percentage of cost the asset received in ads with AssetPerformanceLabel.GOOD. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Performance Max channel.

§asset_low_performance_cost_percentage: f64

Percentage of cost the asset received in ads with AssetPerformanceLabel.LOW. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Performance Max channel.

§asset_learning_performance_cost_percentage: f64

Percentage of cost the asset received in ads with AssetPerformanceLabel.LEARNING. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Performance Max channel.

§asset_unrated_performance_cost_percentage: f64

Percentage of cost the asset received in ads with AssetPerformanceLabel other than BEST, GOOD, LOW, and LEARNING. This metric can only be selected with ChannelAggregateAssetView and CampaignAggregateAssetView. This metric is only supported in Performance Max channel.

§store_visits_last_click_model_attributed_conversions: f64

The amount of store visits attributed by the last click model.

§results_conversions_purchase: f64

The purchase conversion stats for the unified goals results.

§video_view_rate_in_feed: f64

The number of video views divided by number of impressions that can potentially lead to video views for in-feed formats.

§video_view_rate_in_stream: f64

The number of video views divided by number of impressions that can potentially lead to video views for in-stream formats.

§video_view_rate_shorts: f64

The number of video views divided by number of impressions that can potentially lead to video views for in shorts formats.

Implementations§

Source§

impl Metrics

Source

pub fn historical_creative_quality_score(&self) -> QualityScoreBucket

Returns the enum value of historical_creative_quality_score, or the default if the field is set to an invalid enum value.

Source

pub fn set_historical_creative_quality_score( &mut self, value: QualityScoreBucket, )

Sets historical_creative_quality_score to the provided enum value.

Source

pub fn historical_landing_page_quality_score(&self) -> QualityScoreBucket

Returns the enum value of historical_landing_page_quality_score, or the default if the field is set to an invalid enum value.

Source

pub fn set_historical_landing_page_quality_score( &mut self, value: QualityScoreBucket, )

Sets historical_landing_page_quality_score to the provided enum value.

Source

pub fn historical_search_predicted_ctr(&self) -> QualityScoreBucket

Returns the enum value of historical_search_predicted_ctr, or the default if the field is set to an invalid enum value.

Source

pub fn set_historical_search_predicted_ctr(&mut self, value: QualityScoreBucket)

Sets historical_search_predicted_ctr to the provided enum value.

Source

pub fn interaction_event_types( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<InteractionEventType>>

Returns an iterator which yields the valid enum values contained in interaction_event_types.

Source

pub fn push_interaction_event_types(&mut self, value: InteractionEventType)

Appends the provided enum value to interaction_event_types.

Trait Implementations§

Source§

impl Clone for Metrics

Source§

fn clone(&self) -> Metrics

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Metrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Metrics

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Message for Metrics

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode<B>(buf: B) -> Result<Self, DecodeError>
where B: Buf, Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
where B: Buf, Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for Metrics

Source§

fn eq(&self, other: &Metrics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Metrics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more