Skip to content

Adds more robust AdSense report dimension support#1

Open
nicolasleroy wants to merge 1 commit into
AppsYogi-com:mainfrom
nicolasleroy:feature/new-dimensions
Open

Adds more robust AdSense report dimension support#1
nicolasleroy wants to merge 1 commit into
AppsYogi-com:mainfrom
nicolasleroy:feature/new-dimensions

Conversation

@nicolasleroy
Copy link
Copy Markdown

Summary:

  • Normalizes report dimensions, metrics, filters, and orderBy before calling the AdSense API.
  • Validates report dimensions/metrics against AdSense v2-supported values.
  • Fixes orderBy formatting to use AdSense API syntax like -ESTIMATED_EARNINGS.
  • Supports comma-separated dimension/metric inputs in addition to arrays.
  • Expands report dimension types to include more current AdSense v2 dimensions.
  • Exposes enum hints in MCP tool schemas so clients can discover valid dimensions.
  • Adds explicit support for COUNTRY_NAME, PLATFORM_TYPE_CODE, CUSTOM_CHANNEL_NAME, and CUSTOM_CHANNEL_ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant