- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- PropertyUsage
- AnalyticsPropertyType
- BillInfo
- Money
- Try it!
Get the usage and billing data for properties within the organization for the specified month.
Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data.
Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.
HTTP request
POST https://marketingplatformadmin.googleapis.com/v1alpha/{organization=organizations/*}:reportPropertyUsage
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
organization |
Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "month": string } |
| Fields | |
|---|---|
month |
Required. The target month to list property usages. Format: YYYY-MM. For example, "2025-05" |
Response body
Response message for organizations.reportPropertyUsage RPC.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "propertyUsages": [ { object ( |
| Fields | |
|---|---|
propertyUsages[] |
Usage data for all properties in the specified organization and month. |
billInfo |
Bill amount in the specified organization and month. Will be empty if user only has access to usage data. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/marketingplatformadmin.analytics.readhttps://www.googleapis.com/auth/marketingplatformadmin.analytics.update
PropertyUsage
Contains the count of events received by the property, along with metadata that influences the volume of billable events.
| JSON representation |
|---|
{ "property": string, "displayName": string, "accountId": string, "serviceLevel": enum ( |
| Fields | |
|---|---|
property |
The name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id} |
displayName |
The display name of the property. |
accountId |
The ID of the property's parent account. |
serviceLevel |
The service level of the property. |
propertyType |
The subtype of the analytics property. This affects the billable event count. |
totalEventCount |
Total event count that the property received during the requested month. |
billableEventCount |
The number of events for which the property is billed in the requested month. |
AnalyticsPropertyType
Types of the Google Analytics Property.
| Enums | |
|---|---|
ANALYTICS_PROPERTY_TYPE_UNSPECIFIED |
Unknown or unspecified property type |
ANALYTICS_PROPERTY_TYPE_ORDINARY |
Ordinary Google Analytics property |
ANALYTICS_PROPERTY_TYPE_SUBPROPERTY |
Google Analytics subproperty |
ANALYTICS_PROPERTY_TYPE_ROLLUP |
Google Analytics rollup property |
BillInfo
Contains the bill amount.
| JSON representation |
|---|
{ "baseFee": { object ( |
| Fields | |
|---|---|
baseFee |
The amount of the monthly base fee. |
eventFee |
The amount of the event fee. |
priceProtectionCredit |
The amount of the price protection credit, this is only available for eligible customers. |
total |
The total amount of the bill. |
Money
Represents an amount of money with its currency type.
| JSON representation |
|---|
{ "currencyCode": string, "units": string, "nanos": integer } |
| Fields | |
|---|---|
currencyCode |
The three-letter currency code defined in ISO 4217. |
units |
The whole units of the amount. For example if |
nanos |
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If |