Skip to content

fix: use PascalCase for dimensions and metrics in shell script#3

Open
SmallMouth wants to merge 1 commit into
openx:mainfrom
SmallMouth:fix/shell-script-dimension-metric-case
Open

fix: use PascalCase for dimensions and metrics in shell script#3
SmallMouth wants to merge 1 commit into
openx:mainfrom
SmallMouth:fix/shell-script-dimension-metric-case

Conversation

@SmallMouth

@SmallMouth SmallMouth commented Jan 20, 2026

Copy link
Copy Markdown

Problem

The shell script uses lowercase dimension and metric names which causes API error:
Invalid metric allRequests, Invalid dimension hour

Solution

Changed to PascalCase format to match API requirements and README examples.

Changes

  • hourHour
  • pageDomainPageDomain
  • allRequestsAllRequests
  • clicksClicks

Reference

The API requires PascalCase format for dimension and metric names.
Changed:
- hour → Hour
- pageDomain → PageDomain
- allRequests → AllRequests
- clicks → Clicks
@SmallMouth
SmallMouth marked this pull request as ready for review January 20, 2026 06:36
@samlehman

Copy link
Copy Markdown

This was the change OpenX support asked me to make in my local to fix the script, would be nice for this to be merged!

@devx-github-cleaner

Copy link
Copy Markdown

⚠️ Pull Request Cleanup Notice

This pull request has been inactive for an extended period and will be closed in 14 days if no activity occurs.

To prevent closure, please:

  • Update the PR with new commits
  • Remove the STALE label

Auto-generated by GitHub Cleaner - Notification 1/2

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants