Interface LeadFormAssetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LeadFormAsset, LeadFormAsset.Builder

public interface LeadFormAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getBusinessName

      String getBusinessName()
       Required. The name of the business being advertised.
       
      string business_name = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The businessName.
    • getBusinessNameBytes

      com.google.protobuf.ByteString getBusinessNameBytes()
       Required. The name of the business being advertised.
       
      string business_name = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for businessName.
    • getCallToActionTypeValue

      int getCallToActionTypeValue()
       Required. Pre-defined display text that encourages user to expand the form.
       
      .google.ads.googleads.v18.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for callToActionType.
    • getCallToActionType

       Required. Pre-defined display text that encourages user to expand the form.
       
      .google.ads.googleads.v18.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The callToActionType.
    • getCallToActionDescription

      String getCallToActionDescription()
       Required. Text giving a clear value proposition of what users expect once
       they expand the form.
       
      string call_to_action_description = 18 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The callToActionDescription.
    • getCallToActionDescriptionBytes

      com.google.protobuf.ByteString getCallToActionDescriptionBytes()
       Required. Text giving a clear value proposition of what users expect once
       they expand the form.
       
      string call_to_action_description = 18 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for callToActionDescription.
    • getHeadline

      String getHeadline()
       Required. Headline of the expanded form to describe what the form is asking
       for or facilitating.
       
      string headline = 12 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The headline.
    • getHeadlineBytes

      com.google.protobuf.ByteString getHeadlineBytes()
       Required. Headline of the expanded form to describe what the form is asking
       for or facilitating.
       
      string headline = 12 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for headline.
    • getDescription

      String getDescription()
       Required. Detailed description of the expanded form to describe what the
       form is asking for or facilitating.
       
      string description = 13 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Required. Detailed description of the expanded form to describe what the
       form is asking for or facilitating.
       
      string description = 13 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for description.
    • getPrivacyPolicyUrl

      String getPrivacyPolicyUrl()
       Required. Link to a page describing the policy on how the collected data is
       handled by the advertiser/business.
       
      string privacy_policy_url = 14 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The privacyPolicyUrl.
    • getPrivacyPolicyUrlBytes

      com.google.protobuf.ByteString getPrivacyPolicyUrlBytes()
       Required. Link to a page describing the policy on how the collected data is
       handled by the advertiser/business.
       
      string privacy_policy_url = 14 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for privacyPolicyUrl.
    • hasPostSubmitHeadline

      boolean hasPostSubmitHeadline()
       Headline of text shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_headline = 15;
      Returns:
      Whether the postSubmitHeadline field is set.
    • getPostSubmitHeadline

      String getPostSubmitHeadline()
       Headline of text shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_headline = 15;
      Returns:
      The postSubmitHeadline.
    • getPostSubmitHeadlineBytes

      com.google.protobuf.ByteString getPostSubmitHeadlineBytes()
       Headline of text shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_headline = 15;
      Returns:
      The bytes for postSubmitHeadline.
    • hasPostSubmitDescription

      boolean hasPostSubmitDescription()
       Detailed description shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_description = 16;
      Returns:
      Whether the postSubmitDescription field is set.
    • getPostSubmitDescription

      String getPostSubmitDescription()
       Detailed description shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_description = 16;
      Returns:
      The postSubmitDescription.
    • getPostSubmitDescriptionBytes

      com.google.protobuf.ByteString getPostSubmitDescriptionBytes()
       Detailed description shown after form submission that describes how the
       advertiser will follow up with the user.
       
      optional string post_submit_description = 16;
      Returns:
      The bytes for postSubmitDescription.
    • getFieldsList

      List<LeadFormField> getFieldsList()
       Ordered list of input fields. This field can be updated by reordering
       questions, but not by adding or removing questions.
       
      repeated .google.ads.googleads.v18.common.LeadFormField fields = 8;
    • getFields

      LeadFormField getFields(int index)
       Ordered list of input fields. This field can be updated by reordering
       questions, but not by adding or removing questions.
       
      repeated .google.ads.googleads.v18.common.LeadFormField fields = 8;
    • getFieldsCount

      int getFieldsCount()
       Ordered list of input fields. This field can be updated by reordering
       questions, but not by adding or removing questions.
       
      repeated .google.ads.googleads.v18.common.LeadFormField fields = 8;
    • getFieldsOrBuilderList

      List<? extends LeadFormFieldOrBuilder> getFieldsOrBuilderList()
       Ordered list of input fields. This field can be updated by reordering
       questions, but not by adding or removing questions.
       
      repeated .google.ads.googleads.v18.common.LeadFormField fields = 8;
    • getFieldsOrBuilder

      LeadFormFieldOrBuilder getFieldsOrBuilder(int index)
       Ordered list of input fields. This field can be updated by reordering
       questions, but not by adding or removing questions.
       
      repeated .google.ads.googleads.v18.common.LeadFormField fields = 8;
    • getCustomQuestionFieldsList

      List<LeadFormCustomQuestionField> getCustomQuestionFieldsList()
       Ordered list of custom question fields. This field is subject to a limit of
       5 qualifying questions per form.
       
      repeated .google.ads.googleads.v18.common.LeadFormCustomQuestionField custom_question_fields = 23;
    • getCustomQuestionFields

      LeadFormCustomQuestionField getCustomQuestionFields(int index)
       Ordered list of custom question fields. This field is subject to a limit of
       5 qualifying questions per form.
       
      repeated .google.ads.googleads.v18.common.LeadFormCustomQuestionField custom_question_fields = 23;
    • getCustomQuestionFieldsCount

      int getCustomQuestionFieldsCount()
       Ordered list of custom question fields. This field is subject to a limit of
       5 qualifying questions per form.
       
      repeated .google.ads.googleads.v18.common.LeadFormCustomQuestionField custom_question_fields = 23;
    • getCustomQuestionFieldsOrBuilderList

      List<? extends LeadFormCustomQuestionFieldOrBuilder> getCustomQuestionFieldsOrBuilderList()
       Ordered list of custom question fields. This field is subject to a limit of
       5 qualifying questions per form.
       
      repeated .google.ads.googleads.v18.common.LeadFormCustomQuestionField custom_question_fields = 23;
    • getCustomQuestionFieldsOrBuilder

      LeadFormCustomQuestionFieldOrBuilder getCustomQuestionFieldsOrBuilder(int index)
       Ordered list of custom question fields. This field is subject to a limit of
       5 qualifying questions per form.
       
      repeated .google.ads.googleads.v18.common.LeadFormCustomQuestionField custom_question_fields = 23;
    • getDeliveryMethodsList

      List<LeadFormDeliveryMethod> getDeliveryMethodsList()
       Configured methods for collected lead data to be delivered to advertiser.
       Only one method typed as WebhookDelivery can be configured.
       
      repeated .google.ads.googleads.v18.common.LeadFormDeliveryMethod delivery_methods = 9;
    • getDeliveryMethods

      LeadFormDeliveryMethod getDeliveryMethods(int index)
       Configured methods for collected lead data to be delivered to advertiser.
       Only one method typed as WebhookDelivery can be configured.
       
      repeated .google.ads.googleads.v18.common.LeadFormDeliveryMethod delivery_methods = 9;
    • getDeliveryMethodsCount

      int getDeliveryMethodsCount()
       Configured methods for collected lead data to be delivered to advertiser.
       Only one method typed as WebhookDelivery can be configured.
       
      repeated .google.ads.googleads.v18.common.LeadFormDeliveryMethod delivery_methods = 9;
    • getDeliveryMethodsOrBuilderList

      List<? extends LeadFormDeliveryMethodOrBuilder> getDeliveryMethodsOrBuilderList()
       Configured methods for collected lead data to be delivered to advertiser.
       Only one method typed as WebhookDelivery can be configured.
       
      repeated .google.ads.googleads.v18.common.LeadFormDeliveryMethod delivery_methods = 9;
    • getDeliveryMethodsOrBuilder

      LeadFormDeliveryMethodOrBuilder getDeliveryMethodsOrBuilder(int index)
       Configured methods for collected lead data to be delivered to advertiser.
       Only one method typed as WebhookDelivery can be configured.
       
      repeated .google.ads.googleads.v18.common.LeadFormDeliveryMethod delivery_methods = 9;
    • getPostSubmitCallToActionTypeValue

      int getPostSubmitCallToActionTypeValue()
       Pre-defined display text that encourages user action after the form is
       submitted.
       
      .google.ads.googleads.v18.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19;
      Returns:
      The enum numeric value on the wire for postSubmitCallToActionType.
    • getPostSubmitCallToActionType

       Pre-defined display text that encourages user action after the form is
       submitted.
       
      .google.ads.googleads.v18.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19;
      Returns:
      The postSubmitCallToActionType.
    • hasBackgroundImageAsset

      boolean hasBackgroundImageAsset()
       Asset resource name of the background image.
       The image dimensions must be exactly 1200x628.
       
      optional string background_image_asset = 20;
      Returns:
      Whether the backgroundImageAsset field is set.
    • getBackgroundImageAsset

      String getBackgroundImageAsset()
       Asset resource name of the background image.
       The image dimensions must be exactly 1200x628.
       
      optional string background_image_asset = 20;
      Returns:
      The backgroundImageAsset.
    • getBackgroundImageAssetBytes

      com.google.protobuf.ByteString getBackgroundImageAssetBytes()
       Asset resource name of the background image.
       The image dimensions must be exactly 1200x628.
       
      optional string background_image_asset = 20;
      Returns:
      The bytes for backgroundImageAsset.
    • getDesiredIntentValue

      int getDesiredIntentValue()
       Chosen intent for the lead form, for example, more volume or more
       qualified.
       
      .google.ads.googleads.v18.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21;
      Returns:
      The enum numeric value on the wire for desiredIntent.
    • getDesiredIntent

       Chosen intent for the lead form, for example, more volume or more
       qualified.
       
      .google.ads.googleads.v18.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21;
      Returns:
      The desiredIntent.
    • hasCustomDisclosure

      boolean hasCustomDisclosure()
       Custom disclosure shown along with Google disclaimer on the lead form.
       Accessible to allowed customers only.
       
      optional string custom_disclosure = 22;
      Returns:
      Whether the customDisclosure field is set.
    • getCustomDisclosure

      String getCustomDisclosure()
       Custom disclosure shown along with Google disclaimer on the lead form.
       Accessible to allowed customers only.
       
      optional string custom_disclosure = 22;
      Returns:
      The customDisclosure.
    • getCustomDisclosureBytes

      com.google.protobuf.ByteString getCustomDisclosureBytes()
       Custom disclosure shown along with Google disclaimer on the lead form.
       Accessible to allowed customers only.
       
      optional string custom_disclosure = 22;
      Returns:
      The bytes for customDisclosure.