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

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
Name Description
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
Type Description
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
Name Description
var Google\Type\Date
Returns
Type Description
$this

getWeek

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

Returns
Type Description
Google\Type\Date|null

hasWeek

clearWeek

setWeek

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

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getClicks

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

Returns
Type Description
int|string

hasClicks

clearClicks

setClicks

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

Parameter
Name Description
var int|string
Returns
Type Description
$this

getImpressions

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

Returns
Type Description
int|string

hasImpressions

clearImpressions

setImpressions

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

Parameter
Name Description
var int|string
Returns
Type Description
$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
Type Description
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
Name Description
var float
Returns
Type Description
$this