Interface DomainCategoryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DomainCategory, DomainCategory.Builder

public interface DomainCategoryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      String getResourceName()
       Output 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}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Output 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}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasCampaign

      boolean hasCampaign()
       Output only. The campaign this category is recommended for.
       
      optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the campaign field is set.
    • getCampaign

      String getCampaign()
       Output only. The campaign this category is recommended for.
       
      optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The campaign.
    • getCampaignBytes

      com.google.protobuf.ByteString getCampaignBytes()
       Output only. The campaign this category is recommended for.
       
      optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for campaign.
    • hasCategory

      boolean hasCategory()
       Output only. Recommended category for the website domain, for example, if
       you have a website about electronics, the categories could be "cameras",
       "televisions", etc.
       
      optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the category field is set.
    • getCategory

      String getCategory()
       Output only. Recommended category for the website domain, for example, if
       you have a website about electronics, the categories could be "cameras",
       "televisions", etc.
       
      optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The category.
    • getCategoryBytes

      com.google.protobuf.ByteString getCategoryBytes()
       Output only. Recommended category for the website domain, for example, if
       you have a website about electronics, the categories could be "cameras",
       "televisions", etc.
       
      optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for category.
    • hasLanguageCode

      boolean hasLanguageCode()
       Output 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.
       
      optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the languageCode field is set.
    • getLanguageCode

      String getLanguageCode()
       Output 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.
       
      optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Output 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.
       
      optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for languageCode.
    • hasDomain

      boolean hasDomain()
       Output only. The domain for the website. The domain can be specified in the
       DynamicSearchAdsSetting required for dynamic search ads.
       
      optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the domain field is set.
    • getDomain

      String getDomain()
       Output only. The domain for the website. The domain can be specified in the
       DynamicSearchAdsSetting required for dynamic search ads.
       
      optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The domain.
    • getDomainBytes

      com.google.protobuf.ByteString getDomainBytes()
       Output only. The domain for the website. The domain can be specified in the
       DynamicSearchAdsSetting required for dynamic search ads.
       
      optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for domain.
    • hasCoverageFraction

      boolean hasCoverageFraction()
       Output only. Fraction of pages on your site that this category matches.
       
      optional double coverage_fraction = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the coverageFraction field is set.
    • getCoverageFraction

      double getCoverageFraction()
       Output only. Fraction of pages on your site that this category matches.
       
      optional double coverage_fraction = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The coverageFraction.
    • hasCategoryRank

      boolean hasCategoryRank()
       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.
       
      optional int64 category_rank = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the categoryRank field is set.
    • getCategoryRank

      long getCategoryRank()
       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.
       
      optional int64 category_rank = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The categoryRank.
    • hasHasChildren

      boolean hasHasChildren()
       Output only. Indicates whether this category has sub-categories.
       
      optional bool has_children = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the hasChildren field is set.
    • getHasChildren

      boolean getHasChildren()
       Output only. Indicates whether this category has sub-categories.
       
      optional bool has_children = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The hasChildren.
    • hasRecommendedCpcBidMicros

      boolean hasRecommendedCpcBidMicros()
       Output only. The recommended cost per click for the category.
       
      optional int64 recommended_cpc_bid_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the recommendedCpcBidMicros field is set.
    • getRecommendedCpcBidMicros

      long getRecommendedCpcBidMicros()
       Output only. The recommended cost per click for the category.
       
      optional int64 recommended_cpc_bid_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The recommendedCpcBidMicros.