Interface GmailAdInfoOrBuilder

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

    public interface GmailAdInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTeaser

        boolean hasTeaser()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
        Returns:
        Whether the teaser field is set.
      • getTeaser

        GmailTeaser getTeaser()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
        Returns:
        The teaser.
      • getTeaserOrBuilder

        GmailTeaserOrBuilder getTeaserOrBuilder()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
      • hasHeaderImage

        boolean hasHeaderImage()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Returns:
        Whether the headerImage field is set.
      • getHeaderImage

        java.lang.String getHeaderImage()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Returns:
        The headerImage.
      • getHeaderImageBytes

        com.google.protobuf.ByteString getHeaderImageBytes()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Returns:
        The bytes for headerImage.
      • hasMarketingImage

        boolean hasMarketingImage()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Returns:
        Whether the marketingImage field is set.
      • getMarketingImage

        java.lang.String getMarketingImage()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Returns:
        The marketingImage.
      • getMarketingImageBytes

        com.google.protobuf.ByteString getMarketingImageBytes()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Returns:
        The bytes for marketingImage.
      • hasMarketingImageHeadline

        boolean hasMarketingImageHeadline()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Returns:
        Whether the marketingImageHeadline field is set.
      • getMarketingImageHeadline

        java.lang.String getMarketingImageHeadline()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Returns:
        The marketingImageHeadline.
      • getMarketingImageHeadlineBytes

        com.google.protobuf.ByteString getMarketingImageHeadlineBytes()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Returns:
        The bytes for marketingImageHeadline.
      • hasMarketingImageDescription

        boolean hasMarketingImageDescription()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Returns:
        Whether the marketingImageDescription field is set.
      • getMarketingImageDescription

        java.lang.String getMarketingImageDescription()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Returns:
        The marketingImageDescription.
      • getMarketingImageDescriptionBytes

        com.google.protobuf.ByteString getMarketingImageDescriptionBytes()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Returns:
        The bytes for marketingImageDescription.
      • hasMarketingImageDisplayCallToAction

        boolean hasMarketingImageDisplayCallToAction()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
        Returns:
        Whether the marketingImageDisplayCallToAction field is set.
      • getMarketingImageDisplayCallToAction

        DisplayCallToAction getMarketingImageDisplayCallToAction()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
        Returns:
        The marketingImageDisplayCallToAction.
      • getMarketingImageDisplayCallToActionOrBuilder

        DisplayCallToActionOrBuilder getMarketingImageDisplayCallToActionOrBuilder()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • getProductImagesList

        java.util.List<ProductImage> getProductImagesList()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImages

        ProductImage getProductImages​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImagesCount

        int getProductImagesCount()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImagesOrBuilderList

        java.util.List<? extends ProductImageOrBuilder> getProductImagesOrBuilderList()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImagesOrBuilder

        ProductImageOrBuilder getProductImagesOrBuilder​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductVideosList

        java.util.List<ProductVideo> getProductVideosList()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideos

        ProductVideo getProductVideos​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosCount

        int getProductVideosCount()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosOrBuilderList

        java.util.List<? extends ProductVideoOrBuilder> getProductVideosOrBuilderList()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosOrBuilder

        ProductVideoOrBuilder getProductVideosOrBuilder​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;