/resources/change_status.proto
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
--- v20/resources/change_status.proto 2025-06-04 18:55:28.000000000 +0000
+++ v21/resources/change_status.proto 2025-08-05 14:28:35.000000000 +0000
@@ -1,187 +1,203 @@
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
-package google.ads.googleads.v20.resources;
+package google.ads.googleads.v21.resources;
-import "google/ads/googleads/v20/enums/change_status_operation.proto";
-import "google/ads/googleads/v20/enums/change_status_resource_type.proto";
+import "google/ads/googleads/v21/enums/change_status_operation.proto";
+import "google/ads/googleads/v21/enums/change_status_resource_type.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-option csharp_namespace = "Google.Ads.GoogleAds.V20.Resources";
-option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v20/resources;resources";
+option csharp_namespace = "Google.Ads.GoogleAds.V21.Resources";
+option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v21/resources;resources";
option java_multiple_files = true;
option java_outer_classname = "ChangeStatusProto";
-option java_package = "com.google.ads.googleads.v20.resources";
+option java_package = "com.google.ads.googleads.v21.resources";
option objc_class_prefix = "GAA";
-option php_namespace = "Google\\Ads\\GoogleAds\\V20\\Resources";
-option ruby_package = "Google::Ads::GoogleAds::V20::Resources";
+option php_namespace = "Google\\Ads\\GoogleAds\\V21\\Resources";
+option ruby_package = "Google::Ads::GoogleAds::V21::Resources";
// Proto file describing the Change Status resource.
// Describes the status of returned resource. ChangeStatus could have up to 3
// minutes delay to reflect a new change.
message ChangeStatus {
option (google.api.resource) = {
type: "googleads.googleapis.com/ChangeStatus"
pattern: "customers/{customer_id}/changeStatus/{change_status_id}"
};
// Output only. The resource name of the change status.
// Change status resource names have the form:
//
// `customers/{customer_id}/changeStatus/{change_status_id}`
string resource_name = 1 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/ChangeStatus"
}
];
// Output only. Time at which the most recent change has occurred on this
// resource.
optional string last_change_date_time = 24
[(google.api.field_behavior) = OUTPUT_ONLY];
// 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.
- google.ads.googleads.v20.enums.ChangeStatusResourceTypeEnum
+ google.ads.googleads.v21.enums.ChangeStatusResourceTypeEnum
.ChangeStatusResourceType resource_type = 4
[(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The Campaign affected by this change.
optional string campaign = 17 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/Campaign"
}
];
// Output only. The AdGroup affected by this change.
optional string ad_group = 18 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AdGroup"
}
];
// Output only. Represents the status of the changed resource.
- google.ads.googleads.v20.enums.ChangeStatusOperationEnum.ChangeStatusOperation
+ google.ads.googleads.v21.enums.ChangeStatusOperationEnum.ChangeStatusOperation
resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The AdGroupAd affected by this change.
optional string ad_group_ad = 25 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AdGroupAd"
}
];
// Output only. The AdGroupCriterion affected by this change.
optional string ad_group_criterion = 26 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AdGroupCriterion"
}
];
// Output only. The CampaignCriterion affected by this change.
optional string campaign_criterion = 27 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CampaignCriterion"
}
];
// Output only. The AdGroupBidModifier affected by this change.
optional string ad_group_bid_modifier = 32 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AdGroupBidModifier"
}
];
// Output only. The SharedSet affected by this change.
string shared_set = 33 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/SharedSet"
}
];
// Output only. The CampaignSharedSet affected by this change.
string campaign_shared_set = 34 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CampaignSharedSet"
}
];
// Output only. The Asset affected by this change.
string asset = 35 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" }
];
// Output only. The CustomerAsset affected by this change.
string customer_asset = 36 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CustomerAsset"
}
];
// Output only. The CampaignAsset affected by this change.
string campaign_asset = 37 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CampaignAsset"
}
];
// Output only. The AdGroupAsset affected by this change.
string ad_group_asset = 38 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AdGroupAsset"
}
];
// Output only. The CombinedAudience affected by this change.
string combined_audience = 40 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CombinedAudience"
}
];
// Output only. The AssetGroup affected by this change.
string asset_group = 41 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/AssetGroup"
}
];
+ // Output only. The AssetSet affected by this change.
+ string asset_set = 43 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "googleads.googleapis.com/AssetSet"
+ }
+ ];
+
// Output only. The CampaignBudget affected by this change.
string campaign_budget = 42 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "googleads.googleapis.com/CampaignBudget"
}
];
+
+ // Output only. The CampaignAssetSet affected by this change.
+ string campaign_asset_set = 44 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "googleads.googleapis.com/CampaignAssetSet"
+ }
+ ];
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# /resources/change_status.proto\n\n```python\n--- v20/resources/change_status.proto 2025-06-04 18:55:28.000000000 +0000\n+++ v21/resources/change_status.proto 2025-08-05 14:28:35.000000000 +0000\n@@ -1,187 +1,203 @@\n // Copyright 2025 Google LLC\n //\n // Licensed under the Apache License, Version 2.0 (the \"License\");\n // you may not use this file except in compliance with the License.\n // You may obtain a copy of the License at\n //\n // http://www.apache.org/licenses/LICENSE-2.0\n //\n // Unless required by applicable law or agreed to in writing, software\n // distributed under the License is distributed on an \"AS IS\" BASIS,\n // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n // See the License for the specific language governing permissions and\n // limitations under the License.\n\n syntax = \"proto3\";\n\n-package google.ads.googleads.v20.resources;\n+package google.ads.googleads.v21.resources;\n\n-import \"google/ads/googleads/v20/enums/change_status_operation.proto\";\n-import \"google/ads/googleads/v20/enums/change_status_resource_type.proto\";\n+import \"google/ads/googleads/v21/enums/change_status_operation.proto\";\n+import \"google/ads/googleads/v21/enums/change_status_resource_type.proto\";\n import \"google/api/field_behavior.proto\";\n import \"google/api/resource.proto\";\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V20.Resources\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v20/resources;resources\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V21.Resources\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v21/resources;resources\";\n option java_multiple_files = true;\n option java_outer_classname = \"ChangeStatusProto\";\n-option java_package = \"com.google.ads.googleads.v20.resources\";\n+option java_package = \"com.google.ads.googleads.v21.resources\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V20\\\\Resources\";\n-option ruby_package = \"Google::Ads::GoogleAds::V20::Resources\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V21\\\\Resources\";\n+option ruby_package = \"Google::Ads::GoogleAds::V21::Resources\";\n\n // Proto file describing the Change Status resource.\n\n // Describes the status of returned resource. ChangeStatus could have up to 3\n // minutes delay to reflect a new change.\n message ChangeStatus {\n option (google.api.resource) = {\n type: \"googleads.googleapis.com/ChangeStatus\"\n pattern: \"customers/{customer_id}/changeStatus/{change_status_id}\"\n };\n\n // Output only. The resource name of the change status.\n // Change status resource names have the form:\n //\n // `customers/{customer_id}/changeStatus/{change_status_id}`\n string resource_name = 1 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/ChangeStatus\"\n }\n ];\n\n // Output only. Time at which the most recent change has occurred on this\n // resource.\n optional string last_change_date_time = 24\n [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Represents the type of the changed resource. This dictates\n // what fields will be set. For example, for AD_GROUP, campaign and ad_group\n // fields will be set.\n- google.ads.googleads.v20.enums.ChangeStatusResourceTypeEnum\n+ google.ads.googleads.v21.enums.ChangeStatusResourceTypeEnum\n .ChangeStatusResourceType resource_type = 4\n [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. The Campaign affected by this change.\n optional string campaign = 17 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/Campaign\"\n }\n ];\n\n // Output only. The AdGroup affected by this change.\n optional string ad_group = 18 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AdGroup\"\n }\n ];\n\n // Output only. Represents the status of the changed resource.\n- google.ads.googleads.v20.enums.ChangeStatusOperationEnum.ChangeStatusOperation\n+ google.ads.googleads.v21.enums.ChangeStatusOperationEnum.ChangeStatusOperation\n resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. The AdGroupAd affected by this change.\n optional string ad_group_ad = 25 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AdGroupAd\"\n }\n ];\n\n // Output only. The AdGroupCriterion affected by this change.\n optional string ad_group_criterion = 26 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AdGroupCriterion\"\n }\n ];\n\n // Output only. The CampaignCriterion affected by this change.\n optional string campaign_criterion = 27 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CampaignCriterion\"\n }\n ];\n\n // Output only. The AdGroupBidModifier affected by this change.\n optional string ad_group_bid_modifier = 32 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AdGroupBidModifier\"\n }\n ];\n\n // Output only. The SharedSet affected by this change.\n string shared_set = 33 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/SharedSet\"\n }\n ];\n\n // Output only. The CampaignSharedSet affected by this change.\n string campaign_shared_set = 34 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CampaignSharedSet\"\n }\n ];\n\n // Output only. The Asset affected by this change.\n string asset = 35 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = { type: \"googleads.googleapis.com/Asset\" }\n ];\n\n // Output only. The CustomerAsset affected by this change.\n string customer_asset = 36 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CustomerAsset\"\n }\n ];\n\n // Output only. The CampaignAsset affected by this change.\n string campaign_asset = 37 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CampaignAsset\"\n }\n ];\n\n // Output only. The AdGroupAsset affected by this change.\n string ad_group_asset = 38 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AdGroupAsset\"\n }\n ];\n\n // Output only. The CombinedAudience affected by this change.\n string combined_audience = 40 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CombinedAudience\"\n }\n ];\n\n // Output only. The AssetGroup affected by this change.\n string asset_group = 41 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/AssetGroup\"\n }\n ];\n\n+ // Output only. The AssetSet affected by this change.\n+ string asset_set = 43 [\n+ (google.api.field_behavior) = OUTPUT_ONLY,\n+ (google.api.resource_reference) = {\n+ type: \"googleads.googleapis.com/AssetSet\"\n+ }\n+ ];\n+\n // Output only. The CampaignBudget affected by this change.\n string campaign_budget = 42 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CampaignBudget\"\n }\n ];\n+\n+ // Output only. The CampaignAssetSet affected by this change.\n+ string campaign_asset_set = 44 [\n+ (google.api.field_behavior) = OUTPUT_ONLY,\n+ (google.api.resource_reference) = {\n+ type: \"googleads.googleapis.com/CampaignAssetSet\"\n+ }\n+ ];\n }\n```"]]