Interface KeywordPlanCampaignOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeywordPlanCampaign,KeywordPlanCampaign.Builder
public interface KeywordPlanCampaignOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCpcBidMicros()A default max cpc bid in micros, and in the account currency, for all ad groups under the campaign.KeywordPlanGeoTargetgetGeoTargets(int index)The geo targets.intgetGeoTargetsCount()The geo targets.java.util.List<KeywordPlanGeoTarget>getGeoTargetsList()The geo targets.KeywordPlanGeoTargetOrBuildergetGeoTargetsOrBuilder(int index)The geo targets.java.util.List<? extends KeywordPlanGeoTargetOrBuilder>getGeoTargetsOrBuilderList()The geo targets.longgetId()Output only.java.lang.StringgetKeywordPlan()The keyword plan this campaign belongs to.com.google.protobuf.ByteStringgetKeywordPlanBytes()The keyword plan this campaign belongs to.KeywordPlanNetworkEnum.KeywordPlanNetworkgetKeywordPlanNetwork()Targeting network.intgetKeywordPlanNetworkValue()Targeting network.java.lang.StringgetLanguageConstants(int index)The languages targeted for the Keyword Plan campaign.com.google.protobuf.ByteStringgetLanguageConstantsBytes(int index)The languages targeted for the Keyword Plan campaign.intgetLanguageConstantsCount()The languages targeted for the Keyword Plan campaign.java.util.List<java.lang.String>getLanguageConstantsList()The languages targeted for the Keyword Plan campaign.java.lang.StringgetName()The name of the Keyword Plan campaign.com.google.protobuf.ByteStringgetNameBytes()The name of the Keyword Plan campaign.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.booleanhasCpcBidMicros()A default max cpc bid in micros, and in the account currency, for all ad groups under the campaign.booleanhasId()Output only.booleanhasKeywordPlan()The keyword plan this campaign belongs to.booleanhasName()The name of the Keyword Plan campaign.-
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. KeywordPlanCampaign resource names have the form: `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_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. KeywordPlanCampaign resource names have the form: `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasKeywordPlan
boolean hasKeywordPlan()
The keyword plan this campaign belongs to.
optional string keyword_plan = 9 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the keywordPlan field is set.
-
getKeywordPlan
java.lang.String getKeywordPlan()
The keyword plan this campaign belongs to.
optional string keyword_plan = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The keywordPlan.
-
getKeywordPlanBytes
com.google.protobuf.ByteString getKeywordPlanBytes()
The keyword plan this campaign belongs to.
optional string keyword_plan = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for keywordPlan.
-
hasId
boolean hasId()
Output only. The ID of the Keyword Plan campaign.
optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
long getId()
Output only. The ID of the Keyword Plan campaign.
optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
hasName
boolean hasName()
The name of the Keyword Plan campaign. This field is required and should not be empty when creating Keyword Plan campaigns.
optional string name = 11;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
The name of the Keyword Plan campaign. This field is required and should not be empty when creating Keyword Plan campaigns.
optional string name = 11;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the Keyword Plan campaign. This field is required and should not be empty when creating Keyword Plan campaigns.
optional string name = 11;- Returns:
- The bytes for name.
-
getLanguageConstantsList
java.util.List<java.lang.String> getLanguageConstantsList()
The languages targeted for the Keyword Plan campaign. Max allowed: 1.
repeated string language_constants = 12 [(.google.api.resource_reference) = { ... }- Returns:
- A list containing the languageConstants.
-
getLanguageConstantsCount
int getLanguageConstantsCount()
The languages targeted for the Keyword Plan campaign. Max allowed: 1.
repeated string language_constants = 12 [(.google.api.resource_reference) = { ... }- Returns:
- The count of languageConstants.
-
getLanguageConstants
java.lang.String getLanguageConstants(int index)
The languages targeted for the Keyword Plan campaign. Max allowed: 1.
repeated string language_constants = 12 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The languageConstants at the given index.
-
getLanguageConstantsBytes
com.google.protobuf.ByteString getLanguageConstantsBytes(int index)
The languages targeted for the Keyword Plan campaign. Max allowed: 1.
repeated string language_constants = 12 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageConstants at the given index.
-
getKeywordPlanNetworkValue
int getKeywordPlanNetworkValue()
Targeting network. This field is required and should not be empty when creating Keyword Plan campaigns.
.google.ads.googleads.v10.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6;- Returns:
- The enum numeric value on the wire for keywordPlanNetwork.
-
getKeywordPlanNetwork
KeywordPlanNetworkEnum.KeywordPlanNetwork getKeywordPlanNetwork()
Targeting network. This field is required and should not be empty when creating Keyword Plan campaigns.
.google.ads.googleads.v10.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6;- Returns:
- The keywordPlanNetwork.
-
hasCpcBidMicros
boolean hasCpcBidMicros()
A default max cpc bid in micros, and in the account currency, for all ad groups under the campaign. This field is required and should not be empty when creating Keyword Plan campaigns.
optional int64 cpc_bid_micros = 13;- Returns:
- Whether the cpcBidMicros field is set.
-
getCpcBidMicros
long getCpcBidMicros()
A default max cpc bid in micros, and in the account currency, for all ad groups under the campaign. This field is required and should not be empty when creating Keyword Plan campaigns.
optional int64 cpc_bid_micros = 13;- Returns:
- The cpcBidMicros.
-
getGeoTargetsList
java.util.List<KeywordPlanGeoTarget> getGeoTargetsList()
The geo targets. Max number allowed: 20.
repeated .google.ads.googleads.v10.resources.KeywordPlanGeoTarget geo_targets = 8;
-
getGeoTargets
KeywordPlanGeoTarget getGeoTargets(int index)
The geo targets. Max number allowed: 20.
repeated .google.ads.googleads.v10.resources.KeywordPlanGeoTarget geo_targets = 8;
-
getGeoTargetsCount
int getGeoTargetsCount()
The geo targets. Max number allowed: 20.
repeated .google.ads.googleads.v10.resources.KeywordPlanGeoTarget geo_targets = 8;
-
getGeoTargetsOrBuilderList
java.util.List<? extends KeywordPlanGeoTargetOrBuilder> getGeoTargetsOrBuilderList()
The geo targets. Max number allowed: 20.
repeated .google.ads.googleads.v10.resources.KeywordPlanGeoTarget geo_targets = 8;
-
getGeoTargetsOrBuilder
KeywordPlanGeoTargetOrBuilder getGeoTargetsOrBuilder(int index)
The geo targets. Max number allowed: 20.
repeated .google.ads.googleads.v10.resources.KeywordPlanGeoTarget geo_targets = 8;
-
-