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 Details

    • getResourceName

      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

      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

      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

      List<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

      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.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6;
      Returns:
      The enum numeric value on the wire for keywordPlanNetwork.
    • getKeywordPlanNetwork

       Targeting network.
      
       This field is required and should not be empty when creating Keyword Plan
       campaigns.
       
      .google.ads.googleads.v18.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

      List<KeywordPlanGeoTarget> getGeoTargetsList()
       The geo targets.
       Max number allowed: 20.
       
      repeated .google.ads.googleads.v18.resources.KeywordPlanGeoTarget geo_targets = 8;
    • getGeoTargets

      KeywordPlanGeoTarget getGeoTargets(int index)
       The geo targets.
       Max number allowed: 20.
       
      repeated .google.ads.googleads.v18.resources.KeywordPlanGeoTarget geo_targets = 8;
    • getGeoTargetsCount

      int getGeoTargetsCount()
       The geo targets.
       Max number allowed: 20.
       
      repeated .google.ads.googleads.v18.resources.KeywordPlanGeoTarget geo_targets = 8;
    • getGeoTargetsOrBuilderList

      List<? extends KeywordPlanGeoTargetOrBuilder> getGeoTargetsOrBuilderList()
       The geo targets.
       Max number allowed: 20.
       
      repeated .google.ads.googleads.v18.resources.KeywordPlanGeoTarget geo_targets = 8;
    • getGeoTargetsOrBuilder

      KeywordPlanGeoTargetOrBuilder getGeoTargetsOrBuilder(int index)
       The geo targets.
       Max number allowed: 20.
       
      repeated .google.ads.googleads.v18.resources.KeywordPlanGeoTarget geo_targets = 8;