Инструмент платежей Google AdSense

Просматривайте подтвержденные платежи Google AdSense и YouTube отдельно и скачивайте их в Excel.

// about

Об этом инструменте

Просматривайте подтвержденные платежи AdSense и YouTube по аккаунту и сервису, проверяйте даты и суммы, конвертируйте USD в другую валюту и экспортируйте результат в Excel.

Как использовать

  1. Вставьте или введите данные.
  2. Выберите нужные параметры.
  3. Скопируйте или скачайте результат.

Зачем используют этот инструмент

  • Для быстрых преобразований, очистки и пакетных задач.
  • Помогает в отладке, обмене и подготовке контента.
  • Полезен, когда результат нужен сразу.
Руководства · Доходы · 9 мин чтения

Как устроены выплаты Google AdSense и Google Play: расчётный и окончательный доход, курс валют и учёт

Как только начинают поступать доходы от Google, сразу возникает вопрос: «почему сумма в панели не совпадает с поступлением на счёт?» Если понимать, как доход подтверждается и выплачивается, ежемесячная сверка становится гораздо проще.

Сумма, которую вы видите в панели AdSense в реальном времени, — это расчётный доход. После окончания месяца Google исключает недействительный трафик и проверяет данные, а окончательный доход обычно добавляется к балансу в начале следующего месяца. Поэтому расчётная и окончательная суммы могут немного различаться.

1–31 октября      накапливается расчётный доход (панель)
Начало ноября     доход за октябрь подтверждён → на баланс
Около 21 ноября   выплата, если баланс ≥ порога
Через несколько дней  деньги поступают на счёт
Расчётный и окончательный доход AdSense, график и порог выплат, причины приостановки платежей и учёт дохода в иностранной валюте.
Читать →
Сделать с ИИ

Создайте этот инструмент сами с помощью ИИ

Нужна своя версия? Скопируйте промпт в чат с ИИ или сохраните файл навыка для ИИ-агента. В них описаны функции, особые случаи и тесты, которые мы использовали.

Промпт и навык даны на английском — ИИ-инструменты хорошо его понимают.

Промпт-задание для ИИ

Вставьте как есть в Claude, ChatGPT или Gemini.

You are an experienced full-stack web developer. Build a web tool called "Платежи Google AdSense" that meets the requirements below.

## Goal

Build a web tool that signs in with Google, reads finalised AdSense payments, splits them into AdSense and YouTube, applies exchange rates and exports an Excel report.

## Core features

- Google OAuth sign-in requesting only the adsense.readonly scope
- Read accounts and payments via the AdSense Management API
- Classify payments as AdSense or YouTube
- Apply payment-date exchange rates from a public FX API
- Choose a year range and export to Excel (.xlsx)

## Inputs

- Google sign-in
- Year range and target currency

## Outputs

- Payment table (date, amount, source, converted amount)
- Excel file

## Edge cases and handling rules

- Re-authenticate when tokens expire
- Handle zero or multiple AdSense accounts
- Retry and show a clear error when the FX API fails
- Use the previous business day's rate for weekend payments

## Implementation requirements

- Requires a server-side implementation (e.g. ASP.NET Core or Node.js). Keep the OAuth client secret on the server and never commit it.
- Describe Google user data use in the privacy policy and delete tokens immediately when the user disconnects.
- Make the UI responsive and easy to use on mobile; label every input and keep everything keyboard accessible.
- Add a Copy button for results and show clear, friendly error messages for invalid input.
- Keep the core logic in functions separate from the UI so it can be unit-tested.

## Definition of done (test cases)

- Unit-test classification: YouTube items are classified as YouTube
- Excel contains no rows outside the year range
- Rates are applied by payment date

First outline your implementation plan in at most five lines, then write the complete code, and finally explain how to check the test cases above.

Навык (SKILL.md)

Сохраните как .claude/skills/build-google-adsense-earning/SKILL.md, чтобы агенты вроде Claude Code использовали его при каждой доработке инструмента.

---
name: build-google-adsense-earning
description: Use when building or changing a Платежи Google AdSense tool. Build a web tool that signs in with Google, reads finalised AdSense payments, splits them into AdSense and YouTube, applies exchange rates and exports an Excel report.
---

# Build: Платежи Google AdSense

## Goal

Build a web tool that signs in with Google, reads finalised AdSense payments, splits them into AdSense and YouTube, applies exchange rates and exports an Excel report.

## Workflow

1. Review the required features, inputs and outputs below and ask about anything missing first.
2. Implement the core logic as pure functions separate from the UI.
3. Check the logic against the test cases in the verification list.
4. Build a responsive UI with an input form, a result area and a Copy button.
5. Reproduce each edge case listed under Rules and refine the error messages.

## Core features

- Google OAuth sign-in requesting only the adsense.readonly scope
- Read accounts and payments via the AdSense Management API
- Classify payments as AdSense or YouTube
- Apply payment-date exchange rates from a public FX API
- Choose a year range and export to Excel (.xlsx)

## Inputs

- Google sign-in
- Year range and target currency

## Outputs

- Payment table (date, amount, source, converted amount)
- Excel file

## Rules

- Re-authenticate when tokens expire
- Handle zero or multiple AdSense accounts
- Retry and show a clear error when the FX API fails
- Use the previous business day's rate for weekend payments
- Requires a server-side implementation (e.g. ASP.NET Core or Node.js). Keep the OAuth client secret on the server and never commit it.
- Describe Google user data use in the privacy policy and delete tokens immediately when the user disconnects.

## Verification

- [ ] Unit-test classification: YouTube items are classified as YouTube
- [ ] Excel contains no rows outside the year range
- [ ] Rates are applied by payment date

Советы по работе с ИИ

  • Укажите стек (React, Vue или чистый HTML) в первой строке, чтобы код подошёл к проекту.
  • Попросите ИИ выполнить перечисленные тесты и показать результаты до принятия кода.
  • Не вставляйте настоящие пароли, данные клиентов и API-ключи; используйте примеры.