aboutsummaryrefslogtreecommitdiff
path: root/google/ads/googleads/v1/resources/extension_feed_item.proto
diff options
context:
space:
mode:
Diffstat (limited to 'google/ads/googleads/v1/resources/extension_feed_item.proto')
-rw-r--r--google/ads/googleads/v1/resources/extension_feed_item.proto90
1 files changed, 90 insertions, 0 deletions
diff --git a/google/ads/googleads/v1/resources/extension_feed_item.proto b/google/ads/googleads/v1/resources/extension_feed_item.proto
new file mode 100644
index 000000000..18d1504c9
--- /dev/null
+++ b/google/ads/googleads/v1/resources/extension_feed_item.proto
@@ -0,0 +1,90 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.ads.googleads.v1.resources;
+
+import "google/ads/googleads/v1/common/extensions.proto";
+import "google/ads/googleads/v1/enums/extension_type.proto";
+import "google/ads/googleads/v1/enums/feed_item_status.proto";
+import "google/protobuf/wrappers.proto";
+import "google/api/annotations.proto";
+
+option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
+option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
+option java_multiple_files = true;
+option java_outer_classname = "ExtensionFeedItemProto";
+option java_package = "com.google.ads.googleads.v1.resources";
+option objc_class_prefix = "GAA";
+option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
+option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
+
+// Proto file describing the ExtensionFeedItem resource.
+
+// An extension feed item.
+message ExtensionFeedItem {
+ // 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;
+
+ // The extension type of the extension feed item.
+ // This field is read-only.
+ google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType extension_type = 13;
+
+ // Start time in which this feed item is effective and can begin serving.
+ // The format is "YYYY-MM-DD HH:MM:SS".
+ // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
+ google.protobuf.StringValue start_date_time = 5;
+
+ // End time in which this feed item is no longer effective and will stop
+ // serving.
+ // The format is "YYYY-MM-DD HH:MM:SS".
+ // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
+ google.protobuf.StringValue end_date_time = 6;
+
+ // Status of the feed item.
+ // This field is read-only.
+ google.ads.googleads.v1.enums.FeedItemStatusEnum.FeedItemStatus status = 4;
+
+ // Extension type.
+ oneof extension {
+ // Sitelink extension.
+ google.ads.googleads.v1.common.SitelinkFeedItem sitelink_feed_item = 2;
+
+ // Structured snippet extension.
+ google.ads.googleads.v1.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
+
+ // App extension.
+ google.ads.googleads.v1.common.AppFeedItem app_feed_item = 7;
+
+ // Call extension.
+ google.ads.googleads.v1.common.CallFeedItem call_feed_item = 8;
+
+ // Callout extension.
+ google.ads.googleads.v1.common.CalloutFeedItem callout_feed_item = 9;
+
+ // Text message extension.
+ google.ads.googleads.v1.common.TextMessageFeedItem text_message_feed_item = 10;
+
+ // Price extension.
+ google.ads.googleads.v1.common.PriceFeedItem price_feed_item = 11;
+
+ // Promotion extension.
+ google.ads.googleads.v1.common.PromotionFeedItem promotion_feed_item = 12;
+ }
+}