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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetId()Output only.java.lang.StringgetKeywordPlanCampaign()The Keyword Plan campaign to which this negative keyword belongs.com.google.protobuf.ByteStringgetKeywordPlanCampaignBytes()The Keyword Plan campaign to which this negative keyword belongs.KeywordMatchTypeEnum.KeywordMatchTypegetMatchType()The keyword match type.intgetMatchTypeValue()The keyword match type.booleangetNegative()Immutable.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.java.lang.StringgetText()The keyword text.com.google.protobuf.ByteStringgetTextBytes()The keyword text.booleanhasId()Output only.booleanhasKeywordPlanCampaign()The Keyword Plan campaign to which this negative keyword belongs.booleanhasNegative()Immutable.booleanhasText()The keyword text.-
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.
-
-