Interface LeadFormFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LeadFormField,LeadFormField.Builder
public interface LeadFormFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAnswer configuration for location question.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?".intDescribes 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?".Answer configuration for a single choice question.Answer configuration for a single choice question.booleanAnswer configuration for location question.booleanAnswer configuration for a single choice question.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInputTypeValue
int getInputTypeValue()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?".
.google.ads.googleads.v18.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1;- Returns:
- The enum numeric value on the wire for inputType.
-
getInputType
LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType getInputType()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?".
.google.ads.googleads.v18.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1;- Returns:
- The inputType.
-
hasSingleChoiceAnswers
boolean hasSingleChoiceAnswers()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.
.google.ads.googleads.v18.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;- Returns:
- Whether the singleChoiceAnswers field is set.
-
getSingleChoiceAnswers
LeadFormSingleChoiceAnswers getSingleChoiceAnswers()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.
.google.ads.googleads.v18.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;- Returns:
- The singleChoiceAnswers.
-
getSingleChoiceAnswersOrBuilder
LeadFormSingleChoiceAnswersOrBuilder getSingleChoiceAnswersOrBuilder()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.
.google.ads.googleads.v18.common.LeadFormSingleChoiceAnswers single_choice_answers = 2; -
hasHasLocationAnswer
boolean hasHasLocationAnswer()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.
bool has_location_answer = 3;- Returns:
- Whether the hasLocationAnswer field is set.
-
getHasLocationAnswer
boolean getHasLocationAnswer()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.
bool has_location_answer = 3;- Returns:
- The hasLocationAnswer.
-
getAnswersCase
LeadFormField.AnswersCase getAnswersCase()
-