Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: customers.domainCategories

Resource: DomainCategory

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

JSON representation
{
  "resourceName": string,
  "campaign": string,
  "category": string,
  "languageCode": string,
  "domain": string,
  "coverageFraction": number,
  "categoryRank": string,
  "hasChildren": boolean,
  "recommendedCpcBidMicros": string
}
Fields
resourceName

string

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

customers/{customerId}/domainCategories/{campaignId}~{category_base64}~{languageCode}

campaign

string

Output only. The campaign this category is recommended for.

category

string

Output only. Recommended category for the website domain. e.g. if you have a website about electronics, the categories could be "cameras", "televisions", etc.

languageCode

string

Output only. The 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.

domain

string

Output only. The domain for the website. The domain can be specified in the DynamicSearchAdsSetting required for dynamic search ads.

coverageFraction

number

Output only. Fraction of pages on your site that this category matches.

categoryRank

string (int64 format)

Output only. The position of this category in the set of categories. Lower numbers indicate a better match for the domain. null indicates not recommended.

hasChildren

boolean

Output only. Indicates whether this category has sub-categories.

recommendedCpcBidMicros

string (int64 format)

Output only. The recommended cost per click for the category.

Methods

get

Returns the requested domain category.