connectors.google_analytics_4
Preview the data
post/connectors/google_analytics_4/preview
Request
- Base URL: https://headless.dataddo.com/customer-api/v1
- URL: https://headless.dataddo.com/customer-api/v1/connectors/google_analytics_4/preview
- Auth: none declared
Request body
Example request
{
"authorizer_id": "P6T8tazCWdf3pkVzIAlnZa10gh",
"ensure_data_types": {
"field1": "float",
"field2": "string",
"field3": "integer",
"field4": "date"
},
"data_types": {
"field1": "float",
"field2": "string",
"field3": "integer",
"field4": "date"
},
"date_range": "1d1",
"hash_columns": [
"id",
"date_start"
],
"masked_columns": [
"name",
"email"
],
"context_metadata": [
"account_id"
],
"propertyIds": [
"123456789",
"987654321"
],
"accountIds": [
"123456789",
"987654321"
],
"subPropertyIds": [
"123456789",
"987654321"
],
"dimensions": [
"date",
"pagePath",
"pageTitle"
],
"metrics": [
"page_impressions",
"page_impressions_unique"
],
"dimension_filter": "{\n \"filter\": {\n \"fieldName\": \"screenPageViews\",\n \"numericFilter\": {\n \"operation\": \"GREATER_THAN_OR_EQUAL\",\n \"value\": {\n \"int64Value\": 200\n }\n }\n }\n }",
"metric_filter": "{\n \"filter\": {\n \"fieldName\": \"screenPageViews\",\n \"numericFilter\": {\n \"operation\": \"GREATER_THAN_OR_EQUAL\",\n \"value\": {\n \"int64Value\": 200\n }\n }\n }\n }"
}Response
Data preview
Example response
{
"header": [
"np1NErz7B4",
"rPMOx7EOp9"
],
"log": [
{
"request_header": {
"key": "value"
},
"response_header": {
"key": "value"
}
}
],
"key": [
"np1NErz7B4",
"rPMOx7EOp9"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.