Interface LeadFormCustomQuestionFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LeadFormCustomQuestionField,LeadFormCustomQuestionField.Builder
public interface LeadFormCustomQuestionFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe exact custom question field text (for example, "What kind of vehicle do you have?").com.google.protobuf.ByteStringThe exact custom question field text (for example, "What kind of vehicle do you have?").booleanAnswer configuration for location question.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
-
getCustomQuestionText
String getCustomQuestionText()The exact custom question field text (for example, "What kind of vehicle do you have?").
string custom_question_text = 1;- Returns:
- The customQuestionText.
-
getCustomQuestionTextBytes
com.google.protobuf.ByteString getCustomQuestionTextBytes()The exact custom question field text (for example, "What kind of vehicle do you have?").
string custom_question_text = 1;- Returns:
- The bytes for customQuestionText.
-
hasSingleChoiceAnswers
boolean hasSingleChoiceAnswers()Answer configuration for a single choice question. Minimum of 2 answers 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. Minimum of 2 answers 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. Minimum of 2 answers 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
LeadFormCustomQuestionField.AnswersCase getAnswersCase()
-