Interface ExtensionFeedItemOrBuilder

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

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

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the extension feed item.
         Extension feed item resource names have the form:
         `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the extension feed item.
         Extension feed item resource names have the form:
         `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasId

        boolean hasId()
         Output only. The ID of this feed item. Read-only.
         
        optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         Output only. The ID of this feed item. Read-only.
         
        optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.
      • getExtensionTypeValue

        int getExtensionTypeValue()
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for extensionType.
      • getExtensionType

        ExtensionTypeEnum.ExtensionType getExtensionType()
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The extensionType.
      • hasStartDateTime

        boolean hasStartDateTime()
         Start time in which this feed item is effective and can begin serving. The
         time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string start_date_time = 26;
        Returns:
        Whether the startDateTime field is set.
      • getStartDateTime

        java.lang.String getStartDateTime()
         Start time in which this feed item is effective and can begin serving. The
         time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string start_date_time = 26;
        Returns:
        The startDateTime.
      • getStartDateTimeBytes

        com.google.protobuf.ByteString getStartDateTimeBytes()
         Start time in which this feed item is effective and can begin serving. The
         time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string start_date_time = 26;
        Returns:
        The bytes for startDateTime.
      • hasEndDateTime

        boolean hasEndDateTime()
         End time in which this feed item is no longer effective and will stop
         serving. The time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string end_date_time = 27;
        Returns:
        Whether the endDateTime field is set.
      • getEndDateTime

        java.lang.String getEndDateTime()
         End time in which this feed item is no longer effective and will stop
         serving. The time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string end_date_time = 27;
        Returns:
        The endDateTime.
      • getEndDateTimeBytes

        com.google.protobuf.ByteString getEndDateTimeBytes()
         End time in which this feed item is no longer effective and will stop
         serving. The time is in the customer's time zone.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string end_date_time = 27;
        Returns:
        The bytes for endDateTime.
      • getAdSchedulesList

        java.util.List<AdScheduleInfo> getAdSchedulesList()
         List of non-overlapping schedules specifying all time intervals
         for which the feed item may serve. There can be a maximum of 6 schedules
         per day.
         
        repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedules

        AdScheduleInfo getAdSchedules​(int index)
         List of non-overlapping schedules specifying all time intervals
         for which the feed item may serve. There can be a maximum of 6 schedules
         per day.
         
        repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedulesCount

        int getAdSchedulesCount()
         List of non-overlapping schedules specifying all time intervals
         for which the feed item may serve. There can be a maximum of 6 schedules
         per day.
         
        repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedulesOrBuilderList

        java.util.List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
         List of non-overlapping schedules specifying all time intervals
         for which the feed item may serve. There can be a maximum of 6 schedules
         per day.
         
        repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedulesOrBuilder

        AdScheduleInfoOrBuilder getAdSchedulesOrBuilder​(int index)
         List of non-overlapping schedules specifying all time intervals
         for which the feed item may serve. There can be a maximum of 6 schedules
         per day.
         
        repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;
      • getDeviceValue

        int getDeviceValue()
         The targeted device.
         
        .google.ads.googleads.v10.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;
        Returns:
        The enum numeric value on the wire for device.
      • hasTargetedGeoTargetConstant

        boolean hasTargetedGeoTargetConstant()
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Returns:
        Whether the targetedGeoTargetConstant field is set.
      • getTargetedGeoTargetConstant

        java.lang.String getTargetedGeoTargetConstant()
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Returns:
        The targetedGeoTargetConstant.
      • getTargetedGeoTargetConstantBytes

        com.google.protobuf.ByteString getTargetedGeoTargetConstantBytes()
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for targetedGeoTargetConstant.
      • hasTargetedKeyword

        boolean hasTargetedKeyword()
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
        Returns:
        Whether the targetedKeyword field is set.
      • getTargetedKeyword

        KeywordInfo getTargetedKeyword()
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
        Returns:
        The targetedKeyword.
      • getTargetedKeywordOrBuilder

        KeywordInfoOrBuilder getTargetedKeywordOrBuilder()
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
      • getStatusValue

        int getStatusValue()
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        FeedItemStatusEnum.FeedItemStatus getStatus()
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The status.
      • hasSitelinkFeedItem

        boolean hasSitelinkFeedItem()
         Sitelink extension.
         
        .google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;
        Returns:
        Whether the sitelinkFeedItem field is set.
      • getSitelinkFeedItem

        SitelinkFeedItem getSitelinkFeedItem()
         Sitelink extension.
         
        .google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;
        Returns:
        The sitelinkFeedItem.
      • getSitelinkFeedItemOrBuilder

        SitelinkFeedItemOrBuilder getSitelinkFeedItemOrBuilder()
         Sitelink extension.
         
        .google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;
      • hasStructuredSnippetFeedItem

        boolean hasStructuredSnippetFeedItem()
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
        Returns:
        Whether the structuredSnippetFeedItem field is set.
      • getStructuredSnippetFeedItem

        StructuredSnippetFeedItem getStructuredSnippetFeedItem()
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
        Returns:
        The structuredSnippetFeedItem.
      • getStructuredSnippetFeedItemOrBuilder

        StructuredSnippetFeedItemOrBuilder getStructuredSnippetFeedItemOrBuilder()
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      • hasAppFeedItem

        boolean hasAppFeedItem()
         App extension.
         
        .google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;
        Returns:
        Whether the appFeedItem field is set.
      • getAppFeedItem

        AppFeedItem getAppFeedItem()
         App extension.
         
        .google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;
        Returns:
        The appFeedItem.
      • getAppFeedItemOrBuilder

        AppFeedItemOrBuilder getAppFeedItemOrBuilder()
         App extension.
         
        .google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;
      • hasCallFeedItem

        boolean hasCallFeedItem()
         Call extension.
         
        .google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;
        Returns:
        Whether the callFeedItem field is set.
      • getCallFeedItem

        CallFeedItem getCallFeedItem()
         Call extension.
         
        .google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;
        Returns:
        The callFeedItem.
      • getCallFeedItemOrBuilder

        CallFeedItemOrBuilder getCallFeedItemOrBuilder()
         Call extension.
         
        .google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;
      • hasCalloutFeedItem

        boolean hasCalloutFeedItem()
         Callout extension.
         
        .google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;
        Returns:
        Whether the calloutFeedItem field is set.
      • getCalloutFeedItem

        CalloutFeedItem getCalloutFeedItem()
         Callout extension.
         
        .google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;
        Returns:
        The calloutFeedItem.
      • getCalloutFeedItemOrBuilder

        CalloutFeedItemOrBuilder getCalloutFeedItemOrBuilder()
         Callout extension.
         
        .google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;
      • hasTextMessageFeedItem

        boolean hasTextMessageFeedItem()
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
        Returns:
        Whether the textMessageFeedItem field is set.
      • getTextMessageFeedItem

        TextMessageFeedItem getTextMessageFeedItem()
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
        Returns:
        The textMessageFeedItem.
      • getTextMessageFeedItemOrBuilder

        TextMessageFeedItemOrBuilder getTextMessageFeedItemOrBuilder()
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
      • hasPriceFeedItem

        boolean hasPriceFeedItem()
         Price extension.
         
        .google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;
        Returns:
        Whether the priceFeedItem field is set.
      • getPriceFeedItem

        PriceFeedItem getPriceFeedItem()
         Price extension.
         
        .google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;
        Returns:
        The priceFeedItem.
      • getPriceFeedItemOrBuilder

        PriceFeedItemOrBuilder getPriceFeedItemOrBuilder()
         Price extension.
         
        .google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;
      • hasPromotionFeedItem

        boolean hasPromotionFeedItem()
         Promotion extension.
         
        .google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;
        Returns:
        Whether the promotionFeedItem field is set.
      • getPromotionFeedItem

        PromotionFeedItem getPromotionFeedItem()
         Promotion extension.
         
        .google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;
        Returns:
        The promotionFeedItem.
      • getPromotionFeedItemOrBuilder

        PromotionFeedItemOrBuilder getPromotionFeedItemOrBuilder()
         Promotion extension.
         
        .google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;
      • hasLocationFeedItem

        boolean hasLocationFeedItem()
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the locationFeedItem field is set.
      • getLocationFeedItem

        LocationFeedItem getLocationFeedItem()
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The locationFeedItem.
      • getLocationFeedItemOrBuilder

        LocationFeedItemOrBuilder getLocationFeedItemOrBuilder()
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasAffiliateLocationFeedItem

        boolean hasAffiliateLocationFeedItem()
         Output only. Affiliate location extension. Feed locations are populated by Google Ads
         based on a chain ID.
         This field is read-only.
         
        .google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the affiliateLocationFeedItem field is set.
      • getAffiliateLocationFeedItem

        AffiliateLocationFeedItem getAffiliateLocationFeedItem()
         Output only. Affiliate location extension. Feed locations are populated by Google Ads
         based on a chain ID.
         This field is read-only.
         
        .google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The affiliateLocationFeedItem.
      • getAffiliateLocationFeedItemOrBuilder

        AffiliateLocationFeedItemOrBuilder getAffiliateLocationFeedItemOrBuilder()
         Output only. Affiliate location extension. Feed locations are populated by Google Ads
         based on a chain ID.
         This field is read-only.
         
        .google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasHotelCalloutFeedItem

        boolean hasHotelCalloutFeedItem()
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
        Returns:
        Whether the hotelCalloutFeedItem field is set.
      • getHotelCalloutFeedItem

        HotelCalloutFeedItem getHotelCalloutFeedItem()
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
        Returns:
        The hotelCalloutFeedItem.
      • getHotelCalloutFeedItemOrBuilder

        HotelCalloutFeedItemOrBuilder getHotelCalloutFeedItemOrBuilder()
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      • hasImageFeedItem

        boolean hasImageFeedItem()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        Whether the imageFeedItem field is set.
      • getImageFeedItem

        ImageFeedItem getImageFeedItem()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The imageFeedItem.
      • getImageFeedItemOrBuilder

        ImageFeedItemOrBuilder getImageFeedItemOrBuilder()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • hasTargetedCampaign

        boolean hasTargetedCampaign()
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Returns:
        Whether the targetedCampaign field is set.
      • getTargetedCampaign

        java.lang.String getTargetedCampaign()
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Returns:
        The targetedCampaign.
      • getTargetedCampaignBytes

        com.google.protobuf.ByteString getTargetedCampaignBytes()
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for targetedCampaign.
      • hasTargetedAdGroup

        boolean hasTargetedAdGroup()
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Returns:
        Whether the targetedAdGroup field is set.
      • getTargetedAdGroup

        java.lang.String getTargetedAdGroup()
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Returns:
        The targetedAdGroup.
      • getTargetedAdGroupBytes

        com.google.protobuf.ByteString getTargetedAdGroupBytes()
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for targetedAdGroup.