It’s important to monitor your Google Maps Platform usage, quota, and billing numbers on a regular basis. Monitoring these numbers can help you track requests made by projects, stay within predefined consumption limits, and control costs through planned budgets. Now, you can start tracking your usage via numeric channels. This is another way to categorize the source of your usage in addition to the product. It is available directly at Billing reports section.
To start tracking per channel, you need to add the ‘channel’ parameter to your requests. The only acceptable channel values are numbers from 0-999. Here are a few examples:
Geocoding Web Service API
https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY&channel=1
Maps JavaScript API
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&channel=2&callback=initMap" async defer></script>
* Currently, channel data is not available for these SKUs: Autocomplete without Places Details – Per Session, Autocomplete (included with Places Details) – Per Session and Geolocation
You can monitor your channel usage directly on your Billing Report. Channels will reflect under Labels as Key: ‘goog-maps-channel’.
To filter your billing report by SKU and channel:
- Use the Group by SKU filter.
- Click on the Labels
- Click on the Key dropdown and select: goog-maps-channel
- Click on the Value dropdown and select the numerical channels you want to filter
Alternatively, you can also Group by Label key: ‘goog-maps-channel’ if you’d like to see the cost generated by each channel.
Once you have implemented channel usage data in your requests, there may be a short delay (up to 24 hours) before the data is reflected in your billing report.
Source: https://developers.google.com/maps/reporting/gmp-reporting#usage-tracking-per-channel