--- v23/errors/date_range_error.proto 2026-01-26 20:10:41.000000000 +0000 +++ v24/errors/date_range_error.proto 2026-05-07 23:27:00.000000000 +0000 @@ -1,55 +1,60 @@ // Copyright 2026 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.v23.errors; +package google.ads.googleads.v24.errors; -option csharp_namespace = "Google.Ads.GoogleAds.V23.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v23/errors;errors"; +option csharp_namespace = "Google.Ads.GoogleAds.V24.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v24/errors;errors"; option java_multiple_files = true; option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v23.errors"; +option java_package = "com.google.ads.googleads.v24.errors"; option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V23\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V23::Errors"; +option php_namespace = "Google\\Ads\\GoogleAds\\V24\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V24::Errors"; // Proto file describing date range errors. // Container for enum describing possible date range errors. message DateRangeErrorEnum { // Enum describing possible date range errors. enum DateRangeError { // Enum unspecified. UNSPECIFIED = 0; // The received error code is not known in this version. UNKNOWN = 1; // Invalid date. INVALID_DATE = 2; // The start date was after the end date. START_DATE_AFTER_END_DATE = 3; // Cannot set date to past time CANNOT_SET_DATE_TO_PAST = 4; // A date was used that is past the system "last" date. AFTER_MAXIMUM_ALLOWABLE_DATE = 5; // Trying to change start date on a resource that has started. CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; + + // The requested time granularity is not supported for the date range in the + // query. Metrics with daily, hourly, or weekly segmentation are only + // available for the last 37 months. + REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED = 7; } }
/errors/date_range_error.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-05-13。
[null,null,["最后更新时间 (UTC):2026-05-13。"],[],[]]