--- v18/services/local_services_lead_service.proto 2025-08-05 14:36:13.000000000 +0000 +++ v19/services/local_services_lead_service.proto 2025-08-05 14:36:21.000000000 +0000 @@ -41,11 +45,20 @@ rpc AppendLeadConversation(AppendLeadConversationRequest) returns (AppendLeadConversationResponse) { option (google.api.http) = { - post: "/v18/customers/{customer_id=*}/localServices:appendLeadConversation" + post: "/v19/customers/{customer_id=*}/localServices:appendLeadConversation" body: "*" }; option (google.api.method_signature) = "customer_id,conversations"; } + + // RPC to provide feedback on Local Services Lead resources. + rpc ProvideLeadFeedback(ProvideLeadFeedbackRequest) + returns (ProvideLeadFeedbackResponse) { + option (google.api.http) = { + post: "/v19/{resource_name=customers/*/localServicesLeads/*}:provideLeadFeedback" + body: "*" + }; + } } // Request message for @@ -94,3 +107,64 @@ google.rpc.Status partial_failure_error = 2; } } + +// Details about various factors for being satisfied with the lead. +message SurveySatisfied { + // Required. Provider's reason for being satisfied with the lead. + google.ads.googleads.v19.enums.LocalServicesLeadSurveySatisfiedReasonEnum + .SurveySatisfiedReason survey_satisfied_reason = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Provider's free form comments. This field is required when + // OTHER_SATISFIED_REASON is selected as the reason. + string other_reason_comment = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Details about various factors for not being satisfied with the lead. +message SurveyDissatisfied { + // Required. Provider's reason for not being satisfied with the lead. + google.ads.googleads.v19.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum + .SurveyDissatisfiedReason survey_dissatisfied_reason = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Provider's free form comments. This field is required when + // OTHER_DISSATISFIED_REASON is selected as the reason. + string other_reason_comment = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [LocalServicesLeadService.ProvideLeadFeedback][google.ads.googleads.v19.services.LocalServicesLeadService.ProvideLeadFeedback]. +message ProvideLeadFeedbackRequest { + // Required. The resource name of the local services lead that for which the + // feedback is being provided. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/LocalServicesLead" + } + ]; + + // Required. Survey answer for Local Services Ads Lead. + google.ads.googleads.v19.enums.LocalServicesLeadSurveyAnswerEnum.SurveyAnswer + survey_answer = 2 [(google.api.field_behavior) = REQUIRED]; + + // Details about various factors for being satisfied or dissatisfied with the + // lead. + oneof survey_details { + // Details about various factors for being satisfied with the lead. + SurveySatisfied survey_satisfied = 3; + + // Details about various factors for not being satisfied with the lead. + SurveyDissatisfied survey_dissatisfied = 4; + } +} + +// Response message for +// [LocalServicesLeadService.ProvideLeadFeedback][google.ads.googleads.v19.services.LocalServicesLeadService.ProvideLeadFeedback]. +message ProvideLeadFeedbackResponse { + // Required. Decision of bonus credit issued or rejected. If a bonus credit is + // issued, it will be available for use in about two months. + google.ads.googleads.v19.enums.LocalServicesLeadCreditIssuanceDecisionEnum + .CreditIssuanceDecision credit_issuance_decision = 1 + [(google.api.field_behavior) = REQUIRED]; +}
/services/local_services_lead_service.proto
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[],[],null,[]]