<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_analyticsdata_v1beta)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_analyticsdata_v1beta.md.txt)

## Class

```abap
/GOOG/CL_ANALYTICSDATA_V1BETA
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Google Analytics Data API v1beta`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `ActiveMetricRestriction` | PUBLIC |
| `TY_002` | `BatchRunPivotReportsRequest` | PUBLIC |
| `TY_003` | `BatchRunPivotReportsResponse` | PUBLIC |
| `TY_004` | `BatchRunReportsRequest` | PUBLIC |
| `TY_005` | `BatchRunReportsResponse` | PUBLIC |
| `TY_007` | `CaseExpression` | PUBLIC |
| `TY_008` | `CheckCompatibilityRequest` | PUBLIC |
| `TY_009` | `CheckCompatibilityResponse` | PUBLIC |
| `TY_010` | `Cohort` | PUBLIC |
| `TY_011` | `CohortReportSettings` | PUBLIC |
| `TY_012` | `CohortSpec` | PUBLIC |
| `TY_013` | `CohortsRange` | PUBLIC |
| `TY_014` | `ConcatenateExpression` | PUBLIC |
| `TY_015` | `DateRange` | PUBLIC |
| `TY_016` | `Dimension` | PUBLIC |
| `TY_017` | `DimensionCompatibility` | PUBLIC |
| `TY_018` | `DimensionExpression` | PUBLIC |
| `TY_019` | `DimensionHeader` | PUBLIC |
| `TY_020` | `DimensionMetadata` | PUBLIC |
| `TY_021` | `DimensionOrderBy` | PUBLIC |
| `TY_022` | `DimensionValue` | PUBLIC |
| `TY_027` | `Metadata` | PUBLIC |
| `TY_028` | `Metric` | PUBLIC |
| `TY_029` | `MetricCompatibility` | PUBLIC |
| `TY_030` | `MetricHeader` | PUBLIC |
| `TY_031` | `MetricMetadata` | PUBLIC |
| `TY_032` | `MetricOrderBy` | PUBLIC |
| `TY_033` | `MetricValue` | PUBLIC |
| `TY_034` | `MinuteRange` | PUBLIC |
| `TY_037` | `OrderBy` | PUBLIC |
| `TY_038` | `Pivot` | PUBLIC |
| `TY_039` | `PivotDimensionHeader` | PUBLIC |
| `TY_040` | `PivotHeader` | PUBLIC |
| `TY_041` | `PivotOrderBy` | PUBLIC |
| `TY_042` | `PivotSelection` | PUBLIC |
| `TY_043` | `PropertyQuota` | PUBLIC |
| `TY_044` | `QuotaStatus` | PUBLIC |
| `TY_045` | `ResponseMetaData` | PUBLIC |
| `TY_046` | `Row` | PUBLIC |
| `TY_047` | `RunPivotReportRequest` | PUBLIC |
| `TY_048` | `RunPivotReportResponse` | PUBLIC |
| `TY_049` | `RunRealtimeReportRequest` | PUBLIC |
| `TY_050` | `RunRealtimeReportResponse` | PUBLIC |
| `TY_051` | `RunReportRequest` | PUBLIC |
| `TY_052` | `RunReportResponse` | PUBLIC |
| `TY_053` | `SchemaRestrictionResponse` | PUBLIC |
| `TY_055` | `AudienceExport` | PUBLIC |
| `TY_056` | `Comparison` | PUBLIC |
| `TY_057` | `ComparisonMetadata` | PUBLIC |
| `TY_058` | `ListAudienceExportsResponse` | PUBLIC |
| `TY_059` | `Operation` | PUBLIC |
| `TY_060` | `QueryAudienceExportRequest` | PUBLIC |
| `TY_061` | `QueryAudienceExportResponse` | PUBLIC |
| `TY_062` | `SamplingMetadata` | PUBLIC |
| `TY_063` | `Status` | PUBLIC |
| `TY_064` | `V1betaAudienceDimension` | PUBLIC |
| `TY_065` | `V1betaAudienceDimensionValue` | PUBLIC |
| `TY_066` | `V1betaAudienceRow` | PUBLIC |
| `TY_T_001` | `ActiveMetricRestriction` | PUBLIC |
| `TY_T_010` | `Cohort` | PUBLIC |
| `TY_T_015` | `DateRange` | PUBLIC |
| `TY_T_016` | `Dimension` | PUBLIC |
| `TY_T_017` | `DimensionCompatibility` | PUBLIC |
| `TY_T_019` | `DimensionHeader` | PUBLIC |
| `TY_T_020` | `DimensionMetadata` | PUBLIC |
| `TY_T_022` | `DimensionValue` | PUBLIC |
| `TY_T_028` | `Metric` | PUBLIC |
| `TY_T_029` | `MetricCompatibility` | PUBLIC |
| `TY_T_030` | `MetricHeader` | PUBLIC |
| `TY_T_031` | `MetricMetadata` | PUBLIC |
| `TY_T_033` | `MetricValue` | PUBLIC |
| `TY_T_034` | `MinuteRange` | PUBLIC |
| `TY_T_037` | `OrderBy` | PUBLIC |
| `TY_T_038` | `Pivot` | PUBLIC |
| `TY_T_039` | `PivotDimensionHeader` | PUBLIC |
| `TY_T_040` | `PivotHeader` | PUBLIC |
| `TY_T_042` | `PivotSelection` | PUBLIC |
| `TY_T_046` | `Row` | PUBLIC |
| `TY_T_047` | `RunPivotReportRequest` | PUBLIC |
| `TY_T_048` | `RunPivotReportResponse` | PUBLIC |
| `TY_T_051` | `RunReportRequest` | PUBLIC |
| `TY_T_052` | `RunReportResponse` | PUBLIC |
| `TY_T_055` | `AudienceExport` | PUBLIC |
| `TY_T_056` | `Comparison` | PUBLIC |
| `TY_T_057` | `ComparisonMetadata` | PUBLIC |
| `TY_T_062` | `SamplingMetadata` | PUBLIC |
| `TY_T_064` | `V1betaAudienceDimension` | PUBLIC |
| `TY_T_065` | `V1betaAudienceDimensionValue` | PUBLIC |
| `TY_T_066` | `V1betaAudienceRow` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.7 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250305 | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://analyticsdata.googleapis.com | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | analyticsdata:v1beta | PUBLIC |
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_RUN_PIVOT_REPORTS_PRO

- Description: analyticsdata.properties.batchRunPivotReports
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_002` | BatchRunPivotReportsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_003` | BatchRunPivotReportsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_RUN_REPORTS_PROPERTIE

- Description: analyticsdata.properties.batchRunReports
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_004` | BatchRunReportsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_005` | BatchRunReportsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CHECK_COMPATIBILITY_PROPERT

- Description: analyticsdata.properties.checkCompatibility
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_008` | CheckCompatibilityRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_009` | CheckCompatibilityResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_AUDIENCE_EXPORTS

- Description: analyticsdata.properties.audienceExports.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_055` | AudienceExport |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_059` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_AUDIENCE_EXPORTS

- Description: analyticsdata.properties.audienceExports.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IV_P_AUDIENCE_EXPORTS_ID` | IMPORTING | `STRING` | audienceExportsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_055` | AudienceExport |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_METADATA_PROPERTIES

- Description: analyticsdata.properties.getMetadata
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_027` | Metadata |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_AUDIENCE_EXPORTS

- Description: analyticsdata.properties.audienceExports.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_058` | ListAudienceExportsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### QUERY_AUDIENCE_EXPORTS

- Description: analyticsdata.properties.audienceExports.query
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IV_P_AUDIENCE_EXPORTS_ID` | IMPORTING | `STRING` | audienceExportsId |
| `IS_INPUT` | IMPORTING | `TY_060` | QueryAudienceExportRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_061` | QueryAudienceExportResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### RUN_PIVOT_REPORT_PROPERTIES

- Description: analyticsdata.properties.runPivotReport
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_047` | RunPivotReportRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_048` | RunPivotReportResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### RUN_REALTIME_REPORT_PROPERT

- Description: analyticsdata.properties.runRealtimeReport
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_049` | RunRealtimeReportRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_050` | RunRealtimeReportResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### RUN_REPORT_PROPERTIES

- Description: analyticsdata.properties.runReport
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROPERTIES_ID` | IMPORTING | `STRING` | propertiesId |
| `IS_INPUT` | IMPORTING | `TY_051` | RunReportRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_052` | RunReportResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC