LeadFormCustomQuestionField

  • Describes a custom question input field within a form.

  • Details the available fields for configuration, including custom_question_text for the question itself and answers to define answer types.

  • Explains the answers field can be configured as single_choice_answers with multiple options or has_location_answer for location-based questions.

One custom question input field instance within a form.

Fields

custom_question_text

string

The exact custom question field text (for example, "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. Minimum of 2 answers 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.