get_app_revenue_summary
¶
get_app_revenue_summary(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AppMonetizationClientConfig] = None,
period: Optional[BillingPeriod] = None,
group_by: Optional[RevenueSummaryDimension] = None,
filter_by: Optional[RevenueSummaryFilterBy] = None,
) -> GetAppRevenueSummaryResponse
Returns billed revenue for an app for a billing period, grouped by plan.
Parameters:
-
app_id(AppId) –The ID of the app.
-
period(Optional[BillingPeriod], default:None) –The billing period, in "YYYY-MM" form. Defaults to the current month when omitted.
-
group_by(Optional[RevenueSummaryDimension], default:None) –The breakdown dimension. Defaults to PLAN when omitted.
-
filter_by(Optional[RevenueSummaryFilterBy], default:None) –Filter constraints keyed by dimension. A filter dimension may differ from groupBy.
-
scope(RequestScope) –Required. The environment: live or sandbox.
Raises:
-
AccessDeniedException–The caller does not have sufficient permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The referenced resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request failed input validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appmonetization/_services/app_monetization.py
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 | |