123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- syntax = "proto3";
- package google.ads.googleads.v10.resources;
- import "google/ads/googleads/v10/enums/change_client_type.proto";
- import "google/ads/googleads/v10/enums/change_event_resource_type.proto";
- import "google/ads/googleads/v10/enums/resource_change_operation.proto";
- import "google/ads/googleads/v10/resources/ad.proto";
- import "google/ads/googleads/v10/resources/ad_group.proto";
- import "google/ads/googleads/v10/resources/ad_group_ad.proto";
- import "google/ads/googleads/v10/resources/ad_group_asset.proto";
- import "google/ads/googleads/v10/resources/ad_group_bid_modifier.proto";
- import "google/ads/googleads/v10/resources/ad_group_criterion.proto";
- import "google/ads/googleads/v10/resources/ad_group_feed.proto";
- import "google/ads/googleads/v10/resources/asset.proto";
- import "google/ads/googleads/v10/resources/asset_set.proto";
- import "google/ads/googleads/v10/resources/asset_set_asset.proto";
- import "google/ads/googleads/v10/resources/campaign.proto";
- import "google/ads/googleads/v10/resources/campaign_asset.proto";
- import "google/ads/googleads/v10/resources/campaign_asset_set.proto";
- import "google/ads/googleads/v10/resources/campaign_budget.proto";
- import "google/ads/googleads/v10/resources/campaign_criterion.proto";
- import "google/ads/googleads/v10/resources/campaign_feed.proto";
- import "google/ads/googleads/v10/resources/customer_asset.proto";
- import "google/ads/googleads/v10/resources/feed.proto";
- import "google/ads/googleads/v10/resources/feed_item.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/field_mask.proto";
- option csharp_namespace = "Google.Ads.GoogleAds.V10.Resources";
- option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/resources;resources";
- option java_multiple_files = true;
- option java_outer_classname = "ChangeEventProto";
- option java_package = "com.google.ads.googleads.v10.resources";
- option objc_class_prefix = "GAA";
- option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Resources";
- option ruby_package = "Google::Ads::GoogleAds::V10::Resources";
- message ChangeEvent {
- option (google.api.resource) = {
- type: "googleads.googleapis.com/ChangeEvent"
- pattern: "customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}"
- };
-
-
- message ChangedResource {
-
- Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroup ad_group = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroupCriterion ad_group_criterion = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- Campaign campaign = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CampaignBudget campaign_budget = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroupBidModifier ad_group_bid_modifier = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CampaignCriterion campaign_criterion = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- Feed feed = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- FeedItem feed_item = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CampaignFeed campaign_feed = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroupFeed ad_group_feed = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroupAd ad_group_ad = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- Asset asset = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CustomerAsset customer_asset = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CampaignAsset campaign_asset = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AdGroupAsset ad_group_asset = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AssetSet asset_set = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- AssetSetAsset asset_set_asset = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CampaignAssetSet campaign_asset_set = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
-
-
-
- string resource_name = 1 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/ChangeEvent"
- }
- ];
-
- string change_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- google.ads.googleads.v10.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.ads.googleads.v10.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string user_email = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- ChangedResource old_resource = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.ads.googleads.v10.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.FieldMask changed_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string campaign = 11 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Campaign"
- }
- ];
-
- string ad_group = 12 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/AdGroup"
- }
- ];
-
- string feed = 13 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Feed"
- }
- ];
-
- string feed_item = 14 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/FeedItem"
- }
- ];
-
- string asset = 20 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Asset"
- }
- ];
- }
|