Interface InsightsAudienceDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InsightsAudienceDefinition,InsightsAudienceDefinition.Builder
public interface InsightsAudienceDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.booleanOptional.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
-
hasAudience
boolean hasAudience()Required. The audience of interest for which insights are being requested.
.google.ads.googleads.v18.services.InsightsAudience audience = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the audience field is set.
-
getAudience
InsightsAudience getAudience()Required. The audience of interest for which insights are being requested.
.google.ads.googleads.v18.services.InsightsAudience audience = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The audience.
-
getAudienceOrBuilder
InsightsAudienceOrBuilder getAudienceOrBuilder()Required. The audience of interest for which insights are being requested.
.google.ads.googleads.v18.services.InsightsAudience audience = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasBaselineAudience
boolean hasBaselineAudience()Optional. The baseline audience. The default, if unspecified, is all people in the same country as the audience of interest.
.google.ads.googleads.v18.services.InsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the baselineAudience field is set.
-
getBaselineAudience
InsightsAudience getBaselineAudience()Optional. The baseline audience. The default, if unspecified, is all people in the same country as the audience of interest.
.google.ads.googleads.v18.services.InsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The baselineAudience.
-
getBaselineAudienceOrBuilder
InsightsAudienceOrBuilder getBaselineAudienceOrBuilder()Optional. The baseline audience. The default, if unspecified, is all people in the same country as the audience of interest.
.google.ads.googleads.v18.services.InsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getDataMonth
String getDataMonth()Optional. The one-month range of historical data to use for insights, in the format "yyyy-mm". If unset, insights will be returned for the last thirty days of data.
string data_month = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dataMonth.
-
getDataMonthBytes
com.google.protobuf.ByteString getDataMonthBytes()Optional. The one-month range of historical data to use for insights, in the format "yyyy-mm". If unset, insights will be returned for the last thirty days of data.
string data_month = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for dataMonth.
-