Interface GenerateKeywordForecastMetricsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateKeywordForecastMetricsRequest,GenerateKeywordForecastMetricsRequest.Builder
public interface GenerateKeywordForecastMetricsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.The currency used for exchange rate conversion.com.google.protobuf.ByteStringThe currency used for exchange rate conversion.The ID of the customer.com.google.protobuf.ByteStringThe ID of the customer.The date range for the forecast.The date range for the forecast.booleanRequired.booleanThe currency used for exchange rate conversion.booleanThe date range for the forecast.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
-
getCustomerId
String getCustomerId()The ID of the customer.
string customer_id = 1;- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()The ID of the customer.
string customer_id = 1;- Returns:
- The bytes for customerId.
-
hasCurrencyCode
boolean hasCurrencyCode()The currency used for exchange rate conversion. By default, the account currency of the customer is used. Set this field only if the currency is different from the account currency. The list of valid currency codes can be found at https://developers.google.com/google-ads/api/data/codes-formats#currency-codes.
optional string currency_code = 2;- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
String getCurrencyCode()The currency used for exchange rate conversion. By default, the account currency of the customer is used. Set this field only if the currency is different from the account currency. The list of valid currency codes can be found at https://developers.google.com/google-ads/api/data/codes-formats#currency-codes.
optional string currency_code = 2;- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
com.google.protobuf.ByteString getCurrencyCodeBytes()The currency used for exchange rate conversion. By default, the account currency of the customer is used. Set this field only if the currency is different from the account currency. The list of valid currency codes can be found at https://developers.google.com/google-ads/api/data/codes-formats#currency-codes.
optional string currency_code = 2;- Returns:
- The bytes for currencyCode.
-
hasForecastPeriod
boolean hasForecastPeriod()The date range for the forecast. The start date must be in the future and end date must be within 1 year from today. The reference timezone used is the one of the Google Ads account belonging to the customer. If not set, a default date range from next Sunday to the following Saturday will be used.
.google.ads.googleads.v18.common.DateRange forecast_period = 3;- Returns:
- Whether the forecastPeriod field is set.
-
getForecastPeriod
DateRange getForecastPeriod()The date range for the forecast. The start date must be in the future and end date must be within 1 year from today. The reference timezone used is the one of the Google Ads account belonging to the customer. If not set, a default date range from next Sunday to the following Saturday will be used.
.google.ads.googleads.v18.common.DateRange forecast_period = 3;- Returns:
- The forecastPeriod.
-
getForecastPeriodOrBuilder
DateRangeOrBuilder getForecastPeriodOrBuilder()The date range for the forecast. The start date must be in the future and end date must be within 1 year from today. The reference timezone used is the one of the Google Ads account belonging to the customer. If not set, a default date range from next Sunday to the following Saturday will be used.
.google.ads.googleads.v18.common.DateRange forecast_period = 3; -
hasCampaign
boolean hasCampaign()Required. The campaign used in the forecast.
.google.ads.googleads.v18.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the campaign field is set.
-
getCampaign
CampaignToForecast getCampaign()Required. The campaign used in the forecast.
.google.ads.googleads.v18.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The campaign.
-
getCampaignOrBuilder
CampaignToForecastOrBuilder getCampaignOrBuilder()Required. The campaign used in the forecast.
.google.ads.googleads.v18.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED];
-