Interface BreakdownDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BreakdownDefinition,BreakdownDefinition.Builder
@Generated
public interface BreakdownDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe granularity for segmenting metrics by date.intThe granularity for segmenting metrics by date.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
-
getDateBreakdownValue
int getDateBreakdownValue()The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Returns:
- The enum numeric value on the wire for dateBreakdown.
-
getDateBreakdown
BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity getDateBreakdown()The granularity for segmenting metrics by date. When this field is set, a valid date_range in the GenerateBenchmarksMetricsRequest is required and must precisely align with the boundaries of the selected granularity. For example, a monthly breakdown must start on the first day of a month and end on the last day of a month. A quarterly breakdown must start on the first day of a quarter and end on the last day of a quarter. A weekly breakdown must start on a Sunday and end on a Saturday. This is different from the ISO 8601 standard, where weeks start on Monday.
.google.ads.googleads.v23.enums.BenchmarksTimeGranularityEnum.BenchmarksTimeGranularity date_breakdown = 1;- Returns:
- The dateBreakdown.
-