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

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

Response message for ReportPropertyUsage RPC.

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

Namespace

Google \ Ads \ MarketingPlatform \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property_usages array<ReportPropertyUsageResponse\PropertyUsage>

Usage data for all properties in the specified organization and month.

↳ bill_info ReportPropertyUsageResponse\BillInfo

Bill amount in the specified organization and month. Will be empty if user only has access to usage data.

getPropertyUsages

Usage data for all properties in the specified organization and month.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPropertyUsages

Usage data for all properties in the specified organization and month.

Parameter
Name Description
var array<ReportPropertyUsageResponse\PropertyUsage>
Returns
Type Description
$this

getBillInfo

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

Returns
Type Description
ReportPropertyUsageResponse\BillInfo|null

hasBillInfo

clearBillInfo

setBillInfo

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

Parameter
Name Description
var ReportPropertyUsageResponse\BillInfo
Returns
Type Description
$this