--- v18/resources/customer_lifecycle_goal.proto 2024-10-16 17:56:30.000000000 +0000 +++ v19/resources/customer_lifecycle_goal.proto 2025-04-16 17:10:13.000000000 +0000 @@ -1,56 +1,65 @@ -// Copyright 2024 Google LLC +// 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.v18.resources; +package google.ads.googleads.v19.resources; -import "google/ads/googleads/v18/common/lifecycle_goals.proto"; +import "google/ads/googleads/v19/common/lifecycle_goals.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option csharp_namespace = "Google.Ads.GoogleAds.V18.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v18/resources;resources"; +option csharp_namespace = "Google.Ads.GoogleAds.V19.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources"; option java_multiple_files = true; option java_outer_classname = "CustomerLifecycleGoalProto"; -option java_package = "com.google.ads.googleads.v18.resources"; +option java_package = "com.google.ads.googleads.v19.resources"; option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V18\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V18::Resources"; +option php_namespace = "Google\\Ads\\GoogleAds\\V19\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V19::Resources"; // Proto file describing the customer lifecycle resource. // Account level customer lifecycle goal settings. message CustomerLifecycleGoal { option (google.api.resource) = { type: "googleads.googleapis.com/CustomerLifecycleGoal" pattern: "customers/{customer_id}/customerLifecycleGoals" }; // Immutable. The resource name of the customer lifecycle goal. // Customer lifecycle resource names have the form: // // `customers/{customer_id}/customerLifecycleGoal` string resource_name = 1 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { type: "googleads.googleapis.com/CustomerLifecycleGoal" } ]; // Output only. Customer acquisition goal customer level value settings. - google.ads.googleads.v18.common.LifecycleGoalValueSettings + google.ads.googleads.v19.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The resource name of the customer which owns the lifecycle + // goal. + string owner_customer = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Customer" + } + ]; }
/resources/customer_lifecycle_goal.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# /resources/customer_lifecycle_goal.proto\n\n```python\n--- v18/resources/customer_lifecycle_goal.proto 2024-10-16 17:56:30.000000000 +0000\n+++ v19/resources/customer_lifecycle_goal.proto 2025-04-16 17:10:13.000000000 +0000\n@@ -1,56 +1,65 @@\n-// Copyright 2024 Google LLC\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.v18.resources;\n+package google.ads.googleads.v19.resources;\n\n-import \"google/ads/googleads/v18/common/lifecycle_goals.proto\";\n+import \"google/ads/googleads/v19/common/lifecycle_goals.proto\";\n import \"google/api/field_behavior.proto\";\n import \"google/api/resource.proto\";\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V18.Resources\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v18/resources;resources\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V19.Resources\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources\";\n option java_multiple_files = true;\n option java_outer_classname = \"CustomerLifecycleGoalProto\";\n-option java_package = \"com.google.ads.googleads.v18.resources\";\n+option java_package = \"com.google.ads.googleads.v19.resources\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V18\\\\Resources\";\n-option ruby_package = \"Google::Ads::GoogleAds::V18::Resources\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V19\\\\Resources\";\n+option ruby_package = \"Google::Ads::GoogleAds::V19::Resources\";\n\n // Proto file describing the customer lifecycle resource.\n\n // Account level customer lifecycle goal settings.\n message CustomerLifecycleGoal {\n option (google.api.resource) = {\n type: \"googleads.googleapis.com/CustomerLifecycleGoal\"\n pattern: \"customers/{customer_id}/customerLifecycleGoals\"\n };\n\n // Immutable. The resource name of the customer lifecycle goal.\n // Customer lifecycle resource names have the form:\n //\n // `customers/{customer_id}/customerLifecycleGoal`\n string resource_name = 1 [\n (google.api.field_behavior) = IMMUTABLE,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/CustomerLifecycleGoal\"\n }\n ];\n\n // Output only. Customer acquisition goal customer level value settings.\n- google.ads.googleads.v18.common.LifecycleGoalValueSettings\n+ google.ads.googleads.v19.common.LifecycleGoalValueSettings\n customer_acquisition_goal_value_settings = 3\n [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Output only. The resource name of the customer which owns the lifecycle\n+ // goal.\n+ string owner_customer = 4 [\n+ (google.api.field_behavior) = OUTPUT_ONLY,\n+ (google.api.resource_reference) = {\n+ type: \"googleads.googleapis.com/Customer\"\n+ }\n+ ];\n }\n```"]]