page_title | subcategory | description |
---|---|---|
airbyte_source_google_ads Resource - terraform-provider-airbyte |
SourceGoogleAds Resource |
SourceGoogleAds Resource
resource "airbyte_source_google_ads" "my_source_googleads" {
configuration = {
conversion_window_days = 14
credentials = {
access_token = "...my_access_token..."
client_id = "...my_client_id..."
client_secret = "...my_client_secret..."
developer_token = "...my_developer_token..."
refresh_token = "...my_refresh_token..."
}
custom_queries_array = [
{
query = "SELECT segments.ad_destination_type, campaign.advertising_channel_sub_type FROM campaign WHERE campaign.status = 'PAUSED'"
table_name = "...my_table_name..."
}
]
customer_id = "6783948572,5839201945"
customer_status_filter = [
"SUSPENDED"
]
end_date = "2017-01-30"
start_date = "2017-01-25"
}
definition_id = "340bf2e2-1dfb-458f-b22d-521448c56250"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "b2e3af36-07c6-4325-9aae-252084b9ca1b"
}
configuration
(Attributes) (see below for nested schema)name
(String) Name of the source e.g. dev-mysql-instance.workspace_id
(String)
definition_id
(String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.secret_id
(String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
created_at
(Number)source_id
(String)source_type
(String)
Required:
credentials
(Attributes) (see below for nested schema)
Optional:
conversion_window_days
(Number) A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see Google's documentation. Default: 14custom_queries_array
(Attributes List) (see below for nested schema)customer_id
(String) Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our documentation.customer_status_filter
(List of String) A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads documentation.end_date
(String) UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set)start_date
(String) UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. (Default value of two years ago is used if not set)
Required:
client_id
(String) The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation.client_secret
(String, Sensitive) The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation.developer_token
(String, Sensitive) The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our documentation.refresh_token
(String, Sensitive) The token used to obtain a new Access Token. For detailed instructions on finding this value, refer to our documentation.
Optional:
access_token
(String, Sensitive) The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our documentation.
Required:
query
(String) A custom defined GAQL query for building the report. Avoid including the segments.date field; wherever possible, Airbyte will automatically include it for incremental syncs. For more information, refer to Google's documentation.table_name
(String) The table name in your destination database for the chosen query.
Import is supported using the following syntax:
terraform import airbyte_source_google_ads.my_airbyte_source_google_ads ""