Enum google_api_proto::google::ads::googleads::v15::common::listing_dimension_info::Dimension
source · pub enum Dimension {
Show 21 variants
HotelId(HotelIdInfo),
HotelClass(HotelClassInfo),
HotelCountryRegion(HotelCountryRegionInfo),
HotelState(HotelStateInfo),
HotelCity(HotelCityInfo),
ProductCategory(ProductCategoryInfo),
ProductBrand(ProductBrandInfo),
ProductChannel(ProductChannelInfo),
ProductChannelExclusivity(ProductChannelExclusivityInfo),
ProductCondition(ProductConditionInfo),
ProductCustomAttribute(ProductCustomAttributeInfo),
ProductItemId(ProductItemIdInfo),
ProductType(ProductTypeInfo),
ProductGrouping(ProductGroupingInfo),
ProductLabels(ProductLabelsInfo),
ProductLegacyCondition(ProductLegacyConditionInfo),
ProductTypeFull(ProductTypeFullInfo),
ActivityId(ActivityIdInfo),
ActivityRating(ActivityRatingInfo),
ActivityCountry(ActivityCountryInfo),
UnknownListingDimension(UnknownListingDimensionInfo),
}
Expand description
Dimension of one of the types below is always present.
Variants§
HotelId(HotelIdInfo)
Advertiser-specific hotel ID.
HotelClass(HotelClassInfo)
Class of the hotel as a number of stars 1 to 5.
HotelCountryRegion(HotelCountryRegionInfo)
Country or Region the hotel is located in.
HotelState(HotelStateInfo)
State the hotel is located in.
HotelCity(HotelCityInfo)
City the hotel is located in.
ProductCategory(ProductCategoryInfo)
Category of a product offer.
ProductBrand(ProductBrandInfo)
Brand of a product offer.
ProductChannel(ProductChannelInfo)
Locality of a product offer.
ProductChannelExclusivity(ProductChannelExclusivityInfo)
Availability of a product offer.
ProductCondition(ProductConditionInfo)
Condition of a product offer.
ProductCustomAttribute(ProductCustomAttributeInfo)
Custom attribute of a product offer.
ProductItemId(ProductItemIdInfo)
Item id of a product offer.
ProductType(ProductTypeInfo)
Type of a product offer.
ProductGrouping(ProductGroupingInfo)
Grouping of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.
ProductLabels(ProductLabelsInfo)
Labels of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.
ProductLegacyCondition(ProductLegacyConditionInfo)
Legacy condition of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.
ProductTypeFull(ProductTypeFullInfo)
Full type of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.
ActivityId(ActivityIdInfo)
Advertiser-specific activity ID.
ActivityRating(ActivityRatingInfo)
Rating of the activity as a number 1 to 5, where 5 is the best.
ActivityCountry(ActivityCountryInfo)
Country the activity is in.
UnknownListingDimension(UnknownListingDimensionInfo)
Unknown dimension. Set when no other listing dimension is set.
Implementations§
source§impl Dimension
impl Dimension
sourcepub fn merge<B>(
field: &mut Option<Dimension>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Dimension>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Dimension
impl PartialEq for Dimension
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Freeze for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnwindSafe for Dimension
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