> [!WARNING]
>
> **Preview**
>
>
> This product is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
> [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

This document describes how locations apply to App Optimize API.

## API endpoint and resource locations

App Optimize API uses a global API endpoint for report management. All API
requests for creating and managing reports are directed to the `global` location
in the URL path---for example:

    https://appoptimize.googleapis.com/v1beta/projects/PROJECT_ID/locations/global/reports

Replace <var translate="no">PROJECT_ID</var> with the ID of the Google Cloud project
you're using with App Optimize API.

Despite the API endpoint being global, App Optimize API takes into account
the regions and zones of your Google Cloud resources. This means you can
analyze your cost and usage data by location, by including the `location`
dimension in your reports.

## App Hub locations

App Optimize API can report on your App Hub
applications, including those created using Application Design Center.
App Hub supports global, multi-regional, and regional
applications, and where they are deployed is reflected in your report data.

To understand the differences between global, multi-regional, and regional
applications in App Hub, see
[Global, multi-regional, and regional applications](https://docs.cloud.google.com/app-hub/docs/global-regional-applications.md.txt).
The Google Cloud locations that support App Hub
resources are listed in
[App Hub locations](https://docs.cloud.google.com/app-hub/docs/locations.md.txt).

For more information about Google Cloud regions and zones, see
[Geography and regions](https://docs.cloud.google.com/docs/geography-and-regions.md.txt).