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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCampaign()
Immutable.com.google.protobuf.ByteString
getCampaignBytes()
Immutable.java.lang.String
getFeed()
Immutable.com.google.protobuf.ByteString
getFeedBytes()
Immutable.MatchingFunction
getMatchingFunction()
Matching function associated with the CampaignFeed.MatchingFunctionOrBuilder
getMatchingFunctionOrBuilder()
Matching function associated with the CampaignFeed.PlaceholderTypeEnum.PlaceholderType
getPlaceholderTypes(int index)
Indicates which placeholder types the feed may populate under the connected campaign.int
getPlaceholderTypesCount()
Indicates which placeholder types the feed may populate under the connected campaign.java.util.List<PlaceholderTypeEnum.PlaceholderType>
getPlaceholderTypesList()
Indicates which placeholder types the feed may populate under the connected campaign.int
getPlaceholderTypesValue(int index)
Indicates which placeholder types the feed may populate under the connected campaign.java.util.List<java.lang.Integer>
getPlaceholderTypesValueList()
Indicates which placeholder types the feed may populate under the connected campaign.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.FeedLinkStatusEnum.FeedLinkStatus
getStatus()
Output only.int
getStatusValue()
Output only.boolean
hasCampaign()
Immutable.boolean
hasFeed()
Immutable.boolean
hasMatchingFunction()
Matching function associated with the CampaignFeed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.v9.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.v9.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.v9.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.v9.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.v9.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.v9.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.v9.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.v9.common.MatchingFunction matching_function = 5;
-
getStatusValue
int getStatusValue()
Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v9.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.v9.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The status.
-
-