Interface KeywordPlanCampaignKeywordOrBuilder

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

public interface KeywordPlanCampaignKeywordOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Output only.
    The Keyword Plan campaign to which this negative keyword belongs.
    com.google.protobuf.ByteString
    The Keyword Plan campaign to which this negative keyword belongs.
    The keyword match type.
    int
    The keyword match type.
    boolean
    Immutable.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    The keyword text.
    com.google.protobuf.ByteString
    The keyword text.
    boolean
    Output only.
    boolean
    The Keyword Plan campaign to which this negative keyword belongs.
    boolean
    Immutable.
    boolean
    The keyword text.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getResourceName

      String getResourceName()
       Immutable. The resource name of the Keyword Plan Campaign keyword.
       KeywordPlanCampaignKeyword resource names have the form:
      
       `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the Keyword Plan Campaign keyword.
       KeywordPlanCampaignKeyword resource names have the form:
      
       `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasKeywordPlanCampaign

      boolean hasKeywordPlanCampaign()
       The Keyword Plan campaign to which this negative keyword belongs.
       
      optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the keywordPlanCampaign field is set.
    • getKeywordPlanCampaign

      String getKeywordPlanCampaign()
       The Keyword Plan campaign to which this negative keyword belongs.
       
      optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { ... }
      Returns:
      The keywordPlanCampaign.
    • getKeywordPlanCampaignBytes

      com.google.protobuf.ByteString getKeywordPlanCampaignBytes()
       The Keyword Plan campaign to which this negative keyword belongs.
       
      optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for keywordPlanCampaign.
    • hasId

      boolean hasId()
       Output only. The ID of the Keyword Plan negative keyword.
       
      optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. The ID of the Keyword Plan negative keyword.
       
      optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The id.
    • hasText

      boolean hasText()
       The keyword text.
       
      optional string text = 10;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       The keyword text.
       
      optional string text = 10;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       The keyword text.
       
      optional string text = 10;
      Returns:
      The bytes for text.
    • getMatchTypeValue

      int getMatchTypeValue()
       The keyword match type.
       
      .google.ads.googleads.v18.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5;
      Returns:
      The enum numeric value on the wire for matchType.
    • getMatchType

       The keyword match type.
       
      .google.ads.googleads.v18.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5;
      Returns:
      The matchType.
    • hasNegative

      boolean hasNegative()
       Immutable. If true, the keyword is negative.
       Must be set to true. Only negative campaign keywords are supported.
       
      optional bool negative = 11 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the negative field is set.
    • getNegative

      boolean getNegative()
       Immutable. If true, the keyword is negative.
       Must be set to true. Only negative campaign keywords are supported.
       
      optional bool negative = 11 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The negative.