Struct google_api_proto::google::ads::searchads360::v0::resources::AdGroupAd
source · pub struct AdGroupAd {
pub resource_name: String,
pub status: i32,
pub ad: Option<Ad>,
pub creation_time: String,
pub labels: Vec<String>,
pub engine_id: String,
pub engine_status: i32,
pub last_modified_time: String,
}
Expand description
An ad group ad.
Fields§
§resource_name: String
Immutable. The resource name of the ad. Ad group ad resource names have the form:
customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}
status: i32
The status of the ad.
ad: Option<Ad>
Immutable. The ad.
creation_time: String
Output only. The timestamp when this ad_group_ad was created. The datetime is in the customer’s time zone and in “yyyy-MM-dd HH:mm:ss.ssssss” format.
labels: Vec<String>
Output only. The resource names of labels attached to this ad group ad.
engine_id: String
Output only. ID of the ad in the external engine account. This field is for Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use “ad_group_ad.ad.id” instead.
engine_status: i32
Output only. Additional status of the ad in the external engine account. Possible statuses (depending on the type of external account) include active, eligible, pending review, etc.
last_modified_time: String
Output only. The datetime when this ad group ad was last modified. The datetime is in the customer’s time zone and in “yyyy-MM-dd HH:mm:ss.ssssss” format.
Implementations§
source§impl AdGroupAd
impl AdGroupAd
sourcepub fn status(&self) -> AdGroupAdStatus
pub fn status(&self) -> AdGroupAdStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_status(&mut self, value: AdGroupAdStatus)
pub fn set_status(&mut self, value: AdGroupAdStatus)
Sets status
to the provided enum value.
sourcepub fn engine_status(&self) -> AdGroupAdEngineStatus
pub fn engine_status(&self) -> AdGroupAdEngineStatus
Returns the enum value of engine_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_engine_status(&mut self, value: AdGroupAdEngineStatus)
pub fn set_engine_status(&mut self, value: AdGroupAdEngineStatus)
Sets engine_status
to the provided enum value.
Trait Implementations§
source§impl Message for AdGroupAd
impl Message for AdGroupAd
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 AdGroupAd
impl PartialEq for AdGroupAd
impl StructuralPartialEq for AdGroupAd
Auto Trait Implementations§
impl Freeze for AdGroupAd
impl RefUnwindSafe for AdGroupAd
impl Send for AdGroupAd
impl Sync for AdGroupAd
impl Unpin for AdGroupAd
impl UnwindSafe for AdGroupAd
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