Google Ads API is returning to beta status. Please read our blog post for more details.

domain_category

The domain category referenced in the query.


Attributed resources

Fields from the following resources may be selected along with this resource in your select and where clauses. These fields will not segment metrics.

domain_category.campaign

Field descriptionThe campaign this category is recommended for.
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

domain_category.category

Field descriptionRecommended category for the website domain. e.g. if you have a website about electronics, the categories could be "cameras", "televisions", etc.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.category_rank

Field descriptionThe position of this category in the set of categories. Lower numbers indicate a better match for the domain. null indicates not recommended.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.coverage_fraction

Field descriptionFraction of pages on your site that this category matches.
CategoryATTRIBUTE
Data Type DOUBLE
Type URLgoogle.protobuf.DoubleValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.domain

Field descriptionThe domain for the website. The domain can be specified in the DynamicSearchAdsSetting required for dynamic search ads.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.has_children

Field descriptionIndicates whether this category has sub-categories.
CategoryATTRIBUTE
Data Type BOOLEAN
Type URLgoogle.protobuf.BoolValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.language_code

Field descriptionThe language code specifying the language of the website. e.g. "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.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.recommended_cpc_bid_micros

Field descriptionThe recommended cost per click for the category.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

domain_category.resource_name

Field descriptionThe resource name of the domain category. Domain category resource names have the form: `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}`
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

Send feedback about...

Google Ads API Beta
Google Ads API Beta
Need help? Visit our support page.