LeadFormField

One input field instance within a form.

Fields

input_type

LeadFormFieldUserInputType

Describes the input type, which may be a predefined type such as "full name" or a pre-vetted question like "What kind of vehicle do you have?".

Union field

answers

answers. Defines answer configuration that this form field accepts. If oneof is not set, this is a free-text answer. answers can be only one of the following:

single_choice_answers

LeadFormSingleChoiceAnswers

Answer configuration for a single choice question. Can be set only for pre-vetted question fields. Minimum of 2 answers required and maximum of 12 allowed.

has_location_answer

bool

Answer configuration for location question. If true, campaign/account level location data (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, has_location_answer can only be set for "What is your preferred dealership?" question, for advertisers with Location Assets setup at campaign/account level.