Interface CampaignReservationQuoteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CampaignReservationQuote,CampaignReservationQuote.Builder
@Generated
public interface CampaignReservationQuoteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe campaign resource name, as it was specified in the request.com.google.protobuf.ByteStringThe campaign resource name, as it was specified in the request.longMaximum budget to get all available impressions at the current CPM.longThe possible duration of the hold, in seconds.longThe CPM that would be accepted for the campaign calculated at the proposed budget.booleanThe CPM that would be accepted for the campaign calculated at the proposed budget.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
-
getCampaign
String getCampaign()The campaign resource name, as it was specified in the request. It could contain a temp ID. Format: customers/{customer_id}/campaigns/{campaign_id}string campaign = 1;- Returns:
- The campaign.
-
getCampaignBytes
com.google.protobuf.ByteString getCampaignBytes()The campaign resource name, as it was specified in the request. It could contain a temp ID. Format: customers/{customer_id}/campaigns/{campaign_id}string campaign = 1;- Returns:
- The bytes for campaign.
-
getMaxBudgetMicros
long getMaxBudgetMicros()Maximum budget to get all available impressions at the current CPM. Capped at 10M USD. Specified in micros of the advertiser currency.
int64 max_budget_micros = 3;- Returns:
- The maxBudgetMicros.
-
getPossibleHoldDurationSeconds
long getPossibleHoldDurationSeconds()The possible duration of the hold, in seconds.
int64 possible_hold_duration_seconds = 4;- Returns:
- The possibleHoldDurationSeconds.
-
hasSuggestedCpmMicros
boolean hasSuggestedCpmMicros()The CPM that would be accepted for the campaign calculated at the proposed budget. Specified in micros of the advertiser currency.
int64 suggested_cpm_micros = 2;- Returns:
- Whether the suggestedCpmMicros field is set.
-
getSuggestedCpmMicros
long getSuggestedCpmMicros()The CPM that would be accepted for the campaign calculated at the proposed budget. Specified in micros of the advertiser currency.
int64 suggested_cpm_micros = 2;- Returns:
- The suggestedCpmMicros.
-
getSuggestedQuoteCase
CampaignReservationQuote.SuggestedQuoteCase getSuggestedQuoteCase()
-