Class NonProductPerformanceView (0.30.0)

public final class NonProductPerformanceView extends GeneratedMessageV3 implements NonProductPerformanceViewOrBuilder

Fields available for query in non_product_performance_view table.

Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, clicks) and dimensions according to which performance metrics are segmented (for example, date).

Segment fields cannot be selected in queries without also selecting at least one metric field.

Values are only set for fields requested explicitly in the request's search query.

Protobuf type google.shopping.merchant.reports.v1beta.NonProductPerformanceView

Static Fields

CLICKS_FIELD_NUMBER

public static final int CLICKS_FIELD_NUMBER
Field Value
Type Description
int

CLICK_THROUGH_RATE_FIELD_NUMBER

public static final int CLICK_THROUGH_RATE_FIELD_NUMBER
Field Value
Type Description
int

DATE_FIELD_NUMBER

public static final int DATE_FIELD_NUMBER
Field Value
Type Description
int

IMPRESSIONS_FIELD_NUMBER

public static final int IMPRESSIONS_FIELD_NUMBER
Field Value
Type Description
int

WEEK_FIELD_NUMBER

public static final int WEEK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NonProductPerformanceView getDefaultInstance()
Returns
Type Description
NonProductPerformanceView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NonProductPerformanceView.Builder newBuilder()
Returns
Type Description
NonProductPerformanceView.Builder

newBuilder(NonProductPerformanceView prototype)

public static NonProductPerformanceView.Builder newBuilder(NonProductPerformanceView prototype)
Parameter
Name Description
prototype NonProductPerformanceView
Returns
Type Description
NonProductPerformanceView.Builder

parseDelimitedFrom(InputStream input)

public static NonProductPerformanceView parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NonProductPerformanceView parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NonProductPerformanceView parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NonProductPerformanceView parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NonProductPerformanceView parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NonProductPerformanceView parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NonProductPerformanceView> parser()
Returns
Type Description
Parser<NonProductPerformanceView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getClickThroughRate()

public double getClickThroughRate()

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Returns
Type Description
double

The clickThroughRate.

getClicks()

public long getClicks()

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Returns
Type Description
long

The clicks.

getDate()

public Date getDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
com.google.type.Date

The date.

getDateOrBuilder()

public DateOrBuilder getDateOrBuilder()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public NonProductPerformanceView getDefaultInstanceForType()
Returns
Type Description
NonProductPerformanceView

getImpressions()

public long getImpressions()

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Returns
Type Description
long

The impressions.

getParserForType()

public Parser<NonProductPerformanceView> getParserForType()
Returns
Type Description
Parser<NonProductPerformanceView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWeek()

public Date getWeek()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
com.google.type.Date

The week.

getWeekOrBuilder()

public DateOrBuilder getWeekOrBuilder()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
com.google.type.DateOrBuilder

hasClickThroughRate()

public boolean hasClickThroughRate()

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Returns
Type Description
boolean

Whether the clickThroughRate field is set.

hasClicks()

public boolean hasClicks()

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Returns
Type Description
boolean

Whether the clicks field is set.

hasDate()

public boolean hasDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
boolean

Whether the date field is set.

hasImpressions()

public boolean hasImpressions()

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Returns
Type Description
boolean

Whether the impressions field is set.

hasWeek()

public boolean hasWeek()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
boolean

Whether the week field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NonProductPerformanceView.Builder newBuilderForType()
Returns
Type Description
NonProductPerformanceView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NonProductPerformanceView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NonProductPerformanceView.Builder toBuilder()
Returns
Type Description
NonProductPerformanceView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException