Google Ads Marketing Platform Admin V1alpha Client - Class PropertyUsage (0.4.0)

Reference documentation and code samples for the Google Ads Marketing Platform Admin V1alpha Client class PropertyUsage.

Contains the count of events received by the property, along with metadata that influences the volume of billable events.

Generated from protobuf message google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage

Namespace

Google \ Ads \ MarketingPlatform \ Admin \ V1alpha \ ReportPropertyUsageResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property string

The name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}

↳ display_name string

The display name of the property.

↳ account_id int|string

The ID of the property's parent account.

↳ service_level int

The service level of the property.

↳ property_type int

The subtype of the analytics property. This affects the billable event count.

↳ total_event_count int|string

Total event count that the property received during the requested month.

↳ billable_event_count int|string

The number of events for which the property is billed in the requested month.

getProperty

The name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

Returns
Type Description
string

setProperty

The name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

The display name of the property.

Returns
Type Description
string

setDisplayName

The display name of the property.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccountId

The ID of the property's parent account.

Returns
Type Description
int|string

setAccountId

The ID of the property's parent account.

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

getServiceLevel

The service level of the property.

Returns
Type Description
int Enum of type AnalyticsServiceLevel.

setServiceLevel

The service level of the property.

Parameter
Name Description
var int

Enum of type AnalyticsServiceLevel.

Returns
Type Description
$this

getPropertyType

The subtype of the analytics property. This affects the billable event count.

Returns
Type Description
int Enum of type AnalyticsPropertyType.

setPropertyType

The subtype of the analytics property. This affects the billable event count.

Parameter
Name Description
var int

Enum of type AnalyticsPropertyType.

Returns
Type Description
$this

getTotalEventCount

Total event count that the property received during the requested month.

Returns
Type Description
int|string

setTotalEventCount

Total event count that the property received during the requested month.

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

getBillableEventCount

The number of events for which the property is billed in the requested month.

Returns
Type Description
int|string

setBillableEventCount

The number of events for which the property is billed in the requested month.

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