Google Ads Data Manager V1 Client - Class UserListLicenseMetrics (0.2.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class UserListLicenseMetrics.

Metrics related to a user list license.

Generated from protobuf message google.ads.datamanager.v1.UserListLicenseMetrics

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ click_count int|string

Output only. The number of clicks for the user list license.

↳ impression_count int|string

Output only. The number of impressions for the user list license.

↳ revenue_usd_micros int|string

Output only. The revenue for the user list license in USD micros.

↳ start_date int|string

Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If end_date is used in the filter, start_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

↳ end_date int|string

Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If start_date is used in the filter, end_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

getClickCount

Output only. The number of clicks for the user list license.

Returns
Type Description
int|string

setClickCount

Output only. The number of clicks for the user list license.

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

getImpressionCount

Output only. The number of impressions for the user list license.

Returns
Type Description
int|string

setImpressionCount

Output only. The number of impressions for the user list license.

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

getRevenueUsdMicros

Output only. The revenue for the user list license in USD micros.

Returns
Type Description
int|string

setRevenueUsdMicros

Output only. The revenue for the user list license in USD micros.

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

getStartDate

Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If end_date is used in the filter, start_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

Returns
Type Description
int|string

setStartDate

Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If end_date is used in the filter, start_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

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

getEndDate

Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If start_date is used in the filter, end_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

Returns
Type Description
int|string

setEndDate

Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If start_date is used in the filter, end_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

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