LeadFormCustomQuestionField

  • Describes a custom question input field within a form.

  • The custom_question_text field stores the exact text of the custom question.

  • The answers field defines the accepted answer configurations for the question, allowing for single-choice answers or location-based answers.

  • single_choice_answers requires a minimum of 2 and a maximum of 12 answer options.

  • has_location_answer is a boolean for location-based questions and has specific requirements regarding the question text and advertiser setup.

One custom question input field instance within a form.

Proto definition

Fields

answers

Union field. 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:

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.

single_choice_answers

LeadFormSingleChoiceAnswers

Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 allowed.

custom_question_text

string

The exact custom question field text (for example, "What kind of vehicle do you have?").