Struct google_api_proto::google::ads::googleads::v16::resources::change_event::ChangedResource
source · pub struct ChangedResource {Show 19 fields
pub ad: Option<Ad>,
pub ad_group: Option<AdGroup>,
pub ad_group_criterion: Option<AdGroupCriterion>,
pub campaign: Option<Campaign>,
pub campaign_budget: Option<CampaignBudget>,
pub ad_group_bid_modifier: Option<AdGroupBidModifier>,
pub campaign_criterion: Option<CampaignCriterion>,
pub feed: Option<Feed>,
pub feed_item: Option<FeedItem>,
pub campaign_feed: Option<CampaignFeed>,
pub ad_group_feed: Option<AdGroupFeed>,
pub ad_group_ad: Option<AdGroupAd>,
pub asset: Option<Asset>,
pub customer_asset: Option<CustomerAsset>,
pub campaign_asset: Option<CampaignAsset>,
pub ad_group_asset: Option<AdGroupAsset>,
pub asset_set: Option<AssetSet>,
pub asset_set_asset: Option<AssetSetAsset>,
pub campaign_asset_set: Option<CampaignAssetSet>,
}
Expand description
A wrapper proto presenting all supported resources. Only the resource of the change_resource_type will be set.
Fields§
§ad: Option<Ad>
Output only. Set if change_resource_type == AD.
ad_group: Option<AdGroup>
Output only. Set if change_resource_type == AD_GROUP.
ad_group_criterion: Option<AdGroupCriterion>
Output only. Set if change_resource_type == AD_GROUP_CRITERION.
campaign: Option<Campaign>
Output only. Set if change_resource_type == CAMPAIGN.
campaign_budget: Option<CampaignBudget>
Output only. Set if change_resource_type == CAMPAIGN_BUDGET.
ad_group_bid_modifier: Option<AdGroupBidModifier>
Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER.
campaign_criterion: Option<CampaignCriterion>
Output only. Set if change_resource_type == CAMPAIGN_CRITERION.
feed: Option<Feed>
Output only. Set if change_resource_type == FEED.
feed_item: Option<FeedItem>
Output only. Set if change_resource_type == FEED_ITEM.
campaign_feed: Option<CampaignFeed>
Output only. Set if change_resource_type == CAMPAIGN_FEED.
ad_group_feed: Option<AdGroupFeed>
Output only. Set if change_resource_type == AD_GROUP_FEED.
ad_group_ad: Option<AdGroupAd>
Output only. Set if change_resource_type == AD_GROUP_AD.
asset: Option<Asset>
Output only. Set if change_resource_type == ASSET.
customer_asset: Option<CustomerAsset>
Output only. Set if change_resource_type == CUSTOMER_ASSET.
campaign_asset: Option<CampaignAsset>
Output only. Set if change_resource_type == CAMPAIGN_ASSET.
ad_group_asset: Option<AdGroupAsset>
Output only. Set if change_resource_type == AD_GROUP_ASSET.
asset_set: Option<AssetSet>
Output only. Set if change_resource_type == ASSET_SET.
asset_set_asset: Option<AssetSetAsset>
Output only. Set if change_resource_type == ASSET_SET_ASSET.
campaign_asset_set: Option<CampaignAssetSet>
Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET.
Trait Implementations§
source§impl Clone for ChangedResource
impl Clone for ChangedResource
source§fn clone(&self) -> ChangedResource
fn clone(&self) -> ChangedResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangedResource
impl Debug for ChangedResource
source§impl Default for ChangedResource
impl Default for ChangedResource
source§impl Message for ChangedResource
impl Message for ChangedResource
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 ChangedResource
impl PartialEq for ChangedResource
source§fn eq(&self, other: &ChangedResource) -> bool
fn eq(&self, other: &ChangedResource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChangedResource
Auto Trait Implementations§
impl !Freeze for ChangedResource
impl RefUnwindSafe for ChangedResource
impl Send for ChangedResource
impl Sync for ChangedResource
impl Unpin for ChangedResource
impl UnwindSafe for ChangedResource
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