Herramienta de pagos de Google AdSense

Consulta por separado los pagos finalizados de Google AdSense y YouTube y descárgalos en Excel.

// about

Sobre esta herramienta

Consulta los pagos finalizados de AdSense y YouTube por cuenta y servicio, verifica las fechas y los importes, convierte USD a otra moneda y exporta los resultados a Excel.

Cómo usarla

  1. Pega o escribe tu entrada.
  2. Elige la opción que necesitas.
  3. Copia o descarga el resultado.

Por qué usar esta herramienta

  • Conversiones rápidas, limpieza y trabajos por lotes.
  • Ayuda con depuración, compartición y preparación de contenido.
  • Útil cuando necesitas un resultado al instante.
Guías · Ingresos · 10 min de lectura

Cómo funcionan los pagos de Google AdSense y Google Play: ingresos estimados y finalizados, tipo de cambio y contabilidad

En cuanto empiezan a llegar ingresos de Google, aparece la pregunta: «¿por qué el panel no coincide con el ingreso en el banco?». Entender cómo se finalizan y pagan los ingresos facilita mucho la conciliación mensual.

El importe que ves en tiempo real en el panel de AdSense son ingresos estimados. Al terminar el mes, Google descuenta el tráfico no válido y revisa las cifras, y los ingresos finalizados suelen sumarse al saldo a principios del mes siguiente. Por eso los importes estimados y finalizados pueden diferir ligeramente.

1–31 de octubre    se acumulan ingresos estimados (panel)
Principios nov.    ingresos de octubre finalizados → al saldo
Hacia el 21 nov.   pago emitido si saldo ≥ umbral
Días después       el dinero llega al banco
Ingresos de AdSense estimados y finalizados, calendario y umbral de pago, por qué se retienen pagos y cómo registrar ingresos en divisas.
Leer guía →
Créalo con IA

Crea esta herramienta tú mismo con IA

¿Quieres tu propia versión? Copia el prompt en un chat de IA o guarda el archivo de skill para un agente de programación. Incluyen las funciones, casos límite y pruebas que usamos al crearla.

El prompt y la skill están en inglés, que las herramientas de IA entienden perfectamente.

Prompt de instrucciones para IA

Pégalo tal cual en Claude, ChatGPT o Gemini.

You are an experienced full-stack web developer. Build a web tool called "Pagos de 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 (SKILL.md)

Guárdalo como .claude/skills/build-google-adsense-earning/SKILL.md para que agentes como Claude Code lo reutilicen cada vez que crees o cambies la herramienta.

---
name: build-google-adsense-earning
description: Use when building or changing a Pagos de 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: Pagos de 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

Consejos para trabajar con IA

  • Indica tu stack (React, Vue o HTML puro) en la primera línea para obtener código adecuado.
  • Pide que ejecute las pruebas listadas y muestre los resultados antes de aceptar el código.
  • No pegues contraseñas reales, datos de clientes ni claves de API; usa valores de ejemplo.