Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / common / segments.proto
diff --git a/legacy-libs/google-proto-files/google/ads/googleads/v0/common/segments.proto b/legacy-libs/google-proto-files/google/ads/googleads/v0/common/segments.proto
new file mode 100644 (file)
index 0000000..ef8b92e
--- /dev/null
@@ -0,0 +1,129 @@
+// Copyright 2018 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.v0.common;
+
+import "google/ads/googleads/v0/enums/ad_network_type.proto";
+import "google/ads/googleads/v0/enums/conversion_attribution_event_type.proto";
+import "google/ads/googleads/v0/enums/day_of_week.proto";
+import "google/ads/googleads/v0/enums/device.proto";
+import "google/ads/googleads/v0/enums/hotel_date_selection_type.proto";
+import "google/ads/googleads/v0/enums/month_of_year.proto";
+import "google/ads/googleads/v0/enums/placeholder_type.proto";
+import "google/ads/googleads/v0/enums/search_term_match_type.proto";
+import "google/ads/googleads/v0/enums/slot.proto";
+import "google/protobuf/wrappers.proto";
+
+option csharp_namespace = "Google.Ads.GoogleAds.V0.Common";
+option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/common;common";
+option java_multiple_files = true;
+option java_outer_classname = "SegmentsProto";
+option java_package = "com.google.ads.googleads.v0.common";
+option objc_class_prefix = "GAA";
+option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Common";
+option ruby_package = "Google::Ads::GoogleAds::V0::Common";
+
+// Proto file describing segment only fields.
+
+// Segment only fields.
+message Segments {
+  // Ad network type.
+  google.ads.googleads.v0.enums.AdNetworkTypeEnum.AdNetworkType
+      ad_network_type = 3;
+
+  // Conversion attribution event type.
+  google.ads.googleads.v0.enums.ConversionAttributionEventTypeEnum
+      .ConversionAttributionEventType conversion_attribution_event_type = 2;
+
+  // Date to which metrics apply.
+  // yyyy-MM-dd format, e.g., 2018-04-17.
+  google.protobuf.StringValue date = 4;
+
+  // Day of the week, e.g., MONDAY.
+  google.ads.googleads.v0.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
+
+  // Device to which metrics apply.
+  google.ads.googleads.v0.enums.DeviceEnum.Device device = 1;
+
+  // Hotel booking window in days.
+  google.protobuf.Int64Value hotel_booking_window_days = 6;
+
+  // Hotel center ID.
+  google.protobuf.Int64Value hotel_center_id = 7;
+
+  // Hotel check-in date. Formatted as yyyy-MM-dd.
+  google.protobuf.StringValue hotel_check_in_date = 8;
+
+  // Hotel check-in day of week.
+  google.ads.googleads.v0.enums.DayOfWeekEnum.DayOfWeek
+      hotel_check_in_day_of_week = 9;
+
+  // Hotel city.
+  google.protobuf.StringValue hotel_city = 10;
+
+  // Hotel class.
+  google.protobuf.Int32Value hotel_class = 11;
+
+  // Hotel country.
+  google.protobuf.StringValue hotel_country = 12;
+
+  // Hotel date selection type.
+  google.ads.googleads.v0.enums.HotelDateSelectionTypeEnum
+      .HotelDateSelectionType hotel_date_selection_type = 13;
+
+  // Hotel length of stay.
+  google.protobuf.Int32Value hotel_length_of_stay = 14;
+
+  // Hotel state.
+  google.protobuf.StringValue hotel_state = 15;
+
+  // Hour of day as a number between 0 and 23, inclusive.
+  google.protobuf.Int32Value hour = 16;
+
+  // Month as represented by the date of the first day of a month. Formatted as
+  // yyyy-MM-dd.
+  google.protobuf.StringValue month = 17;
+
+  // Month of the year, e.g., January.
+  google.ads.googleads.v0.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
+
+  // Partner hotel ID.
+  google.protobuf.StringValue partner_hotel_id = 19;
+
+  // Placeholder type. This is only used with feed item metrics.
+  google.ads.googleads.v0.enums.PlaceholderTypeEnum.PlaceholderType
+      placeholder_type = 20;
+
+  // Quarter as represented by the date of the first day of a quarter.
+  // Uses the calendar year for quarters, e.g., the second quarter of 2018
+  // starts on 2018-04-01. Formatted as yyyy-MM-dd.
+  google.protobuf.StringValue quarter = 21;
+
+  // Match type of the keyword that triggered the ad, including variants.
+  google.ads.googleads.v0.enums.SearchTermMatchTypeEnum.SearchTermMatchType
+      search_term_match_type = 22;
+
+  // Position of the ad.
+  google.ads.googleads.v0.enums.SlotEnum.Slot slot = 23;
+
+  // Week as defined as Monday through Sunday, and represented by the date of
+  // Monday. Formatted as yyyy-MM-dd.
+  google.protobuf.StringValue week = 24;
+
+  // Year, formatted as yyyy.
+  google.protobuf.Int32Value year = 25;
+}