Class ClickView
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ClickView
- All Implemented Interfaces:
ClickViewOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ClickView
extends com.google.protobuf.GeneratedMessageV3
implements ClickViewOrBuilder
A click view with metrics aggregated at each click level, including both valid and invalid clicks. For non-Search campaigns, metrics.clicks represents the number of valid and invalid interactions. Queries including ClickView must have a filter limiting the results to one day and can be requested for dates back to 90 days before the time of the request.Protobuf type
google.ads.googleads.v18.resources.ClickView- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA click view with metrics aggregated at each click level, including both valid and invalid clicks.Nested 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.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 intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static ClickViewstatic final com.google.protobuf.Descriptors.DescriptorgetGclid()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.longOutput only.com.google.protobuf.Parser<ClickView>Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasGclid()Output only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ClickView.Builderstatic ClickView.BuildernewBuilder(ClickView prototype) protected ClickView.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ClickViewparseDelimitedFrom(InputStream input) static ClickViewparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClickViewparseFrom(byte[] data) static ClickViewparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClickViewparseFrom(com.google.protobuf.ByteString data) static ClickViewparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClickViewparseFrom(com.google.protobuf.CodedInputStream input) static ClickViewparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClickViewparseFrom(InputStream input) static ClickViewparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClickViewparseFrom(ByteBuffer data) static ClickViewparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClickView>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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.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
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
GCLID_FIELD_NUMBER
public static final int GCLID_FIELD_NUMBER- See Also:
-
AREA_OF_INTEREST_FIELD_NUMBER
public static final int AREA_OF_INTEREST_FIELD_NUMBER- See Also:
-
LOCATION_OF_PRESENCE_FIELD_NUMBER
public static final int LOCATION_OF_PRESENCE_FIELD_NUMBER- See Also:
-
PAGE_NUMBER_FIELD_NUMBER
public static final int PAGE_NUMBER_FIELD_NUMBER- See Also:
-
AD_GROUP_AD_FIELD_NUMBER
public static final int AD_GROUP_AD_FIELD_NUMBER- See Also:
-
CAMPAIGN_LOCATION_TARGET_FIELD_NUMBER
public static final int CAMPAIGN_LOCATION_TARGET_FIELD_NUMBER- See Also:
-
USER_LIST_FIELD_NUMBER
public static final int USER_LIST_FIELD_NUMBER- See Also:
-
KEYWORD_FIELD_NUMBER
public static final int KEYWORD_FIELD_NUMBER- See Also:
-
KEYWORD_INFO_FIELD_NUMBER
public static final int KEYWORD_INFO_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()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResourceName
Output only. The resource name of the click view. Click view resource names have the form: `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceClickViewOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the click view. Click view resource names have the form: `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for resourceName.
-
hasGclid
public boolean hasGclid()Output only. The Google Click ID.
optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGclidin interfaceClickViewOrBuilder- Returns:
- Whether the gclid field is set.
-
getGclid
Output only. The Google Click ID.
optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGclidin interfaceClickViewOrBuilder- Returns:
- The gclid.
-
getGclidBytes
public com.google.protobuf.ByteString getGclidBytes()Output only. The Google Click ID.
optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGclidBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for gclid.
-
hasAreaOfInterest
public boolean hasAreaOfInterest()Output only. The location criteria matching the area of interest associated with the impression.
.google.ads.googleads.v18.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAreaOfInterestin interfaceClickViewOrBuilder- Returns:
- Whether the areaOfInterest field is set.
-
getAreaOfInterest
Output only. The location criteria matching the area of interest associated with the impression.
.google.ads.googleads.v18.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAreaOfInterestin interfaceClickViewOrBuilder- Returns:
- The areaOfInterest.
-
getAreaOfInterestOrBuilder
Output only. The location criteria matching the area of interest associated with the impression.
.google.ads.googleads.v18.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAreaOfInterestOrBuilderin interfaceClickViewOrBuilder
-
hasLocationOfPresence
public boolean hasLocationOfPresence()Output only. The location criteria matching the location of presence associated with the impression.
.google.ads.googleads.v18.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLocationOfPresencein interfaceClickViewOrBuilder- Returns:
- Whether the locationOfPresence field is set.
-
getLocationOfPresence
Output only. The location criteria matching the location of presence associated with the impression.
.google.ads.googleads.v18.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationOfPresencein interfaceClickViewOrBuilder- Returns:
- The locationOfPresence.
-
getLocationOfPresenceOrBuilder
Output only. The location criteria matching the location of presence associated with the impression.
.google.ads.googleads.v18.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationOfPresenceOrBuilderin interfaceClickViewOrBuilder
-
hasPageNumber
public boolean hasPageNumber()Output only. Page number in search results where the ad was shown.
optional int64 page_number = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPageNumberin interfaceClickViewOrBuilder- Returns:
- Whether the pageNumber field is set.
-
getPageNumber
public long getPageNumber()Output only. Page number in search results where the ad was shown.
optional int64 page_number = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPageNumberin interfaceClickViewOrBuilder- Returns:
- The pageNumber.
-
hasAdGroupAd
public boolean hasAdGroupAd()Output only. The associated ad.
optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasAdGroupAdin interfaceClickViewOrBuilder- Returns:
- Whether the adGroupAd field is set.
-
getAdGroupAd
Output only. The associated ad.
optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupAdin interfaceClickViewOrBuilder- Returns:
- The adGroupAd.
-
getAdGroupAdBytes
public com.google.protobuf.ByteString getAdGroupAdBytes()Output only. The associated ad.
optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupAdBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for adGroupAd.
-
hasCampaignLocationTarget
public boolean hasCampaignLocationTarget()Output only. The associated campaign location target, if one exists.
optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCampaignLocationTargetin interfaceClickViewOrBuilder- Returns:
- Whether the campaignLocationTarget field is set.
-
getCampaignLocationTarget
Output only. The associated campaign location target, if one exists.
optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignLocationTargetin interfaceClickViewOrBuilder- Returns:
- The campaignLocationTarget.
-
getCampaignLocationTargetBytes
public com.google.protobuf.ByteString getCampaignLocationTargetBytes()Output only. The associated campaign location target, if one exists.
optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignLocationTargetBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for campaignLocationTarget.
-
hasUserList
public boolean hasUserList()Output only. The associated user list, if one exists.
optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasUserListin interfaceClickViewOrBuilder- Returns:
- Whether the userList field is set.
-
getUserList
Output only. The associated user list, if one exists.
optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getUserListin interfaceClickViewOrBuilder- Returns:
- The userList.
-
getUserListBytes
public com.google.protobuf.ByteString getUserListBytes()Output only. The associated user list, if one exists.
optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getUserListBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for userList.
-
getKeyword
Output only. The associated keyword, if one exists and the click corresponds to the SEARCH channel.
string keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getKeywordin interfaceClickViewOrBuilder- Returns:
- The keyword.
-
getKeywordBytes
public com.google.protobuf.ByteString getKeywordBytes()Output only. The associated keyword, if one exists and the click corresponds to the SEARCH channel.
string keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getKeywordBytesin interfaceClickViewOrBuilder- Returns:
- The bytes for keyword.
-
hasKeywordInfo
public boolean hasKeywordInfo()Output only. Basic information about the associated keyword, if it exists.
.google.ads.googleads.v18.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasKeywordInfoin interfaceClickViewOrBuilder- Returns:
- Whether the keywordInfo field is set.
-
getKeywordInfo
Output only. Basic information about the associated keyword, if it exists.
.google.ads.googleads.v18.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKeywordInfoin interfaceClickViewOrBuilder- Returns:
- The keywordInfo.
-
getKeywordInfoOrBuilder
Output only. Basic information about the associated keyword, if it exists.
.google.ads.googleads.v18.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKeywordInfoOrBuilderin interfaceClickViewOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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 ClickView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClickView parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClickView parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClickView parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClickView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClickView parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClickView parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClickView parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClickView 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 ClickView.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.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-