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 Detail

      • getBusinessName

        java.lang.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.v10.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for callToActionType.
      • getCallToActionType

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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.util.List<LeadFormField> getFieldsList()
         Ordered list of input fields.
         
        repeated .google.ads.googleads.v10.common.LeadFormField fields = 8;
      • getFields

        LeadFormField getFields​(int index)
         Ordered list of input fields.
         
        repeated .google.ads.googleads.v10.common.LeadFormField fields = 8;
      • getFieldsCount

        int getFieldsCount()
         Ordered list of input fields.
         
        repeated .google.ads.googleads.v10.common.LeadFormField fields = 8;
      • getFieldsOrBuilderList

        java.util.List<? extends LeadFormFieldOrBuilder> getFieldsOrBuilderList()
         Ordered list of input fields.
         
        repeated .google.ads.googleads.v10.common.LeadFormField fields = 8;
      • getFieldsOrBuilder

        LeadFormFieldOrBuilder getFieldsOrBuilder​(int index)
         Ordered list of input fields.
         
        repeated .google.ads.googleads.v10.common.LeadFormField fields = 8;
      • getDeliveryMethodsList

        java.util.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.v10.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.v10.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.v10.common.LeadFormDeliveryMethod delivery_methods = 9;
      • getDeliveryMethodsOrBuilderList

        java.util.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.v10.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.v10.common.LeadFormDeliveryMethod delivery_methods = 9;
      • getPostSubmitCallToActionTypeValue

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

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

        boolean hasBackgroundImageAsset()
         Asset resource name of the background image. The minimum size is 600x314
         and the aspect ratio must be 1.91:1 (+-1%).
         
        optional string background_image_asset = 20;
        Returns:
        Whether the backgroundImageAsset field is set.
      • getBackgroundImageAsset

        java.lang.String getBackgroundImageAsset()
         Asset resource name of the background image. The minimum size is 600x314
         and the aspect ratio must be 1.91:1 (+-1%).
         
        optional string background_image_asset = 20;
        Returns:
        The backgroundImageAsset.
      • getBackgroundImageAssetBytes

        com.google.protobuf.ByteString getBackgroundImageAssetBytes()
         Asset resource name of the background image. The minimum size is 600x314
         and the aspect ratio must be 1.91:1 (+-1%).
         
        optional string background_image_asset = 20;
        Returns:
        The bytes for backgroundImageAsset.
      • getDesiredIntentValue

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

        LeadFormDesiredIntentEnum.LeadFormDesiredIntent getDesiredIntent()
         Desired intent for the lead form, e.g. more volume or more qualified.
         
        .google.ads.googleads.v10.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

        java.lang.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.