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
Modifier and TypeMethodDescriptionImmutable.com.google.protobuf.ByteStringImmutable.getFeed()Immutable.com.google.protobuf.ByteStringImmutable.Matching function associated with the CampaignFeed.Matching function associated with the CampaignFeed.getPlaceholderTypes(int index) Indicates which placeholder types the feed may populate under the connected campaign.intIndicates which placeholder types the feed may populate under the connected campaign.Indicates which placeholder types the feed may populate under the connected campaign.intgetPlaceholderTypesValue(int index) Indicates which placeholder types the feed may populate under the connected campaign.Indicates which placeholder types the feed may populate under the connected campaign.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.booleanImmutable.booleanhasFeed()Immutable.booleanMatching function associated with the CampaignFeed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
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
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
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
List<PlaceholderTypeEnum.PlaceholderType> getPlaceholderTypesList()Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v18.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.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Returns:
- The count of placeholderTypes.
-
getPlaceholderTypes
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Parameters:
index- The index of the element to return.- Returns:
- The placeholderTypes at the given index.
-
getPlaceholderTypesValueList
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v18.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.v18.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.v18.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.v18.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.v18.common.MatchingFunction matching_function = 5; -
getStatusValue
int getStatusValue()Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v18.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.v18.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-