/resources/lead_form_submission_data.proto

Stay organized with collections Save and categorize content based on your preferences.
--- v11/resources/lead_form_submission_data.proto   2022-10-07 15:24:08.000000000 +0000
+++ v12/resources/lead_form_submission_data.proto   2022-10-07 15:24:11.000000000 +0000
@@ -71,6 +71,9 @@
   // Output only. Submission data associated with a lead form.
   repeated LeadFormSubmissionField lead_form_submission_fields = 5 [(google.api.field_behavior) = OUTPUT_ONLY];

+  // Output only. Submission data associated with a custom lead form.
+  repeated CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+
   // Output only. AdGroup associated with the submitted lead form.
   string ad_group = 6 [
     (google.api.field_behavior) = OUTPUT_ONLY,
@@ -98,8 +101,18 @@
 // Fields in the submitted lead form.
 message LeadFormSubmissionField {
   // Output only. Field type for lead form fields.
-  google.ads.googleads.v11.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.ads.googleads.v12.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

   // Output only. Field value for lead form fields.
   string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
 }
+
+// Fields in the submitted custom question
+message CustomLeadFormSubmissionField {
+  // Output only. Question text for custom question, maximum number of characters is 300.
+  string question_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+  // Output only. Field value for custom question response, maximum number of characters
+  // is 70.
+  string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}