A conversion action.

| Attributed resources |
|---|
| [customer](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/customer) |

Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields **will not segment**
metrics in your `SELECT` clause.

#### Fields/Segments/Metrics

This page shows all metrics and segments that can be put in the same SELECT clause as the fields of `conversion_action`.
However, when you specify `conversion_action` in the FROM clause, some metrics and segments
cannot be used.
Use the following filter to show only the fields that can be used when `conversion_action` is specified in the FROM clause.

Is `conversion_action` specified in the FROM clause of your query?
No Yes, it is

|---|---|---|
| | Resource fields | |---| | [app_id](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.app_id) | | [attribution_model_settings.attribution_model](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.attribution_model_settings.attribution_model) | | [attribution_model_settings.data_driven_model_status](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.attribution_model_settings.data_driven_model_status) | | [category](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.category) | | [click_through_lookback_window_days](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.click_through_lookback_window_days) | | [creation_time](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.creation_time) | | [floodlight_settings.activity_group_tag](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.floodlight_settings.activity_group_tag) | | [floodlight_settings.activity_id](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.floodlight_settings.activity_id) | | [floodlight_settings.activity_tag](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.floodlight_settings.activity_tag) | | [id](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.id) | | [include_in_client_account_conversions_metric](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.include_in_client_account_conversions_metric) | | [include_in_conversions_metric](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.include_in_conversions_metric) | | [name](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.name) | | [owner_customer](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.owner_customer) | | [primary_for_goal](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.primary_for_goal) | | [resource_name](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.resource_name) | | [status](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.status) | | [type](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.type) | | [value_settings.always_use_default_value](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.value_settings.always_use_default_value) | | [value_settings.default_currency_code](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.value_settings.default_currency_code) | | [value_settings.default_value](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#conversion_action.value_settings.default_value) | | | Segments | |---| | [date](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#segments.date) | | [month](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#segments.month) | | [quarter](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#segments.quarter) | | [week](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#segments.week) | | [year](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#segments.year) | | | Metrics | |---| | [all_conversions](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.all_conversions) | | [all_conversions_by_conversion_date](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.all_conversions_by_conversion_date) | | [all_conversions_value](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.all_conversions_value) | | [all_conversions_value_by_conversion_date](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.all_conversions_value_by_conversion_date) | | [value_per_all_conversions](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.value_per_all_conversions) | | [value_per_all_conversions_by_conversion_date](https://developers.google.com/search-ads/reporting/api/reference/fields/v0/conversion_action#metrics.value_per_all_conversions_by_conversion_date) | |

|---|
| | ## conversion_action.app_id || |---|---| | Field description | App ID for an app conversion action. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.attribution_model_settings.attribution_model || |---|---| | Field description | The attribution model type of this conversion action. | | Category | `ATTRIBUTE` | | Data Type | ` ENUM EXTERNALGOOGLE_ADS_LAST_CLICKGOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVENGOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICKGOOGLE_SEARCH_ATTRIBUTION_LINEARGOOGLE_SEARCH_ATTRIBUTION_POSITION_BASEDGOOGLE_SEARCH_ATTRIBUTION_TIME_DECAYUNKNOWNUNSPECIFIED ` | | Type URL | `google.ads.searchads360.v0.enums.AttributionModelEnum.AttributionModel` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.attribution_model_settings.data_driven_model_status || |---|---| | Field description | The status of the data-driven attribution model for the conversion action. | | Category | `ATTRIBUTE` | | Data Type | ` ENUM AVAILABLEEXPIREDNEVER_GENERATEDSTALEUNKNOWNUNSPECIFIED ` | | Type URL | `google.ads.searchads360.v0.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.category || |---|---| | Field description | The category of conversions reported for this conversion action. | | Category | `ATTRIBUTE` | | Data Type | ` ENUM ADD_TO_CARTBEGIN_CHECKOUTBOOK_APPOINTMENTCONTACTCONVERTED_LEADDEFAULTDOWNLOADENGAGEMENTGET_DIRECTIONSIMPORTED_LEADLEADOUTBOUND_CLICKPAGE_VIEWPHONE_CALL_LEADPURCHASEQUALIFIED_LEADREQUEST_QUOTESIGNUPSTORE_SALESTORE_VISITSUBMIT_LEAD_FORMSUBSCRIBE_PAIDUNKNOWNUNSPECIFIED ` | | Type URL | `google.ads.searchads360.v0.enums.ConversionActionCategoryEnum.ConversionActionCategory` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.click_through_lookback_window_days || |---|---| | Field description | The maximum number of days that may elapse between an interaction (for example, a click) and a conversion event. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.creation_time || |---|---| | Field description | Timestamp of the Floodlight activity's creation, formatted in ISO 8601. | | Category | `ATTRIBUTE` | | Data Type | `DATE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.floodlight_settings.activity_group_tag || |---|---| | Field description | String used to identify a Floodlight activity group when reporting conversions. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.floodlight_settings.activity_id || |---|---| | Field description | ID of the Floodlight activity in DoubleClick Campaign Manager (DCM). | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.floodlight_settings.activity_tag || |---|---| | Field description | String used to identify a Floodlight activity when reporting conversions. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.id || |---|---| | Field description | The ID of the conversion action. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.include_in_client_account_conversions_metric || |---|---| | Field description | Whether this conversion action should be included in the "client_account_conversions" metric. | | Category | `ATTRIBUTE` | | Data Type | `BOOLEAN` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.include_in_conversions_metric || |---|---| | Field description | Whether this conversion action should be included in the "conversions" metric. | | Category | `ATTRIBUTE` | | Data Type | `BOOLEAN` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.name || |---|---| | Field description | The name of the conversion action. This field is required and should not be empty when creating new conversion actions. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.owner_customer || |---|---| | Field description | The resource name of the conversion action owner customer, or null if this is a system-defined conversion action. | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.primary_for_goal || |---|---| | Field description | If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal. However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom conversion goal configured with a primary_for_goal = false conversion action, that conversion action is still biddable. By default, primary_for_goal will be true if not set. In V9, primary_for_goal can only be set to false after creation through an 'update' operation because it's not declared as optional. | | Category | `ATTRIBUTE` | | Data Type | `BOOLEAN` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.resource_name || |---|---| | Field description | The resource name of the conversion action. Conversion action resource names have the form: `customers/{customer_id}/conversionActions/{conversion_action_id}` | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |
| | ## conversion_action.status || |---|---| | Field description | The status of this conversion action for conversion event accrual. | | Category | `ATTRIBUTE` | | Data Type | ` ENUM ENABLEDHIDDENREMOVEDUNKNOWNUNSPECIFIED ` | | Type URL | `google.ads.searchads360.v0.enums.ConversionActionStatusEnum.ConversionActionStatus` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.type || |---|---| | Field description | The type of this conversion action. | | Category | `ATTRIBUTE` | | Data Type | ` ENUM AD_CALLANDROID_APP_PRE_REGISTRATIONANDROID_INSTALLS_ALL_OTHER_APPSCLICK_TO_CALLFIREBASE_ANDROID_CUSTOMFIREBASE_ANDROID_FIRST_OPENFIREBASE_ANDROID_IN_APP_PURCHASEFIREBASE_IOS_CUSTOMFIREBASE_IOS_FIRST_OPENFIREBASE_IOS_IN_APP_PURCHASEFLOODLIGHT_ACTIONFLOODLIGHT_TRANSACTIONGOOGLE_ANALYTICS_4_CUSTOMGOOGLE_ANALYTICS_4_PURCHASEGOOGLE_HOSTEDGOOGLE_PLAY_DOWNLOADGOOGLE_PLAY_IN_APP_PURCHASELEAD_FORM_SUBMITSALESFORCESEARCH_ADS_360SMART_CAMPAIGN_AD_CLICKS_TO_CALLSMART_CAMPAIGN_MAP_CLICKS_TO_CALLSMART_CAMPAIGN_MAP_DIRECTIONSSMART_CAMPAIGN_TRACKED_CALLSSTORE_SALESSTORE_SALES_DIRECT_UPLOADSTORE_VISITSTHIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOMTHIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPENTHIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASETHIRD_PARTY_APP_ANALYTICS_IOS_CUSTOMTHIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPENTHIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASEUNIVERSAL_ANALYTICS_GOALUNIVERSAL_ANALYTICS_TRANSACTIONUNKNOWNUNSPECIFIEDUPLOAD_CALLSUPLOAD_CLICKSWEBPAGEWEBPAGE_CODELESSWEBSITE_CALL ` | | Type URL | `google.ads.searchads360.v0.enums.ConversionActionTypeEnum.ConversionActionType` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.value_settings.always_use_default_value || |---|---| | Field description | Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action. | | Category | `ATTRIBUTE` | | Data Type | `BOOLEAN` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.value_settings.default_currency_code || |---|---| | Field description | The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## conversion_action.value_settings.default_value || |---|---| | Field description | The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value. | | Category | `ATTRIBUTE` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## segments.date || |---|---| | Field description | Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17. | | Category | `SEGMENT` | | Data Type | `DATE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## segments.month || |---|---| | Field description | Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. | | Category | `SEGMENT` | | Data Type | `DATE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## segments.quarter || |---|---| | Field description | Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. | | Category | `SEGMENT` | | Data Type | `DATE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## segments.week || |---|---| | Field description | Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd. | | Category | `SEGMENT` | | Data Type | `DATE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## segments.year || |---|---| | Field description | Year, formatted as yyyy. | | Category | `SEGMENT` | | Data Type | `INT32` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.all_conversions || |---|---| | Field description | The total number of conversions. This includes all conversions regardless of the value of include_in_conversions_metric. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.all_conversions_by_conversion_date || |---|---| | Field description | The total number of conversions. This includes all conversions regardless of the value of include_in_conversions_metric. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at <https://support.google.com/sa360/answer/9250611>. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.all_conversions_value || |---|---| | Field description | The value of all conversions. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.all_conversions_value_by_conversion_date || |---|---| | Field description | The value of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at <https://support.google.com/sa360/answer/9250611>. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.value_per_all_conversions || |---|---| | Field description | The value of all conversions divided by the number of all conversions. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |
| | ## metrics.value_per_all_conversions_by_conversion_date || |---|---| | Field description | The value of all conversions divided by the number of all conversions. When this column is selected with date, the values in date column means the conversion date. Details for the by_conversion_date columns are available at <https://support.google.com/sa360/answer/9250611>. | | Category | `METRIC` | | Data Type | `DOUBLE` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |