public final class YoutubeProductPerformanceView extends GeneratedMessageV3 implements YoutubeProductPerformanceViewOrBuilder
Fields available for query in youtube_product_performance_view
table.
YouTube product performance
data for your account.
This data is only available if an account is enrolled in the YouTube
Shopping Affiliate
program.
Values are only set for fields requested explicitly in the request's search
query.
Protobuf type google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CLICKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int COMMISSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISTINCT_CREATOR_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISTINCT_VIDEO_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GROSS_SALES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NET_SALES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int OFFER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ORDERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VIEWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static YoutubeProductPerformanceView getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static YoutubeProductPerformanceView.Builder newBuilder()
public static YoutubeProductPerformanceView.Builder newBuilder(YoutubeProductPerformanceView prototype)
public static YoutubeProductPerformanceView parseDelimitedFrom(InputStream input)
public static YoutubeProductPerformanceView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeProductPerformanceView parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static YoutubeProductPerformanceView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static YoutubeProductPerformanceView parseFrom(ByteString data)
public static YoutubeProductPerformanceView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static YoutubeProductPerformanceView parseFrom(CodedInputStream input)
public static YoutubeProductPerformanceView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeProductPerformanceView parseFrom(InputStream input)
public static YoutubeProductPerformanceView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeProductPerformanceView parseFrom(ByteBuffer data)
public static YoutubeProductPerformanceView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<YoutubeProductPerformanceView> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
The number of product clicks.
optional int64 clicks = 10;
Returns |
Type |
Description |
long |
The clicks.
|
public Price getCommissions()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 7;
Returns |
Type |
Description |
com.google.shopping.type.Price |
The commissions.
|
public PriceOrBuilder getCommissionsOrBuilder()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 7;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
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.
|
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 |
|
public YoutubeProductPerformanceView getDefaultInstanceForType()
public long getDistinctCreatorCount()
The number of distinct creator channels the product was shown on.
optional int64 distinct_creator_count = 5;
Returns |
Type |
Description |
long |
The distinctCreatorCount.
|
public long getDistinctVideoCount()
The number of distinct videos the product was shown on.
optional int64 distinct_video_count = 4;
Returns |
Type |
Description |
long |
The distinctVideoCount.
|
public Price getGrossSales()
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 6;
Returns |
Type |
Description |
com.google.shopping.type.Price |
The grossSales.
|
public PriceOrBuilder getGrossSalesOrBuilder()
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 6;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
public Price getNetSales()
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 11;
Returns |
Type |
Description |
com.google.shopping.type.Price |
The netSales.
|
public PriceOrBuilder getNetSalesOrBuilder()
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 11;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
public String getOfferId()
The merchant-provided product id.
optional string offer_id = 3;
Returns |
Type |
Description |
String |
The offerId.
|
public ByteString getOfferIdBytes()
The merchant-provided product id.
optional string offer_id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for offerId.
|
The number of orders.
optional int64 orders = 8;
Returns |
Type |
Description |
long |
The orders.
|
public Parser<YoutubeProductPerformanceView> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
The product title.
optional string title = 2;
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
The product title.
optional string title = 2;
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
The number of YouTube views.
optional int64 views = 9;
Returns |
Type |
Description |
long |
The views.
|
public boolean hasClicks()
The number of product clicks.
optional int64 clicks = 10;
Returns |
Type |
Description |
boolean |
Whether the clicks field is set.
|
public boolean hasCommissions()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 7;
Returns |
Type |
Description |
boolean |
Whether the commissions field is set.
|
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.
|
public boolean hasDistinctCreatorCount()
The number of distinct creator channels the product was shown on.
optional int64 distinct_creator_count = 5;
Returns |
Type |
Description |
boolean |
Whether the distinctCreatorCount field is set.
|
public boolean hasDistinctVideoCount()
The number of distinct videos the product was shown on.
optional int64 distinct_video_count = 4;
Returns |
Type |
Description |
boolean |
Whether the distinctVideoCount field is set.
|
public boolean hasGrossSales()
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 6;
Returns |
Type |
Description |
boolean |
Whether the grossSales field is set.
|
public boolean hasNetSales()
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 11;
Returns |
Type |
Description |
boolean |
Whether the netSales field is set.
|
public boolean hasOfferId()
The merchant-provided product id.
optional string offer_id = 3;
Returns |
Type |
Description |
boolean |
Whether the offerId field is set.
|
public boolean hasOrders()
The number of orders.
optional int64 orders = 8;
Returns |
Type |
Description |
boolean |
Whether the orders field is set.
|
public boolean hasTitle()
The product title.
optional string title = 2;
Returns |
Type |
Description |
boolean |
Whether the title field is set.
|
public boolean hasViews()
The number of YouTube views.
optional int64 views = 9;
Returns |
Type |
Description |
boolean |
Whether the views field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public YoutubeProductPerformanceView.Builder newBuilderForType()
protected YoutubeProductPerformanceView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public YoutubeProductPerformanceView.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides