Interface SearchTermViewOrBuilder

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

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

    • getResourceName

      String getResourceName()
       Output only. The resource name of the search term view.
       Search term view resource names have the form:
      
       `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}`
       
      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 search term view.
       Search term view resource names have the form:
      
       `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasSearchTerm

      boolean hasSearchTerm()
       Output only. The search term.
       
      optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the searchTerm field is set.
    • getSearchTerm

      String getSearchTerm()
       Output only. The search term.
       
      optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The searchTerm.
    • getSearchTermBytes

      com.google.protobuf.ByteString getSearchTermBytes()
       Output only. The search term.
       
      optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for searchTerm.
    • hasAdGroup

      boolean hasAdGroup()
       Output only. The ad group the search term served in.
       
      optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the adGroup field is set.
    • getAdGroup

      String getAdGroup()
       Output only. The ad group the search term served in.
       
      optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The adGroup.
    • getAdGroupBytes

      com.google.protobuf.ByteString getAdGroupBytes()
       Output only. The ad group the search term served in.
       
      optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for adGroup.
    • getStatusValue

      int getStatusValue()
       Output only. Indicates whether the search term is currently one of your
       targeted or excluded keywords.
       
      .google.ads.googleads.v18.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. Indicates whether the search term is currently one of your
       targeted or excluded keywords.
       
      .google.ads.googleads.v18.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The status.