REST Resource: accounts.payments
Resource: Payment
JSON representation |
{
"name": string,
"date": {
object (Date )
},
"amount": string
} |
Fields |
name |
string
Output only. Resource name of the payment. Format:
- accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings.
- accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings.
- accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings.
- accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings.
|
date |
object (Date )
Output only. For paid earnings, the date that the payment was credited. For unpaid earnings, this field is empty. Payment dates are always returned in the billing timezone (America/Los_Angeles).
|
amount |
string
Output only. The amount of unpaid or paid earnings, as a formatted string, including the currency. E.g. "¥1,235 JPY", "$1,234.57", "£87.65".
|
Methods |
|
Lists all the payments available for an account. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["The Payment resource represents unpaid or paid earnings for AdSense and YouTube."],["Payment details include the payment date (for paid earnings) and amount in the respective currency."],["You can retrieve a list of all payments for an account using the provided method."],["Unpaid earnings are represented with specific resource names, while paid earnings use the payment date in the resource name."],["Refer to external links for additional information on payment timelines and dedicated payment accounts for YouTube."]]],["The Payment resource represents paid or unpaid earnings. It includes a `name` (resource identifier), `date` (payment credit date or empty for unpaid), and `amount` (formatted earnings string with currency). The resource name indicates whether earnings are AdSense or YouTube, and if they are paid or unpaid. Payments are associated with specific accounts, with date represented in America/Los_Angeles timezone. A method named `list` retrieves all payments linked to an account.\n"]]