Interface CampaignFeedOrBuilder

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

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

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the campaign feed.
         Campaign feed resource names have the form:
        
         `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_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 campaign feed.
         Campaign feed resource names have the form:
        
         `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_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 the CampaignFeed belongs.
         
        optional string feed = 7 [(.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 the CampaignFeed belongs.
         
        optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The feed.
      • getFeedBytes

        com.google.protobuf.ByteString getFeedBytes()
         Immutable. The feed to which the CampaignFeed belongs.
         
        optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for feed.
      • hasCampaign

        boolean hasCampaign()
         Immutable. The campaign to which the CampaignFeed belongs.
         
        optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        Whether the campaign field is set.
      • getCampaign

        java.lang.String getCampaign()
         Immutable. The campaign to which the CampaignFeed belongs.
         
        optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The campaign.
      • getCampaignBytes

        com.google.protobuf.ByteString getCampaignBytes()
         Immutable. The campaign to which the CampaignFeed belongs.
         
        optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for campaign.
      • getPlaceholderTypesList

        java.util.List<PlaceholderTypeEnum.PlaceholderType> getPlaceholderTypesList()
         Indicates which placeholder types the feed may populate under the connected
         campaign. Required.
         
        repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
        Returns:
        A list containing the placeholderTypes.
      • getPlaceholderTypesCount

        int getPlaceholderTypesCount()
         Indicates which placeholder types the feed may populate under the connected
         campaign. Required.
         
        repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
        Returns:
        The count of placeholderTypes.
      • getPlaceholderTypes

        PlaceholderTypeEnum.PlaceholderType getPlaceholderTypes​(int index)
         Indicates which placeholder types the feed may populate under the connected
         campaign. Required.
         
        repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The placeholderTypes at the given index.
      • getPlaceholderTypesValueList

        java.util.List<java.lang.Integer> getPlaceholderTypesValueList()
         Indicates which placeholder types the feed may populate under the connected
         campaign. Required.
         
        repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
        Returns:
        A list containing the enum numeric values on the wire for placeholderTypes.
      • getPlaceholderTypesValue

        int getPlaceholderTypesValue​(int index)
         Indicates which placeholder types the feed may populate under the connected
         campaign. Required.
         
        repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of placeholderTypes at the given index.
      • hasMatchingFunction

        boolean hasMatchingFunction()
         Matching function associated with the CampaignFeed.
         The matching function is used to filter the set of feed items selected.
         Required.
         
        .google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
        Returns:
        Whether the matchingFunction field is set.
      • getMatchingFunction

        MatchingFunction getMatchingFunction()
         Matching function associated with the CampaignFeed.
         The matching function is used to filter the set of feed items selected.
         Required.
         
        .google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
        Returns:
        The matchingFunction.
      • getMatchingFunctionOrBuilder

        MatchingFunctionOrBuilder getMatchingFunctionOrBuilder()
         Matching function associated with the CampaignFeed.
         The matching function is used to filter the set of feed items selected.
         Required.
         
        .google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
      • getStatusValue

        int getStatusValue()
         Output only. Status of the campaign feed.
         This field is read-only.
         
        .google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        FeedLinkStatusEnum.FeedLinkStatus getStatus()
         Output only. Status of the campaign feed.
         This field is read-only.
         
        .google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The status.