Interface FeedItemOrBuilder

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

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

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the feed item.
         Feed item resource names have the form:
        
         `customers/{customer_id}/feedItems/{feed_id}~{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 feed item.
         Feed item resource names have the form:
        
         `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasFeed

        boolean hasFeed()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        Whether the feed field is set.
      • getFeed

        java.lang.String getFeed()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The feed.
      • getFeedBytes

        com.google.protobuf.ByteString getFeedBytes()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for feed.
      • hasId

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

        long getId()
         Output only. The ID of this feed item.
         
        optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.
      • 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 = 13;
        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 = 13;
        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 = 13;
        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 = 14;
        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 = 14;
        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 = 14;
        Returns:
        The bytes for endDateTime.
      • getAttributeValuesList

        java.util.List<FeedItemAttributeValue> getAttributeValuesList()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v14.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValues

        FeedItemAttributeValue getAttributeValues​(int index)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v14.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValuesCount

        int getAttributeValuesCount()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v14.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValuesOrBuilderList

        java.util.List<? extends FeedItemAttributeValueOrBuilder> getAttributeValuesOrBuilderList()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v14.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValuesOrBuilder

        FeedItemAttributeValueOrBuilder getAttributeValuesOrBuilder​(int index)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v14.resources.FeedItemAttributeValue attribute_values = 6;
      • getGeoTargetingRestrictionValue

        int getGeoTargetingRestrictionValue()
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v14.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Returns:
        The enum numeric value on the wire for geoTargetingRestriction.
      • getGeoTargetingRestriction

        GeoTargetingRestrictionEnum.GeoTargetingRestriction getGeoTargetingRestriction()
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v14.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Returns:
        The geoTargetingRestriction.
      • getUrlCustomParametersList

        java.util.List<CustomParameter> getUrlCustomParametersList()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParameters

        CustomParameter getUrlCustomParameters​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersCount

        int getUrlCustomParametersCount()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersOrBuilderList

        java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersOrBuilder

        CustomParameterOrBuilder getUrlCustomParametersOrBuilder​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 8;
      • getStatusValue

        int getStatusValue()
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v14.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(.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.v14.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The status.
      • getPolicyInfosList

        java.util.List<FeedItemPlaceholderPolicyInfo> getPolicyInfosList()
         Output only. List of info about a feed item's validation and approval state
         for active feed mappings. There will be an entry in the list for each type
         of feed mapping associated with the feed, for example, a feed with a
         sitelink and a call feed mapping would cause every feed item associated
         with that feed to have an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v14.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfos

        FeedItemPlaceholderPolicyInfo getPolicyInfos​(int index)
         Output only. List of info about a feed item's validation and approval state
         for active feed mappings. There will be an entry in the list for each type
         of feed mapping associated with the feed, for example, a feed with a
         sitelink and a call feed mapping would cause every feed item associated
         with that feed to have an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v14.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosCount

        int getPolicyInfosCount()
         Output only. List of info about a feed item's validation and approval state
         for active feed mappings. There will be an entry in the list for each type
         of feed mapping associated with the feed, for example, a feed with a
         sitelink and a call feed mapping would cause every feed item associated
         with that feed to have an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v14.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosOrBuilderList

        java.util.List<? extends FeedItemPlaceholderPolicyInfoOrBuilder> getPolicyInfosOrBuilderList()
         Output only. List of info about a feed item's validation and approval state
         for active feed mappings. There will be an entry in the list for each type
         of feed mapping associated with the feed, for example, a feed with a
         sitelink and a call feed mapping would cause every feed item associated
         with that feed to have an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v14.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosOrBuilder

        FeedItemPlaceholderPolicyInfoOrBuilder getPolicyInfosOrBuilder​(int index)
         Output only. List of info about a feed item's validation and approval state
         for active feed mappings. There will be an entry in the list for each type
         of feed mapping associated with the feed, for example, a feed with a
         sitelink and a call feed mapping would cause every feed item associated
         with that feed to have an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v14.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];