Struct google_api_proto::google::ads::googleads::v17::resources::ChangeStatus
source · pub struct ChangeStatus {Show 22 fields
pub resource_name: String,
pub last_change_date_time: Option<String>,
pub resource_type: i32,
pub campaign: Option<String>,
pub ad_group: Option<String>,
pub resource_status: i32,
pub ad_group_ad: Option<String>,
pub ad_group_criterion: Option<String>,
pub campaign_criterion: Option<String>,
pub feed: Option<String>,
pub feed_item: Option<String>,
pub ad_group_feed: Option<String>,
pub campaign_feed: Option<String>,
pub ad_group_bid_modifier: Option<String>,
pub shared_set: String,
pub campaign_shared_set: String,
pub asset: String,
pub customer_asset: String,
pub campaign_asset: String,
pub ad_group_asset: String,
pub combined_audience: String,
pub asset_group: String,
}
Expand description
Describes the status of returned resource. ChangeStatus could have up to 3 minutes delay to reflect a new change.
Fields§
§resource_name: String
Output only. The resource name of the change status. Change status resource names have the form:
customers/{customer_id}/changeStatus/{change_status_id}
last_change_date_time: Option<String>
Output only. Time at which the most recent change has occurred on this resource.
resource_type: i32
Output only. Represents the type of the changed resource. This dictates what fields will be set. For example, for AD_GROUP, campaign and ad_group fields will be set.
campaign: Option<String>
Output only. The Campaign affected by this change.
ad_group: Option<String>
Output only. The AdGroup affected by this change.
resource_status: i32
Output only. Represents the status of the changed resource.
ad_group_ad: Option<String>
Output only. The AdGroupAd affected by this change.
ad_group_criterion: Option<String>
Output only. The AdGroupCriterion affected by this change.
campaign_criterion: Option<String>
Output only. The CampaignCriterion affected by this change.
feed: Option<String>
Output only. The Feed affected by this change.
feed_item: Option<String>
Output only. The FeedItem affected by this change.
ad_group_feed: Option<String>
Output only. The AdGroupFeed affected by this change.
campaign_feed: Option<String>
Output only. The CampaignFeed affected by this change.
ad_group_bid_modifier: Option<String>
Output only. The AdGroupBidModifier affected by this change.
Output only. The SharedSet affected by this change.
Output only. The CampaignSharedSet affected by this change.
asset: String
Output only. The Asset affected by this change.
customer_asset: String
Output only. The CustomerAsset affected by this change.
campaign_asset: String
Output only. The CampaignAsset affected by this change.
ad_group_asset: String
Output only. The AdGroupAsset affected by this change.
combined_audience: String
Output only. The CombinedAudience affected by this change.
asset_group: String
Output only. The AssetGroup affected by this change.
Implementations§
source§impl ChangeStatus
impl ChangeStatus
sourcepub fn resource_type(&self) -> ChangeStatusResourceType
pub fn resource_type(&self) -> ChangeStatusResourceType
Returns the enum value of resource_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_resource_type(&mut self, value: ChangeStatusResourceType)
pub fn set_resource_type(&mut self, value: ChangeStatusResourceType)
Sets resource_type
to the provided enum value.
sourcepub fn resource_status(&self) -> ChangeStatusOperation
pub fn resource_status(&self) -> ChangeStatusOperation
Returns the enum value of resource_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_resource_status(&mut self, value: ChangeStatusOperation)
pub fn set_resource_status(&mut self, value: ChangeStatusOperation)
Sets resource_status
to the provided enum value.
sourcepub fn campaign(&self) -> &str
pub fn campaign(&self) -> &str
Returns the value of campaign
, or the default value if campaign
is unset.
sourcepub fn ad_group(&self) -> &str
pub fn ad_group(&self) -> &str
Returns the value of ad_group
, or the default value if ad_group
is unset.
sourcepub fn last_change_date_time(&self) -> &str
pub fn last_change_date_time(&self) -> &str
Returns the value of last_change_date_time
, or the default value if last_change_date_time
is unset.
sourcepub fn ad_group_ad(&self) -> &str
pub fn ad_group_ad(&self) -> &str
Returns the value of ad_group_ad
, or the default value if ad_group_ad
is unset.
sourcepub fn ad_group_criterion(&self) -> &str
pub fn ad_group_criterion(&self) -> &str
Returns the value of ad_group_criterion
, or the default value if ad_group_criterion
is unset.
sourcepub fn campaign_criterion(&self) -> &str
pub fn campaign_criterion(&self) -> &str
Returns the value of campaign_criterion
, or the default value if campaign_criterion
is unset.
sourcepub fn feed_item(&self) -> &str
pub fn feed_item(&self) -> &str
Returns the value of feed_item
, or the default value if feed_item
is unset.
sourcepub fn ad_group_feed(&self) -> &str
pub fn ad_group_feed(&self) -> &str
Returns the value of ad_group_feed
, or the default value if ad_group_feed
is unset.
sourcepub fn campaign_feed(&self) -> &str
pub fn campaign_feed(&self) -> &str
Returns the value of campaign_feed
, or the default value if campaign_feed
is unset.
sourcepub fn ad_group_bid_modifier(&self) -> &str
pub fn ad_group_bid_modifier(&self) -> &str
Returns the value of ad_group_bid_modifier
, or the default value if ad_group_bid_modifier
is unset.
Trait Implementations§
source§impl Clone for ChangeStatus
impl Clone for ChangeStatus
source§fn clone(&self) -> ChangeStatus
fn clone(&self) -> ChangeStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangeStatus
impl Debug for ChangeStatus
source§impl Default for ChangeStatus
impl Default for ChangeStatus
source§impl Message for ChangeStatus
impl Message for ChangeStatus
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 ChangeStatus
impl PartialEq for ChangeStatus
source§fn eq(&self, other: &ChangeStatus) -> bool
fn eq(&self, other: &ChangeStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChangeStatus
Auto Trait Implementations§
impl Freeze for ChangeStatus
impl RefUnwindSafe for ChangeStatus
impl Send for ChangeStatus
impl Sync for ChangeStatus
impl Unpin for ChangeStatus
impl UnwindSafe for ChangeStatus
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