Class RateMetrics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v23.services.RateMetrics
- All Implemented Interfaces:
RateMetricsOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RateMetrics
extends com.google.protobuf.GeneratedMessageV3
implements RateMetricsOrBuilder
Average rate metrics. Metrics that represent monetary values are returned in USD by default, if unspecified in the request.Protobuf type
google.ads.googleads.v23.services.RateMetrics- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter, com.google.protobuf.GeneratedMessage.ExtendableMessage.FieldEntryNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object> Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleThe percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).doubleAverage cost-per-thousand viewable impressions.doubleThe average cost-per-click (CPC) is defined by the total cost of all clicks divided by the total number of clicks received.doubleThe average cost-per-engagement (CPE) is defined by the total cost of all ad engagements divided by the total number of ad engagements.doubleThe average cost-per-interaction (CPI) is defined by the total cost of all interactions divided by the total number of interactions.doubleAverage cost-per-thousand impressions (CPM).doubleThe number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).static RateMetricsstatic final com.google.protobuf.Descriptors.DescriptordoubleHow often people engage with your ad after it's shown to them.doubleHow often people interact with your ad after it is shown to them.com.google.protobuf.Parser<RateMetrics>intdoubleThe average TrueView cost-per-view (CPV) is defined by the total cost of all ad TrueView views divided by the number of TrueView views.doubleNumber of completed TrueView views divided by the number of impressions.doublePercentage of impressions where the viewer watched all of your video.doublePercentage of impressions where the viewer watched 25% of your video.doublePercentage of impressions where the viewer watched 50% of your video.doublePercentage of impressions where the viewer watched 75% of your video.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RateMetrics.Builderstatic RateMetrics.BuildernewBuilder(RateMetrics prototype) protected RateMetrics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RateMetricsparseDelimitedFrom(InputStream input) static RateMetricsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RateMetricsparseFrom(byte[] data) static RateMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RateMetricsparseFrom(com.google.protobuf.ByteString data) static RateMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RateMetricsparseFrom(com.google.protobuf.CodedInputStream input) static RateMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RateMetricsparseFrom(InputStream input) static RateMetricsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RateMetricsparseFrom(ByteBuffer data) static RateMetricsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RateMetrics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongListMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsIterator, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriterMethods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AVERAGE_CPM_FIELD_NUMBER
public static final int AVERAGE_CPM_FIELD_NUMBER- See Also:
-
AVERAGE_ACTIVE_VIEW_CPM_FIELD_NUMBER
public static final int AVERAGE_ACTIVE_VIEW_CPM_FIELD_NUMBER- See Also:
-
TRUEVIEW_AVERAGE_CPV_FIELD_NUMBER
public static final int TRUEVIEW_AVERAGE_CPV_FIELD_NUMBER- See Also:
-
AVERAGE_CPC_FIELD_NUMBER
public static final int AVERAGE_CPC_FIELD_NUMBER- See Also:
-
AVERAGE_CPI_FIELD_NUMBER
public static final int AVERAGE_CPI_FIELD_NUMBER- See Also:
-
AVERAGE_CPE_FIELD_NUMBER
public static final int AVERAGE_CPE_FIELD_NUMBER- See Also:
-
INTERACTION_RATE_FIELD_NUMBER
public static final int INTERACTION_RATE_FIELD_NUMBER- See Also:
-
ENGAGEMENT_RATE_FIELD_NUMBER
public static final int ENGAGEMENT_RATE_FIELD_NUMBER- See Also:
-
ACTIVE_VIEW_VIEWABILITY_FIELD_NUMBER
public static final int ACTIVE_VIEW_VIEWABILITY_FIELD_NUMBER- See Also:
-
TRUEVIEW_VIEW_RATE_FIELD_NUMBER
public static final int TRUEVIEW_VIEW_RATE_FIELD_NUMBER- See Also:
-
CLICK_THROUGH_RATE_FIELD_NUMBER
public static final int CLICK_THROUGH_RATE_FIELD_NUMBER- See Also:
-
VIDEO_COMPLETION_P25_RATE_FIELD_NUMBER
public static final int VIDEO_COMPLETION_P25_RATE_FIELD_NUMBER- See Also:
-
VIDEO_COMPLETION_P50_RATE_FIELD_NUMBER
public static final int VIDEO_COMPLETION_P50_RATE_FIELD_NUMBER- See Also:
-
VIDEO_COMPLETION_P75_RATE_FIELD_NUMBER
public static final int VIDEO_COMPLETION_P75_RATE_FIELD_NUMBER- See Also:
-
VIDEO_COMPLETION_P100_RATE_FIELD_NUMBER
public static final int VIDEO_COMPLETION_P100_RATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAverageCpm
public double getAverageCpm()Average cost-per-thousand impressions (CPM).
double average_cpm = 1;- Specified by:
getAverageCpmin interfaceRateMetricsOrBuilder- Returns:
- The averageCpm.
-
getAverageActiveViewCpm
public double getAverageActiveViewCpm()Average cost-per-thousand viewable impressions.
double average_active_view_cpm = 2;- Specified by:
getAverageActiveViewCpmin interfaceRateMetricsOrBuilder- Returns:
- The averageActiveViewCpm.
-
getTrueviewAverageCpv
public double getTrueviewAverageCpv()The average TrueView cost-per-view (CPV) is defined by the total cost of all ad TrueView views divided by the number of TrueView views.
double trueview_average_cpv = 3;- Specified by:
getTrueviewAverageCpvin interfaceRateMetricsOrBuilder- Returns:
- The trueviewAverageCpv.
-
getAverageCpc
public double getAverageCpc()The average cost-per-click (CPC) is defined by the total cost of all clicks divided by the total number of clicks received.
double average_cpc = 4;- Specified by:
getAverageCpcin interfaceRateMetricsOrBuilder- Returns:
- The averageCpc.
-
getAverageCpi
public double getAverageCpi()The average cost-per-interaction (CPI) is defined by the total cost of all interactions divided by the total number of interactions.
double average_cpi = 5;- Specified by:
getAverageCpiin interfaceRateMetricsOrBuilder- Returns:
- The averageCpi.
-
getAverageCpe
public double getAverageCpe()The average cost-per-engagement (CPE) is defined by the total cost of all ad engagements divided by the total number of ad engagements.
double average_cpe = 6;- Specified by:
getAverageCpein interfaceRateMetricsOrBuilder- Returns:
- The averageCpe.
-
getInteractionRate
public double getInteractionRate()How often people interact with your ad after it is shown to them. This is the number of interactions divided by the number of times your ad is shown.
double interaction_rate = 7;- Specified by:
getInteractionRatein interfaceRateMetricsOrBuilder- Returns:
- The interactionRate.
-
getEngagementRate
public double getEngagementRate()How often people engage with your ad after it's shown to them. This is the number of ad expansions divided by the number of times your ad is shown.
double engagement_rate = 8;- Specified by:
getEngagementRatein interfaceRateMetricsOrBuilder- Returns:
- The engagementRate.
-
getActiveViewViewability
public double getActiveViewViewability()The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
double active_view_viewability = 9;- Specified by:
getActiveViewViewabilityin interfaceRateMetricsOrBuilder- Returns:
- The activeViewViewability.
-
getTrueviewViewRate
public double getTrueviewViewRate()Number of completed TrueView views divided by the number of impressions.
double trueview_view_rate = 10;- Specified by:
getTrueviewViewRatein interfaceRateMetricsOrBuilder- Returns:
- The trueviewViewRate.
-
getClickThroughRate
public double getClickThroughRate()The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).
double click_through_rate = 11;- Specified by:
getClickThroughRatein interfaceRateMetricsOrBuilder- Returns:
- The clickThroughRate.
-
getVideoCompletionP25Rate
public double getVideoCompletionP25Rate()Percentage of impressions where the viewer watched 25% of your video.
double video_completion_p25_rate = 12;- Specified by:
getVideoCompletionP25Ratein interfaceRateMetricsOrBuilder- Returns:
- The videoCompletionP25Rate.
-
getVideoCompletionP50Rate
public double getVideoCompletionP50Rate()Percentage of impressions where the viewer watched 50% of your video.
double video_completion_p50_rate = 13;- Specified by:
getVideoCompletionP50Ratein interfaceRateMetricsOrBuilder- Returns:
- The videoCompletionP50Rate.
-
getVideoCompletionP75Rate
public double getVideoCompletionP75Rate()Percentage of impressions where the viewer watched 75% of your video.
double video_completion_p75_rate = 14;- Specified by:
getVideoCompletionP75Ratein interfaceRateMetricsOrBuilder- Returns:
- The videoCompletionP75Rate.
-
getVideoCompletionP100Rate
public double getVideoCompletionP100Rate()Percentage of impressions where the viewer watched all of your video.
double video_completion_p100_rate = 15;- Specified by:
getVideoCompletionP100Ratein interfaceRateMetricsOrBuilder- Returns:
- The videoCompletionP100Rate.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RateMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RateMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RateMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RateMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RateMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-