pub struct DomainCategory {
pub resource_name: String,
pub campaign: String,
pub category: String,
pub language_code: String,
pub domain: String,
pub coverage_fraction: f64,
pub category_rank: i64,
pub has_children: bool,
pub recommended_cpc_bid_micros: i64,
}
Expand description
A category generated automatically by crawling a domain. If a campaign uses the DynamicSearchAdsSetting, then domain categories will be generated for the domain. The categories can be targeted using WebpageConditionInfo. See: https://support.google.com/google-ads/answer/2471185
Fields§
§resource_name: String
Output only. The resource name of the domain category. Domain category resource names have the form:
customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}
campaign: String
Output only. The campaign this category is recommended for.
category: String
Output only. Recommended category for the website domain, for example, if you have a website about electronics, the categories could be “cameras”, “televisions”, etc.
language_code: String
Output only. The language code specifying the language of the website, for example, “en” for English. The language can be specified in the DynamicSearchAdsSetting required for dynamic search ads. This is the language of the pages from your website that you want Google Ads to find, create ads for, and match searches with.
domain: String
Output only. The domain for the website. The domain can be specified in the DynamicSearchAdsSetting required for dynamic search ads.
coverage_fraction: f64
Output only. Fraction of pages on your site that this category matches.
category_rank: i64
Output only. The position of this category in the set of categories. Lower numbers indicate a better match for the domain. null indicates not recommended.
has_children: bool
Output only. Indicates whether this category has sub-categories.
recommended_cpc_bid_micros: i64
Output only. The recommended cost per click for the category.
Trait Implementations§
Source§impl Clone for DomainCategory
impl Clone for DomainCategory
Source§fn clone(&self) -> DomainCategory
fn clone(&self) -> DomainCategory
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DomainCategory
impl Debug for DomainCategory
Source§impl Default for DomainCategory
impl Default for DomainCategory
Source§impl Message for DomainCategory
impl Message for DomainCategory
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for DomainCategory
impl PartialEq for DomainCategory
impl StructuralPartialEq for DomainCategory
Auto Trait Implementations§
impl Freeze for DomainCategory
impl RefUnwindSafe for DomainCategory
impl Send for DomainCategory
impl Sync for DomainCategory
impl Unpin for DomainCategory
impl UnwindSafe for DomainCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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