Interface KeywordPlanCampaignKeywordOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getId()
      Output only.
      java.lang.String getKeywordPlanCampaign()
      The Keyword Plan campaign to which this negative keyword belongs.
      com.google.protobuf.ByteString getKeywordPlanCampaignBytes()
      The Keyword Plan campaign to which this negative keyword belongs.
      KeywordMatchTypeEnum.KeywordMatchType getMatchType()
      The keyword match type.
      int getMatchTypeValue()
      The keyword match type.
      boolean getNegative()
      Immutable.
      java.lang.String getResourceName()
      Immutable.
      com.google.protobuf.ByteString getResourceNameBytes()
      Immutable.
      java.lang.String getText()
      The keyword text.
      com.google.protobuf.ByteString getTextBytes()
      The keyword text.
      boolean hasId()
      Output only.
      boolean hasKeywordPlanCampaign()
      The Keyword Plan campaign to which this negative keyword belongs.
      boolean hasNegative()
      Immutable.
      boolean hasText()
      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 Detail

      • getResourceName

        java.lang.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

        java.lang.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

        java.lang.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.v10.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5;
        Returns:
        The enum numeric value on the wire for matchType.
      • getMatchType

        KeywordMatchTypeEnum.KeywordMatchType getMatchType()
         The keyword match type.
         
        .google.ads.googleads.v10.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.