Struct google_api_proto::google::shopping::merchant::reports::v1beta::PriceInsightsProductView
source · pub struct PriceInsightsProductView {Show 19 fields
pub id: Option<String>,
pub offer_id: Option<String>,
pub title: Option<String>,
pub brand: Option<String>,
pub category_l1: Option<String>,
pub category_l2: Option<String>,
pub category_l3: Option<String>,
pub category_l4: Option<String>,
pub category_l5: 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 price: Option<Price>,
pub suggested_price: Option<Price>,
pub predicted_impressions_change_fraction: Option<f64>,
pub predicted_clicks_change_fraction: Option<f64>,
pub predicted_conversions_change_fraction: Option<f64>,
}
Expand description
Fields available for query in price_insights_product_view
table.
Price insights report.
Values are only set for fields requested explicitly in the request’s search query.
Fields§
§id: Option<String>
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId
. Can be used to join data with the
product_view
table.
Required in the SELECT
clause.
offer_id: Option<String>
Merchant-provided id of the product.
title: Option<String>
Title of the product.
brand: Option<String>
Brand of the product.
category_l1: Option<String>
Product category (1st level) in Google’s product taxonomy.
category_l2: Option<String>
Product category (2nd level) in Google’s product taxonomy.
category_l3: Option<String>
Product category (3rd level) in Google’s product taxonomy.
category_l4: Option<String>
Product category (4th level) in Google’s product taxonomy.
category_l5: Option<String>
Product category (5th level) in Google’s product taxonomy.
product_type_l1: Option<String>
Product type (1st level) in merchant’s own product taxonomy.
product_type_l2: Option<String>
Product type (2nd level) in merchant’s own product taxonomy.
product_type_l3: Option<String>
Product type (3rd level) in merchant’s own product taxonomy.
product_type_l4: Option<String>
Product type (4th level) in merchant’s own product taxonomy.
product_type_l5: Option<String>
Product type (5th level) in merchant’s own product taxonomy.
price: Option<Price>
Current price of the product.
suggested_price: Option<Price>
Latest suggested price for the product.
predicted_impressions_change_fraction: Option<f64>
Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
predicted_clicks_change_fraction: Option<f64>
Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
predicted_conversions_change_fraction: Option<f64>
Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
Implementations§
source§impl PriceInsightsProductView
impl PriceInsightsProductView
sourcepub fn offer_id(&self) -> &str
pub fn offer_id(&self) -> &str
Returns the value of offer_id
, or the default value if offer_id
is unset.
sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title
, or the default value if title
is unset.
sourcepub fn brand(&self) -> &str
pub fn brand(&self) -> &str
Returns the value of brand
, or the default value if brand
is unset.
sourcepub fn category_l1(&self) -> &str
pub fn category_l1(&self) -> &str
Returns the value of category_l1
, or the default value if category_l1
is unset.
sourcepub fn category_l2(&self) -> &str
pub fn category_l2(&self) -> &str
Returns the value of category_l2
, or the default value if category_l2
is unset.
sourcepub fn category_l3(&self) -> &str
pub fn category_l3(&self) -> &str
Returns the value of category_l3
, or the default value if category_l3
is unset.
sourcepub fn category_l4(&self) -> &str
pub fn category_l4(&self) -> &str
Returns the value of category_l4
, or the default value if category_l4
is unset.
sourcepub fn category_l5(&self) -> &str
pub fn category_l5(&self) -> &str
Returns the value of category_l5
, or the default value if category_l5
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 predicted_impressions_change_fraction(&self) -> f64
pub fn predicted_impressions_change_fraction(&self) -> f64
Returns the value of predicted_impressions_change_fraction
, or the default value if predicted_impressions_change_fraction
is unset.
sourcepub fn predicted_clicks_change_fraction(&self) -> f64
pub fn predicted_clicks_change_fraction(&self) -> f64
Returns the value of predicted_clicks_change_fraction
, or the default value if predicted_clicks_change_fraction
is unset.
sourcepub fn predicted_conversions_change_fraction(&self) -> f64
pub fn predicted_conversions_change_fraction(&self) -> f64
Returns the value of predicted_conversions_change_fraction
, or the default value if predicted_conversions_change_fraction
is unset.
Trait Implementations§
source§impl Clone for PriceInsightsProductView
impl Clone for PriceInsightsProductView
source§fn clone(&self) -> PriceInsightsProductView
fn clone(&self) -> PriceInsightsProductView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PriceInsightsProductView
impl Debug for PriceInsightsProductView
source§impl Default for PriceInsightsProductView
impl Default for PriceInsightsProductView
source§impl Message for PriceInsightsProductView
impl Message for PriceInsightsProductView
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for PriceInsightsProductView
impl PartialEq for PriceInsightsProductView
source§fn eq(&self, other: &PriceInsightsProductView) -> bool
fn eq(&self, other: &PriceInsightsProductView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PriceInsightsProductView
Auto Trait Implementations§
impl Freeze for PriceInsightsProductView
impl RefUnwindSafe for PriceInsightsProductView
impl Send for PriceInsightsProductView
impl Sync for PriceInsightsProductView
impl Unpin for PriceInsightsProductView
impl UnwindSafe for PriceInsightsProductView
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