import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { LeadFormFieldUserInputTypeEnum_LeadFormFieldUserInputType } from "../enums/lead_form_field_user_input_type"; /** * Data from lead form submissions. * * @generated from protobuf message google.ads.googleads.v11.resources.LeadFormSubmissionData */ export interface LeadFormSubmissionData { /** * Output only. The resource name of the lead form submission data. * Lead form submission data resource names have the form: * * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` * * @generated from protobuf field: string resource_name = 1; */ resourceName: string; /** * Output only. ID of this lead form submission. * * @generated from protobuf field: string id = 2; */ id: string; /** * Output only. Asset associated with the submitted lead form. * * @generated from protobuf field: string asset = 3; */ asset: string; /** * Output only. Campaign associated with the submitted lead form. * * @generated from protobuf field: string campaign = 4; */ campaign: string; /** * Output only. Submission data associated with a lead form. * * @generated from protobuf field: repeated google.ads.googleads.v11.resources.LeadFormSubmissionField lead_form_submission_fields = 5; */ leadFormSubmissionFields: LeadFormSubmissionField[]; /** * Output only. AdGroup associated with the submitted lead form. * * @generated from protobuf field: string ad_group = 6; */ adGroup: string; /** * Output only. AdGroupAd associated with the submitted lead form. * * @generated from protobuf field: string ad_group_ad = 7; */ adGroupAd: string; /** * Output only. Google Click Id associated with the submissed lead form. * * @generated from protobuf field: string gclid = 8; */ gclid: string; /** * Output only. The date and time at which the lead form was submitted. The format is * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". * * @generated from protobuf field: string submission_date_time = 9; */ submissionDateTime: string; } /** * Fields in the submitted lead form. * * @generated from protobuf message google.ads.googleads.v11.resources.LeadFormSubmissionField */ export interface LeadFormSubmissionField { /** * Output only. Field type for lead form fields. * * @generated from protobuf field: google.ads.googleads.v11.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1; */ fieldType: LeadFormFieldUserInputTypeEnum_LeadFormFieldUserInputType; /** * Output only. Field value for lead form fields. * * @generated from protobuf field: string field_value = 2; */ fieldValue: string; } declare class LeadFormSubmissionData$Type extends MessageType { constructor(); create(value?: PartialMessage): LeadFormSubmissionData; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LeadFormSubmissionData): LeadFormSubmissionData; internalBinaryWrite(message: LeadFormSubmissionData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.resources.LeadFormSubmissionData */ export declare const LeadFormSubmissionData: LeadFormSubmissionData$Type; declare class LeadFormSubmissionField$Type extends MessageType { constructor(); create(value?: PartialMessage): LeadFormSubmissionField; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LeadFormSubmissionField): LeadFormSubmissionField; internalBinaryWrite(message: LeadFormSubmissionField, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.resources.LeadFormSubmissionField */ export declare const LeadFormSubmissionField: LeadFormSubmissionField$Type; export {};