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 Summary
Modifier and TypeMethodDescriptiongetAdSchedules(int index) List of non-overlapping schedules specifying all time intervals for which the feed item may serve.intList of non-overlapping schedules specifying all time intervals for which the feed item may serve.List of non-overlapping schedules specifying all time intervals for which the feed item may serve.getAdSchedulesOrBuilder(int index) List of non-overlapping schedules specifying all time intervals for which the feed item may serve.List<? extends AdScheduleInfoOrBuilder>List of non-overlapping schedules specifying all time intervals for which the feed item may serve.Output only.Output only.App extension.App extension.Call extension.Call extension.Callout extension.Callout extension.The targeted device.intThe targeted device.End time in which this feed item is no longer effective and will stop serving.com.google.protobuf.ByteStringEnd time in which this feed item is no longer effective and will stop serving.Output only.intOutput only.Hotel Callout extension.Hotel Callout extension.longgetId()Output only.Immutable.Immutable.Output only.Output only.Price extension.Price extension.Promotion extension.Promotion extension.Immutable.com.google.protobuf.ByteStringImmutable.Sitelink.Sitelink.Start time in which this feed item is effective and can begin serving.com.google.protobuf.ByteStringStart time in which this feed item is effective and can begin serving.Output only.intOutput only.Structured snippet extension.Structured snippet extension.The targeted ad group.com.google.protobuf.ByteStringThe targeted ad group.The targeted campaign.com.google.protobuf.ByteStringThe targeted campaign.The targeted geo target constant.com.google.protobuf.ByteStringThe targeted geo target constant.The targeted keyword.The targeted keyword.Text message extension.Text message extension.booleanOutput only.booleanApp extension.booleanCall extension.booleanCallout extension.booleanEnd time in which this feed item is no longer effective and will stop serving.booleanHotel Callout extension.booleanhasId()Output only.booleanImmutable.booleanOutput only.booleanPrice extension.booleanPromotion extension.booleanSitelink.booleanStart time in which this feed item is effective and can begin serving.booleanStructured snippet extension.booleanThe targeted ad group.booleanThe targeted campaign.booleanThe targeted geo target constant.booleanThe targeted keyword.booleanText message extension.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 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.v18.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.v18.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
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
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
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.v18.common.AdScheduleInfo ad_schedules = 16; -
getAdSchedules
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.v18.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.v18.common.AdScheduleInfo ad_schedules = 16; -
getAdSchedulesOrBuilderList
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.v18.common.AdScheduleInfo ad_schedules = 16; -
getAdSchedulesOrBuilder
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.v18.common.AdScheduleInfo ad_schedules = 16; -
getDeviceValue
int getDeviceValue()The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;- Returns:
- The enum numeric value on the wire for device.
-
getDevice
FeedItemTargetDeviceEnum.FeedItemTargetDevice getDevice()The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;- Returns:
- The 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
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.v18.common.KeywordInfo targeted_keyword = 22;- Returns:
- Whether the targetedKeyword field is set.
-
getTargetedKeyword
KeywordInfo getTargetedKeyword()The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22;- Returns:
- The targetedKeyword.
-
getTargetedKeywordOrBuilder
KeywordInfoOrBuilder getTargetedKeywordOrBuilder()The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22; -
getStatusValue
int getStatusValue()Output only. Status of the feed item. This field is read-only.
.google.ads.googleads.v18.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.v18.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasSitelinkFeedItem
boolean hasSitelinkFeedItem()Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;- Returns:
- Whether the sitelinkFeedItem field is set.
-
getSitelinkFeedItem
SitelinkFeedItem getSitelinkFeedItem()Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;- Returns:
- The sitelinkFeedItem.
-
getSitelinkFeedItemOrBuilder
SitelinkFeedItemOrBuilder getSitelinkFeedItemOrBuilder()Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2; -
hasStructuredSnippetFeedItem
boolean hasStructuredSnippetFeedItem()Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Returns:
- Whether the structuredSnippetFeedItem field is set.
-
getStructuredSnippetFeedItem
StructuredSnippetFeedItem getStructuredSnippetFeedItem()Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Returns:
- The structuredSnippetFeedItem.
-
getStructuredSnippetFeedItemOrBuilder
StructuredSnippetFeedItemOrBuilder getStructuredSnippetFeedItemOrBuilder()Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; -
hasAppFeedItem
boolean hasAppFeedItem()App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;- Returns:
- Whether the appFeedItem field is set.
-
getAppFeedItem
AppFeedItem getAppFeedItem()App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;- Returns:
- The appFeedItem.
-
getAppFeedItemOrBuilder
AppFeedItemOrBuilder getAppFeedItemOrBuilder()App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7; -
hasCallFeedItem
boolean hasCallFeedItem()Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;- Returns:
- Whether the callFeedItem field is set.
-
getCallFeedItem
CallFeedItem getCallFeedItem()Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;- Returns:
- The callFeedItem.
-
getCallFeedItemOrBuilder
CallFeedItemOrBuilder getCallFeedItemOrBuilder()Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8; -
hasCalloutFeedItem
boolean hasCalloutFeedItem()Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;- Returns:
- Whether the calloutFeedItem field is set.
-
getCalloutFeedItem
CalloutFeedItem getCalloutFeedItem()Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;- Returns:
- The calloutFeedItem.
-
getCalloutFeedItemOrBuilder
CalloutFeedItemOrBuilder getCalloutFeedItemOrBuilder()Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9; -
hasTextMessageFeedItem
boolean hasTextMessageFeedItem()Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;- Returns:
- Whether the textMessageFeedItem field is set.
-
getTextMessageFeedItem
TextMessageFeedItem getTextMessageFeedItem()Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;- Returns:
- The textMessageFeedItem.
-
getTextMessageFeedItemOrBuilder
TextMessageFeedItemOrBuilder getTextMessageFeedItemOrBuilder()Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10; -
hasPriceFeedItem
boolean hasPriceFeedItem()Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;- Returns:
- Whether the priceFeedItem field is set.
-
getPriceFeedItem
PriceFeedItem getPriceFeedItem()Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;- Returns:
- The priceFeedItem.
-
getPriceFeedItemOrBuilder
PriceFeedItemOrBuilder getPriceFeedItemOrBuilder()Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11; -
hasPromotionFeedItem
boolean hasPromotionFeedItem()Promotion extension.
.google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;- Returns:
- Whether the promotionFeedItem field is set.
-
getPromotionFeedItem
PromotionFeedItem getPromotionFeedItem()Promotion extension.
.google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;- Returns:
- The promotionFeedItem.
-
getPromotionFeedItemOrBuilder
PromotionFeedItemOrBuilder getPromotionFeedItemOrBuilder()Promotion extension.
.google.ads.googleads.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasHotelCalloutFeedItem
boolean hasHotelCalloutFeedItem()Hotel Callout extension.
.google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Returns:
- Whether the hotelCalloutFeedItem field is set.
-
getHotelCalloutFeedItem
HotelCalloutFeedItem getHotelCalloutFeedItem()Hotel Callout extension.
.google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Returns:
- The hotelCalloutFeedItem.
-
getHotelCalloutFeedItemOrBuilder
HotelCalloutFeedItemOrBuilder getHotelCalloutFeedItemOrBuilder()Hotel Callout extension.
.google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; -
hasImageFeedItem
boolean hasImageFeedItem()Immutable. Advertiser provided image extension.
.google.ads.googleads.v18.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.v18.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.v18.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
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
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.
-
getExtensionCase
ExtensionFeedItem.ExtensionCase getExtensionCase() -
getServingResourceTargetingCase
ExtensionFeedItem.ServingResourceTargetingCase getServingResourceTargetingCase()
-