--- v18/resources/local_services_lead.proto 2024-10-16 17:56:30.000000000 +0000 +++ v19/resources/local_services_lead.proto 2025-04-16 17:10:13.000000000 +0000 @@ -1,140 +1,143 @@ -// 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/enums/local_services_lead_credit_state.proto"; -import "google/ads/googleads/v18/enums/local_services_lead_status.proto"; -import "google/ads/googleads/v18/enums/local_services_lead_type.proto"; +import "google/ads/googleads/v19/enums/local_services_lead_credit_state.proto"; +import "google/ads/googleads/v19/enums/local_services_lead_status.proto"; +import "google/ads/googleads/v19/enums/local_services_lead_type.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 = "LocalServicesLeadProto"; -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 local services lead resource. // Data from Local Services Lead. // Contains details of Lead which is generated when user calls, messages or // books service from advertiser. // More info: https://ads.google.com/local-services-ads message LocalServicesLead { option (google.api.resource) = { type: "googleads.googleapis.com/LocalServicesLead" pattern: "customers/{customer_id}/localServicesLeads/{local_services_lead_id}" }; // Output only. The resource name of the local services lead data. // Local Services Lead resource name have the form // // `customers/{customer_id}/localServicesLead/{local_services_lead_id}` string resource_name = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { type: "googleads.googleapis.com/LocalServicesLead" } ]; // Output only. ID of this Lead. int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Service category of the lead. For example: // `xcat:service_area_business_hvac`, // `xcat:service_area_business_real_estate_agent`, etc. // For more details see: // https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids string category_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Service for the category. For example: `buyer_agent`, // `seller_agent` for the category of // `xcat:service_area_business_real_estate_agent`. string service_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Lead's contact details. ContactDetails contact_details = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Type of Local Services lead: phone, message, booking, etc. - google.ads.googleads.v18.enums.LocalServicesLeadTypeEnum.LeadType lead_type = + google.ads.googleads.v19.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Current status of lead. - google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus + google.ads.googleads.v19.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The date time at which lead was created by Local Services Ads. // The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" string creation_date_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Language used by the Local Services provider linked to lead. // See https://developers.google.com/google-ads/api/data/codes-formats#locales string locale = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Note added by advertiser for the lead. optional Note note = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. True if the advertiser was charged for the lead. bool lead_charged = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Credit details of the lead. optional CreditDetails credit_details = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. True if the advertiser submitted feedback for the lead. + bool lead_feedback_submitted = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Fields containing consumer contact details. message ContactDetails { // Output only. Consumer phone number in E164 format. string phone_number = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Consumer email address. string email = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Consumer name if consumer provided name from Message or // Booking form on google.com string consumer_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Represents a note added to a lead by the advertiser. Advertisers can edit // notes, which will reset edit time and change description. message Note { // Output only. The date time when lead note was edited. The format is // "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: // "2018-03-05 09:15:00" or "2018-02-01 14:34:30" string edit_date_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Content of lead note. string description = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Represents the credit details of a lead. message CreditDetails { // Output only. Credit state of the lead. - google.ads.googleads.v18.enums.LocalServicesCreditStateEnum.CreditState + google.ads.googleads.v19.enums.LocalServicesCreditStateEnum.CreditState credit_state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The date time when the credit state of the lead was last // updated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's // timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" string credit_state_last_update_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; }
/resources/local_services_lead.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# /resources/local_services_lead.proto\n\n```python\n--- v18/resources/local_services_lead.proto 2024-10-16 17:56:30.000000000 +0000\n+++ v19/resources/local_services_lead.proto 2025-04-16 17:10:13.000000000 +0000\n@@ -1,140 +1,143 @@\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/enums/local_services_lead_credit_state.proto\";\n-import \"google/ads/googleads/v18/enums/local_services_lead_status.proto\";\n-import \"google/ads/googleads/v18/enums/local_services_lead_type.proto\";\n+import \"google/ads/googleads/v19/enums/local_services_lead_credit_state.proto\";\n+import \"google/ads/googleads/v19/enums/local_services_lead_status.proto\";\n+import \"google/ads/googleads/v19/enums/local_services_lead_type.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 = \"LocalServicesLeadProto\";\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 local services lead resource.\n\n // Data from Local Services Lead.\n // Contains details of Lead which is generated when user calls, messages or\n // books service from advertiser.\n // More info: https://ads.google.com/local-services-ads\n message LocalServicesLead {\n option (google.api.resource) = {\n type: \"googleads.googleapis.com/LocalServicesLead\"\n pattern: \"customers/{customer_id}/localServicesLeads/{local_services_lead_id}\"\n };\n\n // Output only. The resource name of the local services lead data.\n // Local Services Lead resource name have the form\n //\n // `customers/{customer_id}/localServicesLead/{local_services_lead_id}`\n string resource_name = 1 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/LocalServicesLead\"\n }\n ];\n\n // Output only. ID of this Lead.\n int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Service category of the lead. For example:\n // `xcat:service_area_business_hvac`,\n // `xcat:service_area_business_real_estate_agent`, etc.\n // For more details see:\n // https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids\n string category_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Service for the category. For example: `buyer_agent`,\n // `seller_agent` for the category of\n // `xcat:service_area_business_real_estate_agent`.\n string service_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Lead's contact details.\n ContactDetails contact_details = 5\n [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Type of Local Services lead: phone, message, booking, etc.\n- google.ads.googleads.v18.enums.LocalServicesLeadTypeEnum.LeadType lead_type =\n+ google.ads.googleads.v19.enums.LocalServicesLeadTypeEnum.LeadType lead_type =\n 6 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Current status of lead.\n- google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus\n+ google.ads.googleads.v19.enums.LocalServicesLeadStatusEnum.LeadStatus\n lead_status = 7 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. The date time at which lead was created by Local Services Ads.\n // The format is \"YYYY-MM-DD HH:MM:SS\" in the Google Ads account's timezone.\n // Examples: \"2018-03-05 09:15:00\" or \"2018-02-01 14:34:30\"\n string creation_date_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Language used by the Local Services provider linked to lead.\n // See https://developers.google.com/google-ads/api/data/codes-formats#locales\n string locale = 9 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Note added by advertiser for the lead.\n optional Note note = 10 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. True if the advertiser was charged for the lead.\n bool lead_charged = 11 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Credit details of the lead.\n optional CreditDetails credit_details = 12\n [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Output only. True if the advertiser submitted feedback for the lead.\n+ bool lead_feedback_submitted = 13 [(google.api.field_behavior) = OUTPUT_ONLY];\n }\n\n // Fields containing consumer contact details.\n message ContactDetails {\n // Output only. Consumer phone number in E164 format.\n string phone_number = 1 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Consumer email address.\n string email = 2 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Consumer name if consumer provided name from Message or\n // Booking form on google.com\n string consumer_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];\n }\n\n // Represents a note added to a lead by the advertiser. Advertisers can edit\n // notes, which will reset edit time and change description.\n message Note {\n // Output only. The date time when lead note was edited. The format is\n // \"YYYY-MM-DD HH:MM:SS\" in the Google Ads account's timezone. Examples:\n // \"2018-03-05 09:15:00\" or \"2018-02-01 14:34:30\"\n string edit_date_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. Content of lead note.\n string description = 2 [(google.api.field_behavior) = OUTPUT_ONLY];\n }\n\n // Represents the credit details of a lead.\n message CreditDetails {\n // Output only. Credit state of the lead.\n- google.ads.googleads.v18.enums.LocalServicesCreditStateEnum.CreditState\n+ google.ads.googleads.v19.enums.LocalServicesCreditStateEnum.CreditState\n credit_state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Output only. The date time when the credit state of the lead was last\n // updated. The format is \"YYYY-MM-DD HH:MM:SS\" in the Google Ads account's\n // timezone. Examples: \"2018-03-05 09:15:00\" or \"2018-02-01 14:34:30\"\n string credit_state_last_update_date_time = 2\n [(google.api.field_behavior) = OUTPUT_ONLY];\n }\n```"]]