---
title: "Preview the data"
method: POST
path: "/connectors/google_ads/preview"
tags: ["connectors.google_ads"]
---

# Preview the data

`POST /connectors/google_ads/preview`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/connectors/google_ads/preview`
- Auth: none declared

## Request body

- PostSourceGoogleAdsInput
  - `o_auth_id` string
  - `authorizer_id` string
  - `nullable_fields` boolean: Setting this parameter to true allows the use of null values. If set to false, default values for each data type will be used instead.
  - `ensure_data_types` object: Overrides the default data types of the produced Source schema, ensuring that each field is typed as specified.
  - `data_types` object: Overrides the default data types of the produced Source schema, ensuring that each field is typed as specified.
  - `connector_id` string
  - `template_id` string
  - `label` string
  - `allow_empty` boolean: Setting this parameter to true allows extraction operations to proceed even if they produce 0 rows. If set to false, the operation will result in an error if no rows are extracted.
  - `date_range` string, nullable
  - `use_extraction_timestamp` boolean
  - `use_hash` boolean
  - `use_date_start` boolean
  - `use_date_stop` boolean
  - `use_masked_columns` boolean
  - `hash_columns` string[]: Array of strings.
  - `masked_columns` string[]: Array of strings.
  - `google_customer_id` string: This field is deprecated, use googleCustomerIds instead.
  - `customer_client_id` string: This field is deprecated, use customerClientIds instead.
  - `customer_client_ids` string[]: An array containing multiple Google Ads account IDs, utilized for multi-account extraction scenarios.
  - `google_customer_ids` string[]: An array containing multiple Google Ads account IDs, utilized for multi-account extraction scenarios.
  - `report_type` string
  - `use_account_id` boolean
  - `use_account_name` boolean
  - `account_name` string
  - `segment` string[]: Array of Segments. This field is deprecated, use segments instead
  - `segments` string[]: Array of Segments.
  - `metric` string[]: Array of Metrics. This field is deprecated, use metrics instead
  - `metrics` string[]: Array of Metrics.
  - `attributes` string[]: Array of attributes.
  - `attribute` string[]: Array of attributes. This field is deprecated, use attributes instead.
  - `where_filter` string
  - `start` string: Static start date of the query date range, in the format YYYY-MM-DD. Takes effect only when dateRange is not set.
  - `stop` string: Static end date of the query date range, in the format YYYY-MM-DD. Takes effect only when dateRange is not set.
  - `keywords` string: Comma-separated list of seed keywords for Keyword Planner historical metrics.
  - `geo_target_constants` string: Comma-separated list of Google geo target constant IDs.
  - `language` string: Google language constant ID.
  - `keyword_plan_network` string

## Response `200`

Data preview

- PreviewDto
  - `code` string
  - `blob` string
  - `message` string
  - `header` string[]: Array of strings.
  - `log` Log[]
    - `request_url` string
    - `request_method` string
    - `request_header` object: Set of key/value pairs.
    - `request_body` string
    - `response_status_code` integer
    - `response_status` string
    - `response_header` object: Set of key/value pairs.
    - `response_body` string
    - `response_content_length` integer
    - `duration` number, float
    - `cached` boolean
    - `error` string, nullable
  - `key` string[]: Array of strings.
  - `type` string[]
  - `row_count` integer
  - `data` object[]: Row-oriented data: a list of rows, each row a map keyed by column name.

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
