Google Shopping Merchant Reports V1beta Client - Class NonProductPerformanceView (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Reports V1beta Client class NonProductPerformanceView.

Fields available for query in non_product_performance_view table.

Performance data on images and website links leading to your non-product website 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.

Generated from protobuf message google.shopping.merchant.reports.v1beta.NonProductPerformanceView

Namespace

Google \ Shopping \ Merchant \ Reports \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ date Google\Type\Date

Date in the merchant timezone to which metrics apply. Segment. Condition on date is required in the WHERE clause.

↳ week Google\Type\Date

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

↳ clicks int|string

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

↳ impressions int|string

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

↳ click_through_rate float

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

getDate

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

Condition on date is required in the WHERE clause.

Returns
TypeDescription
Google\Type\Date|null

hasDate

clearDate

setDate

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

Condition on date is required in the WHERE clause.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getWeek

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

Returns
TypeDescription
Google\Type\Date|null

hasWeek

clearWeek

setWeek

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

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getClicks

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

Returns
TypeDescription
int|string

hasClicks

clearClicks

setClicks

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getImpressions

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

Returns
TypeDescription
int|string

hasImpressions

clearImpressions

setImpressions

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getClickThroughRate

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

Returns
TypeDescription
float

hasClickThroughRate

clearClickThroughRate

setClickThroughRate

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

Parameter
NameDescription
var float
Returns
TypeDescription
$this