[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v26/domain_category_query_builder) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v26/resources/domain_category.proto)

A category generated automatically by crawling a domain. If a campaign uses
the DynamicSearchAdsSetting, then domain categories will be generated for
the domain. The categories can be targeted using WebpageConditionInfo.
See: <https://support.google.com/google-ads/answer/2471185>

| Attributed resources |
|---|
| [campaign](https://developers.google.com/google-ads/api/fields/v26/campaign) |
| [customer](https://developers.google.com/google-ads/api/fields/v26/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.

## domain_category.campaign

Field descriptionOutput only. The campaign this category is recommended for.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.category

Field descriptionOutput only. Recommended category for the website domain, for example, if
you have a website about electronics, the categories could be "cameras",
"televisions", etc.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.category_rank

Field descriptionOutput only. The position of this category in the set of categories. Lower
numbers indicate a better match for the domain. null indicates not
recommended.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.coverage_fraction

Field descriptionOutput only. Fraction of pages on your site that this category matches.
Category`ATTRIBUTE` Data Type`DOUBLE` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.domain

Field descriptionOutput only. The domain for the website. The domain can be specified in the
DynamicSearchAdsSetting required for dynamic search ads.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.has_children

Field descriptionOutput only. Indicates whether this category has sub-categories.
Category`ATTRIBUTE` Data Type`BOOLEAN` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.language_code

Field descriptionOutput only. The language code specifying the language of the website, for
example, "en" for English. The language can be specified in the
DynamicSearchAdsSetting required for dynamic search ads. This is the
language of the pages from your website that you want Google Ads to find,
create ads for, and match searches with.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.recommended_cpc_bid_micros

Field descriptionOutput only. The recommended cost per click for the category.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)

## domain_category.resource_name

Field descriptionOutput only. The resource name of the domain category.
Domain category resource names have the form:

`customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[domain_category](https://developers.google.com/google-ads/api/fields/v26/domain_category)