Class Campaign.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
com.google.ads.googleads.v18.resources.Campaign.Builder
All Implemented Interfaces:
CampaignOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Campaign

public static final class Campaign.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder> implements CampaignOrBuilder
 A campaign.
 
Protobuf type google.ads.googleads.v18.resources.Campaign
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • clear

      public Campaign.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • getDefaultInstanceForType

      public Campaign getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Campaign build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Campaign buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Campaign.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • setField

      public Campaign.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • clearField

      public Campaign.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • clearOneof

      public Campaign.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • setRepeatedField

      public Campaign.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • addRepeatedField

      public Campaign.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • mergeFrom

      public Campaign.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Campaign.Builder>
    • mergeFrom

      public Campaign.Builder mergeFrom(Campaign other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • mergeFrom

      public Campaign.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Campaign.Builder>
      Throws:
      IOException
    • getCampaignBiddingStrategyCase

      public Campaign.CampaignBiddingStrategyCase getCampaignBiddingStrategyCase()
      Specified by:
      getCampaignBiddingStrategyCase in interface CampaignOrBuilder
    • clearCampaignBiddingStrategy

      public Campaign.Builder clearCampaignBiddingStrategy()
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the campaign.
       Campaign resource names have the form:
      
       `customers/{customer_id}/campaigns/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface CampaignOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the campaign.
       Campaign resource names have the form:
      
       `customers/{customer_id}/campaigns/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface CampaignOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public Campaign.Builder setResourceName(String value)
       Immutable. The resource name of the campaign.
       Campaign resource names have the form:
      
       `customers/{customer_id}/campaigns/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public Campaign.Builder clearResourceName()
       Immutable. The resource name of the campaign.
       Campaign resource names have the form:
      
       `customers/{customer_id}/campaigns/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public Campaign.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the campaign.
       Campaign resource names have the form:
      
       `customers/{customer_id}/campaigns/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. The ID of the campaign.
       
      optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasId in interface CampaignOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. The ID of the campaign.
       
      optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface CampaignOrBuilder
      Returns:
      The id.
    • setId

      public Campaign.Builder setId(long value)
       Output only. The ID of the campaign.
       
      optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Campaign.Builder clearId()
       Output only. The ID of the campaign.
       
      optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Specified by:
      hasName in interface CampaignOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Specified by:
      getName in interface CampaignOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Specified by:
      getNameBytes in interface CampaignOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Campaign.Builder setName(String value)
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Campaign.Builder clearName()
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Campaign.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the campaign.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       It must not contain any null (code point 0x0), NL line feed
       (code point 0xA) or carriage return (code point 0xD) characters.
       
      optional string name = 58;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPrimaryStatusValue

      public int getPrimaryStatusValue()
       Output only. The primary status of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. Modification to the campaign and its related entities might take
       a while to be reflected in this status.
       
      .google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for primaryStatus.
    • setPrimaryStatusValue

      public Campaign.Builder setPrimaryStatusValue(int value)
       Output only. The primary status of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. Modification to the campaign and its related entities might take
       a while to be reflected in this status.
       
      .google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for primaryStatus to set.
      Returns:
      This builder for chaining.
    • getPrimaryStatus

       Output only. The primary status of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. Modification to the campaign and its related entities might take
       a while to be reflected in this status.
       
      .google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatus in interface CampaignOrBuilder
      Returns:
      The primaryStatus.
    • setPrimaryStatus

       Output only. The primary status of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. Modification to the campaign and its related entities might take
       a while to be reflected in this status.
       
      .google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryStatus to set.
      Returns:
      This builder for chaining.
    • clearPrimaryStatus

      public Campaign.Builder clearPrimaryStatus()
       Output only. The primary status of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. Modification to the campaign and its related entities might take
       a while to be reflected in this status.
       
      .google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getPrimaryStatusReasonsList

       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsList in interface CampaignOrBuilder
      Returns:
      A list containing the primaryStatusReasons.
    • getPrimaryStatusReasonsCount

      public int getPrimaryStatusReasonsCount()
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsCount in interface CampaignOrBuilder
      Returns:
      The count of primaryStatusReasons.
    • getPrimaryStatusReasons

      public CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason getPrimaryStatusReasons(int index)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasons in interface CampaignOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The primaryStatusReasons at the given index.
    • setPrimaryStatusReasons

      public Campaign.Builder setPrimaryStatusReasons(int index, CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason value)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The primaryStatusReasons to set.
      Returns:
      This builder for chaining.
    • addPrimaryStatusReasons

       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • addAllPrimaryStatusReasons

      public Campaign.Builder addAllPrimaryStatusReasons(Iterable<? extends CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason> values)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • clearPrimaryStatusReasons

      public Campaign.Builder clearPrimaryStatusReasons()
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getPrimaryStatusReasonsValueList

      public List<Integer> getPrimaryStatusReasonsValueList()
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValueList in interface CampaignOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for primaryStatusReasons.
    • getPrimaryStatusReasonsValue

      public int getPrimaryStatusReasonsValue(int index)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValue in interface CampaignOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of primaryStatusReasons at the given index.
    • setPrimaryStatusReasonsValue

      public Campaign.Builder setPrimaryStatusReasonsValue(int index, int value)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for primaryStatusReasons to set.
      Returns:
      This builder for chaining.
    • addPrimaryStatusReasonsValue

      public Campaign.Builder addPrimaryStatusReasonsValue(int value)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • addAllPrimaryStatusReasonsValue

      public Campaign.Builder addAllPrimaryStatusReasonsValue(Iterable<Integer> values)
       Output only. The primary status reasons of the campaign.
      
       Provides insight into why a campaign is not serving or not serving
       optimally. These reasons are aggregated to determine an overall
       CampaignPrimaryStatus.
       
      repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       The status of the campaign.
      
       When a new campaign is added, the status defaults to ENABLED.
       
      .google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;
      Specified by:
      getStatusValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Campaign.Builder setStatusValue(int value)
       The status of the campaign.
      
       When a new campaign is added, the status defaults to ENABLED.
       
      .google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

       The status of the campaign.
      
       When a new campaign is added, the status defaults to ENABLED.
       
      .google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;
      Specified by:
      getStatus in interface CampaignOrBuilder
      Returns:
      The status.
    • setStatus

       The status of the campaign.
      
       When a new campaign is added, the status defaults to ENABLED.
       
      .google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Campaign.Builder clearStatus()
       The status of the campaign.
      
       When a new campaign is added, the status defaults to ENABLED.
       
      .google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;
      Returns:
      This builder for chaining.
    • getServingStatusValue

      public int getServingStatusValue()
       Output only. The ad serving status of the campaign.
       
      .google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServingStatusValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for servingStatus.
    • setServingStatusValue

      public Campaign.Builder setServingStatusValue(int value)
       Output only. The ad serving status of the campaign.
       
      .google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for servingStatus to set.
      Returns:
      This builder for chaining.
    • getServingStatus

       Output only. The ad serving status of the campaign.
       
      .google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServingStatus in interface CampaignOrBuilder
      Returns:
      The servingStatus.
    • setServingStatus

       Output only. The ad serving status of the campaign.
       
      .google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The servingStatus to set.
      Returns:
      This builder for chaining.
    • clearServingStatus

      public Campaign.Builder clearServingStatus()
       Output only. The ad serving status of the campaign.
       
      .google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getBiddingStrategySystemStatusValue

      public int getBiddingStrategySystemStatusValue()
       Output only. The system status of the campaign's bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiddingStrategySystemStatusValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for biddingStrategySystemStatus.
    • setBiddingStrategySystemStatusValue

      public Campaign.Builder setBiddingStrategySystemStatusValue(int value)
       Output only. The system status of the campaign's bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for biddingStrategySystemStatus to set.
      Returns:
      This builder for chaining.
    • getBiddingStrategySystemStatus

      public BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus getBiddingStrategySystemStatus()
       Output only. The system status of the campaign's bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiddingStrategySystemStatus in interface CampaignOrBuilder
      Returns:
      The biddingStrategySystemStatus.
    • setBiddingStrategySystemStatus

       Output only. The system status of the campaign's bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The biddingStrategySystemStatus to set.
      Returns:
      This builder for chaining.
    • clearBiddingStrategySystemStatus

      public Campaign.Builder clearBiddingStrategySystemStatus()
       Output only. The system status of the campaign's bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getAdServingOptimizationStatusValue

      public int getAdServingOptimizationStatusValue()
       The ad serving optimization status of the campaign.
       
      .google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
      Specified by:
      getAdServingOptimizationStatusValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for adServingOptimizationStatus.
    • setAdServingOptimizationStatusValue

      public Campaign.Builder setAdServingOptimizationStatusValue(int value)
       The ad serving optimization status of the campaign.
       
      .google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
      Parameters:
      value - The enum numeric value on the wire for adServingOptimizationStatus to set.
      Returns:
      This builder for chaining.
    • getAdServingOptimizationStatus

      public AdServingOptimizationStatusEnum.AdServingOptimizationStatus getAdServingOptimizationStatus()
       The ad serving optimization status of the campaign.
       
      .google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
      Specified by:
      getAdServingOptimizationStatus in interface CampaignOrBuilder
      Returns:
      The adServingOptimizationStatus.
    • setAdServingOptimizationStatus

       The ad serving optimization status of the campaign.
       
      .google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
      Parameters:
      value - The adServingOptimizationStatus to set.
      Returns:
      This builder for chaining.
    • clearAdServingOptimizationStatus

      public Campaign.Builder clearAdServingOptimizationStatus()
       The ad serving optimization status of the campaign.
       
      .google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
      Returns:
      This builder for chaining.
    • getAdvertisingChannelTypeValue

      public int getAdvertisingChannelTypeValue()
       Immutable. The primary serving target for ads within the campaign.
       The targeting options can be refined in `network_settings`.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       Can be set only when creating campaigns.
       After the campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertisingChannelTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for advertisingChannelType.
    • setAdvertisingChannelTypeValue

      public Campaign.Builder setAdvertisingChannelTypeValue(int value)
       Immutable. The primary serving target for ads within the campaign.
       The targeting options can be refined in `network_settings`.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       Can be set only when creating campaigns.
       After the campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • getAdvertisingChannelType

      public AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()
       Immutable. The primary serving target for ads within the campaign.
       The targeting options can be refined in `network_settings`.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       Can be set only when creating campaigns.
       After the campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertisingChannelType in interface CampaignOrBuilder
      Returns:
      The advertisingChannelType.
    • setAdvertisingChannelType

      public Campaign.Builder setAdvertisingChannelType(AdvertisingChannelTypeEnum.AdvertisingChannelType value)
       Immutable. The primary serving target for ads within the campaign.
       The targeting options can be refined in `network_settings`.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       Can be set only when creating campaigns.
       After the campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • clearAdvertisingChannelType

      public Campaign.Builder clearAdvertisingChannelType()
       Immutable. The primary serving target for ads within the campaign.
       The targeting options can be refined in `network_settings`.
      
       This field is required and should not be empty when creating new
       campaigns.
      
       Can be set only when creating campaigns.
       After the campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getAdvertisingChannelSubTypeValue

      public int getAdvertisingChannelSubTypeValue()
       Immutable. Optional refinement to `advertising_channel_type`.
       Must be a valid sub-type of the parent channel type.
      
       Can be set only when creating campaigns.
       After campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertisingChannelSubTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for advertisingChannelSubType.
    • setAdvertisingChannelSubTypeValue

      public Campaign.Builder setAdvertisingChannelSubTypeValue(int value)
       Immutable. Optional refinement to `advertising_channel_type`.
       Must be a valid sub-type of the parent channel type.
      
       Can be set only when creating campaigns.
       After campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for advertisingChannelSubType to set.
      Returns:
      This builder for chaining.
    • getAdvertisingChannelSubType

      public AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType getAdvertisingChannelSubType()
       Immutable. Optional refinement to `advertising_channel_type`.
       Must be a valid sub-type of the parent channel type.
      
       Can be set only when creating campaigns.
       After campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertisingChannelSubType in interface CampaignOrBuilder
      Returns:
      The advertisingChannelSubType.
    • setAdvertisingChannelSubType

       Immutable. Optional refinement to `advertising_channel_type`.
       Must be a valid sub-type of the parent channel type.
      
       Can be set only when creating campaigns.
       After campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The advertisingChannelSubType to set.
      Returns:
      This builder for chaining.
    • clearAdvertisingChannelSubType

      public Campaign.Builder clearAdvertisingChannelSubType()
       Immutable. Optional refinement to `advertising_channel_type`.
       Must be a valid sub-type of the parent channel type.
      
       Can be set only when creating campaigns.
       After campaign is created, the field can not be changed.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • hasTrackingUrlTemplate

      public boolean hasTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Specified by:
      hasTrackingUrlTemplate in interface CampaignOrBuilder
      Returns:
      Whether the trackingUrlTemplate field is set.
    • getTrackingUrlTemplate

      public String getTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Specified by:
      getTrackingUrlTemplate in interface CampaignOrBuilder
      Returns:
      The trackingUrlTemplate.
    • getTrackingUrlTemplateBytes

      public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Specified by:
      getTrackingUrlTemplateBytes in interface CampaignOrBuilder
      Returns:
      The bytes for trackingUrlTemplate.
    • setTrackingUrlTemplate

      public Campaign.Builder setTrackingUrlTemplate(String value)
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Parameters:
      value - The trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • clearTrackingUrlTemplate

      public Campaign.Builder clearTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Returns:
      This builder for chaining.
    • setTrackingUrlTemplateBytes

      public Campaign.Builder setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 60;
      Parameters:
      value - The bytes for trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • getUrlCustomParametersList

      public List<CustomParameter> getUrlCustomParametersList()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
      Specified by:
      getUrlCustomParametersList in interface CampaignOrBuilder
    • getUrlCustomParametersCount

      public int getUrlCustomParametersCount()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
      Specified by:
      getUrlCustomParametersCount in interface CampaignOrBuilder
    • getUrlCustomParameters

      public CustomParameter getUrlCustomParameters(int index)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
      Specified by:
      getUrlCustomParameters in interface CampaignOrBuilder
    • setUrlCustomParameters

      public Campaign.Builder setUrlCustomParameters(int index, CustomParameter value)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • setUrlCustomParameters

      public Campaign.Builder setUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addUrlCustomParameters

      public Campaign.Builder addUrlCustomParameters(CustomParameter value)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addUrlCustomParameters

      public Campaign.Builder addUrlCustomParameters(int index, CustomParameter value)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addUrlCustomParameters

      public Campaign.Builder addUrlCustomParameters(CustomParameter.Builder builderForValue)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addUrlCustomParameters

      public Campaign.Builder addUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addAllUrlCustomParameters

      public Campaign.Builder addAllUrlCustomParameters(Iterable<? extends CustomParameter> values)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • clearUrlCustomParameters

      public Campaign.Builder clearUrlCustomParameters()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • removeUrlCustomParameters

      public Campaign.Builder removeUrlCustomParameters(int index)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • getUrlCustomParametersBuilder

      public CustomParameter.Builder getUrlCustomParametersBuilder(int index)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • getUrlCustomParametersOrBuilder

      public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
      Specified by:
      getUrlCustomParametersOrBuilder in interface CampaignOrBuilder
    • getUrlCustomParametersOrBuilderList

      public List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
      Specified by:
      getUrlCustomParametersOrBuilderList in interface CampaignOrBuilder
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder(int index)
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • getUrlCustomParametersBuilderList

      public List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
       The list of mappings used to substitute custom parameter tags in a
       `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;
    • hasLocalServicesCampaignSettings

      public boolean hasLocalServicesCampaignSettings()
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
      Specified by:
      hasLocalServicesCampaignSettings in interface CampaignOrBuilder
      Returns:
      Whether the localServicesCampaignSettings field is set.
    • getLocalServicesCampaignSettings

      public Campaign.LocalServicesCampaignSettings getLocalServicesCampaignSettings()
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
      Specified by:
      getLocalServicesCampaignSettings in interface CampaignOrBuilder
      Returns:
      The localServicesCampaignSettings.
    • setLocalServicesCampaignSettings

      public Campaign.Builder setLocalServicesCampaignSettings(Campaign.LocalServicesCampaignSettings value)
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
    • setLocalServicesCampaignSettings

      public Campaign.Builder setLocalServicesCampaignSettings(Campaign.LocalServicesCampaignSettings.Builder builderForValue)
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
    • mergeLocalServicesCampaignSettings

      public Campaign.Builder mergeLocalServicesCampaignSettings(Campaign.LocalServicesCampaignSettings value)
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
    • clearLocalServicesCampaignSettings

      public Campaign.Builder clearLocalServicesCampaignSettings()
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
    • getLocalServicesCampaignSettingsBuilder

      public Campaign.LocalServicesCampaignSettings.Builder getLocalServicesCampaignSettingsBuilder()
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
    • getLocalServicesCampaignSettingsOrBuilder

      public Campaign.LocalServicesCampaignSettingsOrBuilder getLocalServicesCampaignSettingsOrBuilder()
       The Local Services Campaign related settings.
       
      .google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
      Specified by:
      getLocalServicesCampaignSettingsOrBuilder in interface CampaignOrBuilder
    • hasTravelCampaignSettings

      public boolean hasTravelCampaignSettings()
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
      Specified by:
      hasTravelCampaignSettings in interface CampaignOrBuilder
      Returns:
      Whether the travelCampaignSettings field is set.
    • getTravelCampaignSettings

      public Campaign.TravelCampaignSettings getTravelCampaignSettings()
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
      Specified by:
      getTravelCampaignSettings in interface CampaignOrBuilder
      Returns:
      The travelCampaignSettings.
    • setTravelCampaignSettings

      public Campaign.Builder setTravelCampaignSettings(Campaign.TravelCampaignSettings value)
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
    • setTravelCampaignSettings

      public Campaign.Builder setTravelCampaignSettings(Campaign.TravelCampaignSettings.Builder builderForValue)
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
    • mergeTravelCampaignSettings

      public Campaign.Builder mergeTravelCampaignSettings(Campaign.TravelCampaignSettings value)
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
    • clearTravelCampaignSettings

      public Campaign.Builder clearTravelCampaignSettings()
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
    • getTravelCampaignSettingsBuilder

      public Campaign.TravelCampaignSettings.Builder getTravelCampaignSettingsBuilder()
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
    • getTravelCampaignSettingsOrBuilder

      public Campaign.TravelCampaignSettingsOrBuilder getTravelCampaignSettingsOrBuilder()
       Settings for Travel campaign.
       
      .google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
      Specified by:
      getTravelCampaignSettingsOrBuilder in interface CampaignOrBuilder
    • hasDemandGenCampaignSettings

      public boolean hasDemandGenCampaignSettings()
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
      Specified by:
      hasDemandGenCampaignSettings in interface CampaignOrBuilder
      Returns:
      Whether the demandGenCampaignSettings field is set.
    • getDemandGenCampaignSettings

      public Campaign.DemandGenCampaignSettings getDemandGenCampaignSettings()
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
      Specified by:
      getDemandGenCampaignSettings in interface CampaignOrBuilder
      Returns:
      The demandGenCampaignSettings.
    • setDemandGenCampaignSettings

      public Campaign.Builder setDemandGenCampaignSettings(Campaign.DemandGenCampaignSettings value)
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
    • setDemandGenCampaignSettings

      public Campaign.Builder setDemandGenCampaignSettings(Campaign.DemandGenCampaignSettings.Builder builderForValue)
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
    • mergeDemandGenCampaignSettings

      public Campaign.Builder mergeDemandGenCampaignSettings(Campaign.DemandGenCampaignSettings value)
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
    • clearDemandGenCampaignSettings

      public Campaign.Builder clearDemandGenCampaignSettings()
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
    • getDemandGenCampaignSettingsBuilder

      public Campaign.DemandGenCampaignSettings.Builder getDemandGenCampaignSettingsBuilder()
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
    • getDemandGenCampaignSettingsOrBuilder

      public Campaign.DemandGenCampaignSettingsOrBuilder getDemandGenCampaignSettingsOrBuilder()
       Settings for Demand Gen campaign.
       
      .google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;
      Specified by:
      getDemandGenCampaignSettingsOrBuilder in interface CampaignOrBuilder
    • hasVideoCampaignSettings

      public boolean hasVideoCampaignSettings()
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
      Specified by:
      hasVideoCampaignSettings in interface CampaignOrBuilder
      Returns:
      Whether the videoCampaignSettings field is set.
    • getVideoCampaignSettings

      public Campaign.VideoCampaignSettings getVideoCampaignSettings()
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
      Specified by:
      getVideoCampaignSettings in interface CampaignOrBuilder
      Returns:
      The videoCampaignSettings.
    • setVideoCampaignSettings

      public Campaign.Builder setVideoCampaignSettings(Campaign.VideoCampaignSettings value)
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
    • setVideoCampaignSettings

      public Campaign.Builder setVideoCampaignSettings(Campaign.VideoCampaignSettings.Builder builderForValue)
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
    • mergeVideoCampaignSettings

      public Campaign.Builder mergeVideoCampaignSettings(Campaign.VideoCampaignSettings value)
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
    • clearVideoCampaignSettings

      public Campaign.Builder clearVideoCampaignSettings()
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
    • getVideoCampaignSettingsBuilder

      public Campaign.VideoCampaignSettings.Builder getVideoCampaignSettingsBuilder()
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
    • getVideoCampaignSettingsOrBuilder

      public Campaign.VideoCampaignSettingsOrBuilder getVideoCampaignSettingsOrBuilder()
       Settings for Video campaign.
       
      .google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;
      Specified by:
      getVideoCampaignSettingsOrBuilder in interface CampaignOrBuilder
    • hasRealTimeBiddingSetting

      public boolean hasRealTimeBiddingSetting()
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
      Specified by:
      hasRealTimeBiddingSetting in interface CampaignOrBuilder
      Returns:
      Whether the realTimeBiddingSetting field is set.
    • getRealTimeBiddingSetting

      public RealTimeBiddingSetting getRealTimeBiddingSetting()
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
      Specified by:
      getRealTimeBiddingSetting in interface CampaignOrBuilder
      Returns:
      The realTimeBiddingSetting.
    • setRealTimeBiddingSetting

      public Campaign.Builder setRealTimeBiddingSetting(RealTimeBiddingSetting value)
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
    • setRealTimeBiddingSetting

      public Campaign.Builder setRealTimeBiddingSetting(RealTimeBiddingSetting.Builder builderForValue)
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
    • mergeRealTimeBiddingSetting

      public Campaign.Builder mergeRealTimeBiddingSetting(RealTimeBiddingSetting value)
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
    • clearRealTimeBiddingSetting

      public Campaign.Builder clearRealTimeBiddingSetting()
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
    • getRealTimeBiddingSettingBuilder

      public RealTimeBiddingSetting.Builder getRealTimeBiddingSettingBuilder()
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
    • getRealTimeBiddingSettingOrBuilder

      public RealTimeBiddingSettingOrBuilder getRealTimeBiddingSettingOrBuilder()
       Settings for Real-Time Bidding, a feature only available for campaigns
       targeting the Ad Exchange network.
       
      .google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
      Specified by:
      getRealTimeBiddingSettingOrBuilder in interface CampaignOrBuilder
    • hasNetworkSettings

      public boolean hasNetworkSettings()
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
      Specified by:
      hasNetworkSettings in interface CampaignOrBuilder
      Returns:
      Whether the networkSettings field is set.
    • getNetworkSettings

      public Campaign.NetworkSettings getNetworkSettings()
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
      Specified by:
      getNetworkSettings in interface CampaignOrBuilder
      Returns:
      The networkSettings.
    • setNetworkSettings

      public Campaign.Builder setNetworkSettings(Campaign.NetworkSettings value)
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
    • setNetworkSettings

      public Campaign.Builder setNetworkSettings(Campaign.NetworkSettings.Builder builderForValue)
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
    • mergeNetworkSettings

      public Campaign.Builder mergeNetworkSettings(Campaign.NetworkSettings value)
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
    • clearNetworkSettings

      public Campaign.Builder clearNetworkSettings()
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
    • getNetworkSettingsBuilder

      public Campaign.NetworkSettings.Builder getNetworkSettingsBuilder()
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
    • getNetworkSettingsOrBuilder

      public Campaign.NetworkSettingsOrBuilder getNetworkSettingsOrBuilder()
       The network settings for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;
      Specified by:
      getNetworkSettingsOrBuilder in interface CampaignOrBuilder
    • hasHotelSetting

      public boolean hasHotelSetting()
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasHotelSetting in interface CampaignOrBuilder
      Returns:
      Whether the hotelSetting field is set.
    • getHotelSetting

      public Campaign.HotelSettingInfo getHotelSetting()
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getHotelSetting in interface CampaignOrBuilder
      Returns:
      The hotelSetting.
    • setHotelSetting

      public Campaign.Builder setHotelSetting(Campaign.HotelSettingInfo value)
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
    • setHotelSetting

      public Campaign.Builder setHotelSetting(Campaign.HotelSettingInfo.Builder builderForValue)
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
    • mergeHotelSetting

      public Campaign.Builder mergeHotelSetting(Campaign.HotelSettingInfo value)
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
    • clearHotelSetting

      public Campaign.Builder clearHotelSetting()
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
    • getHotelSettingBuilder

      public Campaign.HotelSettingInfo.Builder getHotelSettingBuilder()
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
    • getHotelSettingOrBuilder

      public Campaign.HotelSettingInfoOrBuilder getHotelSettingOrBuilder()
       Immutable. The hotel setting for the campaign.
       
      .google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getHotelSettingOrBuilder in interface CampaignOrBuilder
    • hasDynamicSearchAdsSetting

      public boolean hasDynamicSearchAdsSetting()
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
      Specified by:
      hasDynamicSearchAdsSetting in interface CampaignOrBuilder
      Returns:
      Whether the dynamicSearchAdsSetting field is set.
    • getDynamicSearchAdsSetting

      public Campaign.DynamicSearchAdsSetting getDynamicSearchAdsSetting()
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
      Specified by:
      getDynamicSearchAdsSetting in interface CampaignOrBuilder
      Returns:
      The dynamicSearchAdsSetting.
    • setDynamicSearchAdsSetting

      public Campaign.Builder setDynamicSearchAdsSetting(Campaign.DynamicSearchAdsSetting value)
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
    • setDynamicSearchAdsSetting

      public Campaign.Builder setDynamicSearchAdsSetting(Campaign.DynamicSearchAdsSetting.Builder builderForValue)
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
    • mergeDynamicSearchAdsSetting

      public Campaign.Builder mergeDynamicSearchAdsSetting(Campaign.DynamicSearchAdsSetting value)
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
    • clearDynamicSearchAdsSetting

      public Campaign.Builder clearDynamicSearchAdsSetting()
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
    • getDynamicSearchAdsSettingBuilder

      public Campaign.DynamicSearchAdsSetting.Builder getDynamicSearchAdsSettingBuilder()
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
    • getDynamicSearchAdsSettingOrBuilder

      public Campaign.DynamicSearchAdsSettingOrBuilder getDynamicSearchAdsSettingOrBuilder()
       The setting for controlling Dynamic Search Ads (DSA).
       
      .google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
      Specified by:
      getDynamicSearchAdsSettingOrBuilder in interface CampaignOrBuilder
    • hasShoppingSetting

      public boolean hasShoppingSetting()
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
      Specified by:
      hasShoppingSetting in interface CampaignOrBuilder
      Returns:
      Whether the shoppingSetting field is set.
    • getShoppingSetting

      public Campaign.ShoppingSetting getShoppingSetting()
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
      Specified by:
      getShoppingSetting in interface CampaignOrBuilder
      Returns:
      The shoppingSetting.
    • setShoppingSetting

      public Campaign.Builder setShoppingSetting(Campaign.ShoppingSetting value)
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
    • setShoppingSetting

      public Campaign.Builder setShoppingSetting(Campaign.ShoppingSetting.Builder builderForValue)
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
    • mergeShoppingSetting

      public Campaign.Builder mergeShoppingSetting(Campaign.ShoppingSetting value)
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
    • clearShoppingSetting

      public Campaign.Builder clearShoppingSetting()
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
    • getShoppingSettingBuilder

      public Campaign.ShoppingSetting.Builder getShoppingSettingBuilder()
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
    • getShoppingSettingOrBuilder

      public Campaign.ShoppingSettingOrBuilder getShoppingSettingOrBuilder()
       The setting for controlling Shopping campaigns.
       
      .google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;
      Specified by:
      getShoppingSettingOrBuilder in interface CampaignOrBuilder
    • hasTargetingSetting

      public boolean hasTargetingSetting()
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
      Specified by:
      hasTargetingSetting in interface CampaignOrBuilder
      Returns:
      Whether the targetingSetting field is set.
    • getTargetingSetting

      public TargetingSetting getTargetingSetting()
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
      Specified by:
      getTargetingSetting in interface CampaignOrBuilder
      Returns:
      The targetingSetting.
    • setTargetingSetting

      public Campaign.Builder setTargetingSetting(TargetingSetting value)
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
    • setTargetingSetting

      public Campaign.Builder setTargetingSetting(TargetingSetting.Builder builderForValue)
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
    • mergeTargetingSetting

      public Campaign.Builder mergeTargetingSetting(TargetingSetting value)
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
    • clearTargetingSetting

      public Campaign.Builder clearTargetingSetting()
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
    • getTargetingSettingBuilder

      public TargetingSetting.Builder getTargetingSettingBuilder()
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
    • getTargetingSettingOrBuilder

      public TargetingSettingOrBuilder getTargetingSettingOrBuilder()
       Setting for targeting related features.
       
      .google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;
      Specified by:
      getTargetingSettingOrBuilder in interface CampaignOrBuilder
    • hasAudienceSetting

      public boolean hasAudienceSetting()
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasAudienceSetting in interface CampaignOrBuilder
      Returns:
      Whether the audienceSetting field is set.
    • getAudienceSetting

      public Campaign.AudienceSetting getAudienceSetting()
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAudienceSetting in interface CampaignOrBuilder
      Returns:
      The audienceSetting.
    • setAudienceSetting

      public Campaign.Builder setAudienceSetting(Campaign.AudienceSetting value)
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
    • setAudienceSetting

      public Campaign.Builder setAudienceSetting(Campaign.AudienceSetting.Builder builderForValue)
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
    • mergeAudienceSetting

      public Campaign.Builder mergeAudienceSetting(Campaign.AudienceSetting value)
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
    • clearAudienceSetting

      public Campaign.Builder clearAudienceSetting()
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
    • getAudienceSettingBuilder

      public Campaign.AudienceSetting.Builder getAudienceSettingBuilder()
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
    • getAudienceSettingOrBuilder

      public Campaign.AudienceSettingOrBuilder getAudienceSettingOrBuilder()
       Immutable. Setting for audience related features.
       
      optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAudienceSettingOrBuilder in interface CampaignOrBuilder
    • hasGeoTargetTypeSetting

      public boolean hasGeoTargetTypeSetting()
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
      Specified by:
      hasGeoTargetTypeSetting in interface CampaignOrBuilder
      Returns:
      Whether the geoTargetTypeSetting field is set.
    • getGeoTargetTypeSetting

      public Campaign.GeoTargetTypeSetting getGeoTargetTypeSetting()
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
      Specified by:
      getGeoTargetTypeSetting in interface CampaignOrBuilder
      Returns:
      The geoTargetTypeSetting.
    • setGeoTargetTypeSetting

      public Campaign.Builder setGeoTargetTypeSetting(Campaign.GeoTargetTypeSetting value)
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
    • setGeoTargetTypeSetting

      public Campaign.Builder setGeoTargetTypeSetting(Campaign.GeoTargetTypeSetting.Builder builderForValue)
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
    • mergeGeoTargetTypeSetting

      public Campaign.Builder mergeGeoTargetTypeSetting(Campaign.GeoTargetTypeSetting value)
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
    • clearGeoTargetTypeSetting

      public Campaign.Builder clearGeoTargetTypeSetting()
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
    • getGeoTargetTypeSettingBuilder

      public Campaign.GeoTargetTypeSetting.Builder getGeoTargetTypeSettingBuilder()
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
    • getGeoTargetTypeSettingOrBuilder

      public Campaign.GeoTargetTypeSettingOrBuilder getGeoTargetTypeSettingOrBuilder()
       The setting for ads geotargeting.
       
      .google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
      Specified by:
      getGeoTargetTypeSettingOrBuilder in interface CampaignOrBuilder
    • hasLocalCampaignSetting

      public boolean hasLocalCampaignSetting()
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
      Specified by:
      hasLocalCampaignSetting in interface CampaignOrBuilder
      Returns:
      Whether the localCampaignSetting field is set.
    • getLocalCampaignSetting

      public Campaign.LocalCampaignSetting getLocalCampaignSetting()
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
      Specified by:
      getLocalCampaignSetting in interface CampaignOrBuilder
      Returns:
      The localCampaignSetting.
    • setLocalCampaignSetting

      public Campaign.Builder setLocalCampaignSetting(Campaign.LocalCampaignSetting value)
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
    • setLocalCampaignSetting

      public Campaign.Builder setLocalCampaignSetting(Campaign.LocalCampaignSetting.Builder builderForValue)
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
    • mergeLocalCampaignSetting

      public Campaign.Builder mergeLocalCampaignSetting(Campaign.LocalCampaignSetting value)
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
    • clearLocalCampaignSetting

      public Campaign.Builder clearLocalCampaignSetting()
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
    • getLocalCampaignSettingBuilder

      public Campaign.LocalCampaignSetting.Builder getLocalCampaignSettingBuilder()
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
    • getLocalCampaignSettingOrBuilder

      public Campaign.LocalCampaignSettingOrBuilder getLocalCampaignSettingOrBuilder()
       The setting for local campaign.
       
      .google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
      Specified by:
      getLocalCampaignSettingOrBuilder in interface CampaignOrBuilder
    • hasAppCampaignSetting

      public boolean hasAppCampaignSetting()
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
      Specified by:
      hasAppCampaignSetting in interface CampaignOrBuilder
      Returns:
      Whether the appCampaignSetting field is set.
    • getAppCampaignSetting

      public Campaign.AppCampaignSetting getAppCampaignSetting()
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
      Specified by:
      getAppCampaignSetting in interface CampaignOrBuilder
      Returns:
      The appCampaignSetting.
    • setAppCampaignSetting

      public Campaign.Builder setAppCampaignSetting(Campaign.AppCampaignSetting value)
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
    • setAppCampaignSetting

      public Campaign.Builder setAppCampaignSetting(Campaign.AppCampaignSetting.Builder builderForValue)
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
    • mergeAppCampaignSetting

      public Campaign.Builder mergeAppCampaignSetting(Campaign.AppCampaignSetting value)
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
    • clearAppCampaignSetting

      public Campaign.Builder clearAppCampaignSetting()
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
    • getAppCampaignSettingBuilder

      public Campaign.AppCampaignSetting.Builder getAppCampaignSettingBuilder()
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
    • getAppCampaignSettingOrBuilder

      public Campaign.AppCampaignSettingOrBuilder getAppCampaignSettingOrBuilder()
       The setting related to App Campaign.
       
      .google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
      Specified by:
      getAppCampaignSettingOrBuilder in interface CampaignOrBuilder
    • getLabelsList

      public com.google.protobuf.ProtocolStringList getLabelsList()
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getLabelsList in interface CampaignOrBuilder
      Returns:
      A list containing the labels.
    • getLabelsCount

      public int getLabelsCount()
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getLabelsCount in interface CampaignOrBuilder
      Returns:
      The count of labels.
    • getLabels

      public String getLabels(int index)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getLabels in interface CampaignOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The labels at the given index.
    • getLabelsBytes

      public com.google.protobuf.ByteString getLabelsBytes(int index)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getLabelsBytes in interface CampaignOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labels at the given index.
    • setLabels

      public Campaign.Builder setLabels(int index, String value)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The labels to set.
      Returns:
      This builder for chaining.
    • addLabels

      public Campaign.Builder addLabels(String value)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The labels to add.
      Returns:
      This builder for chaining.
    • addAllLabels

      public Campaign.Builder addAllLabels(Iterable<String> values)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The labels to add.
      Returns:
      This builder for chaining.
    • clearLabels

      public Campaign.Builder clearLabels()
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addLabelsBytes

      public Campaign.Builder addLabelsBytes(com.google.protobuf.ByteString value)
       Output only. The resource names of labels attached to this campaign.
       
      repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the labels to add.
      Returns:
      This builder for chaining.
    • getExperimentTypeValue

      public int getExperimentTypeValue()
       Output only. The type of campaign: normal, draft, or experiment.
       
      .google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExperimentTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for experimentType.
    • setExperimentTypeValue

      public Campaign.Builder setExperimentTypeValue(int value)
       Output only. The type of campaign: normal, draft, or experiment.
       
      .google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for experimentType to set.
      Returns:
      This builder for chaining.
    • getExperimentType

       Output only. The type of campaign: normal, draft, or experiment.
       
      .google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExperimentType in interface CampaignOrBuilder
      Returns:
      The experimentType.
    • setExperimentType

       Output only. The type of campaign: normal, draft, or experiment.
       
      .google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The experimentType to set.
      Returns:
      This builder for chaining.
    • clearExperimentType

      public Campaign.Builder clearExperimentType()
       Output only. The type of campaign: normal, draft, or experiment.
       
      .google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasBaseCampaign

      public boolean hasBaseCampaign()
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasBaseCampaign in interface CampaignOrBuilder
      Returns:
      Whether the baseCampaign field is set.
    • getBaseCampaign

      public String getBaseCampaign()
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBaseCampaign in interface CampaignOrBuilder
      Returns:
      The baseCampaign.
    • getBaseCampaignBytes

      public com.google.protobuf.ByteString getBaseCampaignBytes()
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBaseCampaignBytes in interface CampaignOrBuilder
      Returns:
      The bytes for baseCampaign.
    • setBaseCampaign

      public Campaign.Builder setBaseCampaign(String value)
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The baseCampaign to set.
      Returns:
      This builder for chaining.
    • clearBaseCampaign

      public Campaign.Builder clearBaseCampaign()
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setBaseCampaignBytes

      public Campaign.Builder setBaseCampaignBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the base campaign of a draft or
       experiment campaign. For base campaigns, this is equal to `resource_name`.
      
       This field is read-only.
       
      optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for baseCampaign to set.
      Returns:
      This builder for chaining.
    • hasCampaignBudget

      public boolean hasCampaignBudget()
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasCampaignBudget in interface CampaignOrBuilder
      Returns:
      Whether the campaignBudget field is set.
    • getCampaignBudget

      public String getCampaignBudget()
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBudget in interface CampaignOrBuilder
      Returns:
      The campaignBudget.
    • getCampaignBudgetBytes

      public com.google.protobuf.ByteString getCampaignBudgetBytes()
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBudgetBytes in interface CampaignOrBuilder
      Returns:
      The bytes for campaignBudget.
    • setCampaignBudget

      public Campaign.Builder setCampaignBudget(String value)
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaignBudget to set.
      Returns:
      This builder for chaining.
    • clearCampaignBudget

      public Campaign.Builder clearCampaignBudget()
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCampaignBudgetBytes

      public Campaign.Builder setCampaignBudgetBytes(com.google.protobuf.ByteString value)
       The resource name of the campaign budget of the campaign.
       
      optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for campaignBudget to set.
      Returns:
      This builder for chaining.
    • getBiddingStrategyTypeValue

      public int getBiddingStrategyTypeValue()
       Output only. The type of bidding strategy.
      
       A bidding strategy can be created by setting either the bidding scheme to
       create a standard bidding strategy or the `bidding_strategy` field to
       create a portfolio bidding strategy.
      
       This field is read-only.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiddingStrategyTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for biddingStrategyType.
    • setBiddingStrategyTypeValue

      public Campaign.Builder setBiddingStrategyTypeValue(int value)
       Output only. The type of bidding strategy.
      
       A bidding strategy can be created by setting either the bidding scheme to
       create a standard bidding strategy or the `bidding_strategy` field to
       create a portfolio bidding strategy.
      
       This field is read-only.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for biddingStrategyType to set.
      Returns:
      This builder for chaining.
    • getBiddingStrategyType

      public BiddingStrategyTypeEnum.BiddingStrategyType getBiddingStrategyType()
       Output only. The type of bidding strategy.
      
       A bidding strategy can be created by setting either the bidding scheme to
       create a standard bidding strategy or the `bidding_strategy` field to
       create a portfolio bidding strategy.
      
       This field is read-only.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiddingStrategyType in interface CampaignOrBuilder
      Returns:
      The biddingStrategyType.
    • setBiddingStrategyType

      public Campaign.Builder setBiddingStrategyType(BiddingStrategyTypeEnum.BiddingStrategyType value)
       Output only. The type of bidding strategy.
      
       A bidding strategy can be created by setting either the bidding scheme to
       create a standard bidding strategy or the `bidding_strategy` field to
       create a portfolio bidding strategy.
      
       This field is read-only.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The biddingStrategyType to set.
      Returns:
      This builder for chaining.
    • clearBiddingStrategyType

      public Campaign.Builder clearBiddingStrategyType()
       Output only. The type of bidding strategy.
      
       A bidding strategy can be created by setting either the bidding scheme to
       create a standard bidding strategy or the `bidding_strategy` field to
       create a portfolio bidding strategy.
      
       This field is read-only.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getAccessibleBiddingStrategy

      public String getAccessibleBiddingStrategy()
       Output only. Resource name of AccessibleBiddingStrategy, a read-only view
       of the unrestricted attributes of the attached portfolio bidding strategy
       identified by 'bidding_strategy'. Empty, if the campaign does not use a
       portfolio strategy. Unrestricted strategy attributes are available to all
       customers with whom the strategy is shared and are read from the
       AccessibleBiddingStrategy resource. In contrast, restricted attributes are
       only available to the owner customer of the strategy and their managers.
       Restricted attributes can only be read from the BiddingStrategy resource.
       
      string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccessibleBiddingStrategy in interface CampaignOrBuilder
      Returns:
      The accessibleBiddingStrategy.
    • getAccessibleBiddingStrategyBytes

      public com.google.protobuf.ByteString getAccessibleBiddingStrategyBytes()
       Output only. Resource name of AccessibleBiddingStrategy, a read-only view
       of the unrestricted attributes of the attached portfolio bidding strategy
       identified by 'bidding_strategy'. Empty, if the campaign does not use a
       portfolio strategy. Unrestricted strategy attributes are available to all
       customers with whom the strategy is shared and are read from the
       AccessibleBiddingStrategy resource. In contrast, restricted attributes are
       only available to the owner customer of the strategy and their managers.
       Restricted attributes can only be read from the BiddingStrategy resource.
       
      string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccessibleBiddingStrategyBytes in interface CampaignOrBuilder
      Returns:
      The bytes for accessibleBiddingStrategy.
    • setAccessibleBiddingStrategy

      public Campaign.Builder setAccessibleBiddingStrategy(String value)
       Output only. Resource name of AccessibleBiddingStrategy, a read-only view
       of the unrestricted attributes of the attached portfolio bidding strategy
       identified by 'bidding_strategy'. Empty, if the campaign does not use a
       portfolio strategy. Unrestricted strategy attributes are available to all
       customers with whom the strategy is shared and are read from the
       AccessibleBiddingStrategy resource. In contrast, restricted attributes are
       only available to the owner customer of the strategy and their managers.
       Restricted attributes can only be read from the BiddingStrategy resource.
       
      string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The accessibleBiddingStrategy to set.
      Returns:
      This builder for chaining.
    • clearAccessibleBiddingStrategy

      public Campaign.Builder clearAccessibleBiddingStrategy()
       Output only. Resource name of AccessibleBiddingStrategy, a read-only view
       of the unrestricted attributes of the attached portfolio bidding strategy
       identified by 'bidding_strategy'. Empty, if the campaign does not use a
       portfolio strategy. Unrestricted strategy attributes are available to all
       customers with whom the strategy is shared and are read from the
       AccessibleBiddingStrategy resource. In contrast, restricted attributes are
       only available to the owner customer of the strategy and their managers.
       Restricted attributes can only be read from the BiddingStrategy resource.
       
      string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAccessibleBiddingStrategyBytes

      public Campaign.Builder setAccessibleBiddingStrategyBytes(com.google.protobuf.ByteString value)
       Output only. Resource name of AccessibleBiddingStrategy, a read-only view
       of the unrestricted attributes of the attached portfolio bidding strategy
       identified by 'bidding_strategy'. Empty, if the campaign does not use a
       portfolio strategy. Unrestricted strategy attributes are available to all
       customers with whom the strategy is shared and are read from the
       AccessibleBiddingStrategy resource. In contrast, restricted attributes are
       only available to the owner customer of the strategy and their managers.
       Restricted attributes can only be read from the BiddingStrategy resource.
       
      string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for accessibleBiddingStrategy to set.
      Returns:
      This builder for chaining.
    • hasStartDate

      public boolean hasStartDate()
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Specified by:
      hasStartDate in interface CampaignOrBuilder
      Returns:
      Whether the startDate field is set.
    • getStartDate

      public String getStartDate()
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Specified by:
      getStartDate in interface CampaignOrBuilder
      Returns:
      The startDate.
    • getStartDateBytes

      public com.google.protobuf.ByteString getStartDateBytes()
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Specified by:
      getStartDateBytes in interface CampaignOrBuilder
      Returns:
      The bytes for startDate.
    • setStartDate

      public Campaign.Builder setStartDate(String value)
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Parameters:
      value - The startDate to set.
      Returns:
      This builder for chaining.
    • clearStartDate

      public Campaign.Builder clearStartDate()
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Returns:
      This builder for chaining.
    • setStartDateBytes

      public Campaign.Builder setStartDateBytes(com.google.protobuf.ByteString value)
       The date when campaign started in serving customer's timezone in YYYY-MM-DD
       format.
       
      optional string start_date = 63;
      Parameters:
      value - The bytes for startDate to set.
      Returns:
      This builder for chaining.
    • hasCampaignGroup

      public boolean hasCampaignGroup()
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasCampaignGroup in interface CampaignOrBuilder
      Returns:
      Whether the campaignGroup field is set.
    • getCampaignGroup

      public String getCampaignGroup()
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignGroup in interface CampaignOrBuilder
      Returns:
      The campaignGroup.
    • getCampaignGroupBytes

      public com.google.protobuf.ByteString getCampaignGroupBytes()
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignGroupBytes in interface CampaignOrBuilder
      Returns:
      The bytes for campaignGroup.
    • setCampaignGroup

      public Campaign.Builder setCampaignGroup(String value)
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaignGroup to set.
      Returns:
      This builder for chaining.
    • clearCampaignGroup

      public Campaign.Builder clearCampaignGroup()
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCampaignGroupBytes

      public Campaign.Builder setCampaignGroupBytes(com.google.protobuf.ByteString value)
       The resource name of the campaign group that this campaign belongs to.
       
      optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for campaignGroup to set.
      Returns:
      This builder for chaining.
    • hasEndDate

      public boolean hasEndDate()
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Specified by:
      hasEndDate in interface CampaignOrBuilder
      Returns:
      Whether the endDate field is set.
    • getEndDate

      public String getEndDate()
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Specified by:
      getEndDate in interface CampaignOrBuilder
      Returns:
      The endDate.
    • getEndDateBytes

      public com.google.protobuf.ByteString getEndDateBytes()
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Specified by:
      getEndDateBytes in interface CampaignOrBuilder
      Returns:
      The bytes for endDate.
    • setEndDate

      public Campaign.Builder setEndDate(String value)
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Parameters:
      value - The endDate to set.
      Returns:
      This builder for chaining.
    • clearEndDate

      public Campaign.Builder clearEndDate()
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Returns:
      This builder for chaining.
    • setEndDateBytes

      public Campaign.Builder setEndDateBytes(com.google.protobuf.ByteString value)
       The last day of the campaign in serving customer's timezone in YYYY-MM-DD
       format. On create, defaults to 2037-12-30, which means the campaign will
       run indefinitely. To set an existing campaign to run indefinitely, set this
       field to 2037-12-30.
       
      optional string end_date = 64;
      Parameters:
      value - The bytes for endDate to set.
      Returns:
      This builder for chaining.
    • hasFinalUrlSuffix

      public boolean hasFinalUrlSuffix()
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Specified by:
      hasFinalUrlSuffix in interface CampaignOrBuilder
      Returns:
      Whether the finalUrlSuffix field is set.
    • getFinalUrlSuffix

      public String getFinalUrlSuffix()
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Specified by:
      getFinalUrlSuffix in interface CampaignOrBuilder
      Returns:
      The finalUrlSuffix.
    • getFinalUrlSuffixBytes

      public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Specified by:
      getFinalUrlSuffixBytes in interface CampaignOrBuilder
      Returns:
      The bytes for finalUrlSuffix.
    • setFinalUrlSuffix

      public Campaign.Builder setFinalUrlSuffix(String value)
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Parameters:
      value - The finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • clearFinalUrlSuffix

      public Campaign.Builder clearFinalUrlSuffix()
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Returns:
      This builder for chaining.
    • setFinalUrlSuffixBytes

      public Campaign.Builder setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
       Suffix used to append query parameters to landing pages that are served
       with parallel tracking.
       
      optional string final_url_suffix = 65;
      Parameters:
      value - The bytes for finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • getFrequencyCapsList

      public List<FrequencyCapEntry> getFrequencyCapsList()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
      Specified by:
      getFrequencyCapsList in interface CampaignOrBuilder
    • getFrequencyCapsCount

      public int getFrequencyCapsCount()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
      Specified by:
      getFrequencyCapsCount in interface CampaignOrBuilder
    • getFrequencyCaps

      public FrequencyCapEntry getFrequencyCaps(int index)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
      Specified by:
      getFrequencyCaps in interface CampaignOrBuilder
    • setFrequencyCaps

      public Campaign.Builder setFrequencyCaps(int index, FrequencyCapEntry value)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • setFrequencyCaps

      public Campaign.Builder setFrequencyCaps(int index, FrequencyCapEntry.Builder builderForValue)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addFrequencyCaps

      public Campaign.Builder addFrequencyCaps(FrequencyCapEntry value)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addFrequencyCaps

      public Campaign.Builder addFrequencyCaps(int index, FrequencyCapEntry value)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addFrequencyCaps

      public Campaign.Builder addFrequencyCaps(FrequencyCapEntry.Builder builderForValue)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addFrequencyCaps

      public Campaign.Builder addFrequencyCaps(int index, FrequencyCapEntry.Builder builderForValue)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addAllFrequencyCaps

      public Campaign.Builder addAllFrequencyCaps(Iterable<? extends FrequencyCapEntry> values)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • clearFrequencyCaps

      public Campaign.Builder clearFrequencyCaps()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • removeFrequencyCaps

      public Campaign.Builder removeFrequencyCaps(int index)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • getFrequencyCapsBuilder

      public FrequencyCapEntry.Builder getFrequencyCapsBuilder(int index)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • getFrequencyCapsOrBuilder

      public FrequencyCapEntryOrBuilder getFrequencyCapsOrBuilder(int index)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
      Specified by:
      getFrequencyCapsOrBuilder in interface CampaignOrBuilder
    • getFrequencyCapsOrBuilderList

      public List<? extends FrequencyCapEntryOrBuilder> getFrequencyCapsOrBuilderList()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
      Specified by:
      getFrequencyCapsOrBuilderList in interface CampaignOrBuilder
    • addFrequencyCapsBuilder

      public FrequencyCapEntry.Builder addFrequencyCapsBuilder()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • addFrequencyCapsBuilder

      public FrequencyCapEntry.Builder addFrequencyCapsBuilder(int index)
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • getFrequencyCapsBuilderList

      public List<FrequencyCapEntry.Builder> getFrequencyCapsBuilderList()
       A list that limits how often each user will see this campaign's ads.
       
      repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;
    • getVideoBrandSafetySuitabilityValue

      public int getVideoBrandSafetySuitabilityValue()
       Brand Safety setting at the individual campaign level. Allows for selecting
       an inventory type to show your ads on content that is the right fit for
       your brand. See https://support.google.com/google-ads/answer/7515513.
       
      .google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;
      Specified by:
      getVideoBrandSafetySuitabilityValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for videoBrandSafetySuitability.
    • setVideoBrandSafetySuitabilityValue

      public Campaign.Builder setVideoBrandSafetySuitabilityValue(int value)
       Brand Safety setting at the individual campaign level. Allows for selecting
       an inventory type to show your ads on content that is the right fit for
       your brand. See https://support.google.com/google-ads/answer/7515513.
       
      .google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;
      Parameters:
      value - The enum numeric value on the wire for videoBrandSafetySuitability to set.
      Returns:
      This builder for chaining.
    • getVideoBrandSafetySuitability

      public BrandSafetySuitabilityEnum.BrandSafetySuitability getVideoBrandSafetySuitability()
       Brand Safety setting at the individual campaign level. Allows for selecting
       an inventory type to show your ads on content that is the right fit for
       your brand. See https://support.google.com/google-ads/answer/7515513.
       
      .google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;
      Specified by:
      getVideoBrandSafetySuitability in interface CampaignOrBuilder
      Returns:
      The videoBrandSafetySuitability.
    • setVideoBrandSafetySuitability

      public Campaign.Builder setVideoBrandSafetySuitability(BrandSafetySuitabilityEnum.BrandSafetySuitability value)
       Brand Safety setting at the individual campaign level. Allows for selecting
       an inventory type to show your ads on content that is the right fit for
       your brand. See https://support.google.com/google-ads/answer/7515513.
       
      .google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;
      Parameters:
      value - The videoBrandSafetySuitability to set.
      Returns:
      This builder for chaining.
    • clearVideoBrandSafetySuitability

      public Campaign.Builder clearVideoBrandSafetySuitability()
       Brand Safety setting at the individual campaign level. Allows for selecting
       an inventory type to show your ads on content that is the right fit for
       your brand. See https://support.google.com/google-ads/answer/7515513.
       
      .google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;
      Returns:
      This builder for chaining.
    • hasVanityPharma

      public boolean hasVanityPharma()
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
      Specified by:
      hasVanityPharma in interface CampaignOrBuilder
      Returns:
      Whether the vanityPharma field is set.
    • getVanityPharma

      public Campaign.VanityPharma getVanityPharma()
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
      Specified by:
      getVanityPharma in interface CampaignOrBuilder
      Returns:
      The vanityPharma.
    • setVanityPharma

      public Campaign.Builder setVanityPharma(Campaign.VanityPharma value)
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
    • setVanityPharma

      public Campaign.Builder setVanityPharma(Campaign.VanityPharma.Builder builderForValue)
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
    • mergeVanityPharma

      public Campaign.Builder mergeVanityPharma(Campaign.VanityPharma value)
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
    • clearVanityPharma

      public Campaign.Builder clearVanityPharma()
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
    • getVanityPharmaBuilder

      public Campaign.VanityPharma.Builder getVanityPharmaBuilder()
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
    • getVanityPharmaOrBuilder

      public Campaign.VanityPharmaOrBuilder getVanityPharmaOrBuilder()
       Describes how unbranded pharma ads will be displayed.
       
      .google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;
      Specified by:
      getVanityPharmaOrBuilder in interface CampaignOrBuilder
    • hasSelectiveOptimization

      public boolean hasSelectiveOptimization()
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
      Specified by:
      hasSelectiveOptimization in interface CampaignOrBuilder
      Returns:
      Whether the selectiveOptimization field is set.
    • getSelectiveOptimization

      public Campaign.SelectiveOptimization getSelectiveOptimization()
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
      Specified by:
      getSelectiveOptimization in interface CampaignOrBuilder
      Returns:
      The selectiveOptimization.
    • setSelectiveOptimization

      public Campaign.Builder setSelectiveOptimization(Campaign.SelectiveOptimization value)
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
    • setSelectiveOptimization

      public Campaign.Builder setSelectiveOptimization(Campaign.SelectiveOptimization.Builder builderForValue)
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
    • mergeSelectiveOptimization

      public Campaign.Builder mergeSelectiveOptimization(Campaign.SelectiveOptimization value)
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
    • clearSelectiveOptimization

      public Campaign.Builder clearSelectiveOptimization()
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
    • getSelectiveOptimizationBuilder

      public Campaign.SelectiveOptimization.Builder getSelectiveOptimizationBuilder()
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
    • getSelectiveOptimizationOrBuilder

      public Campaign.SelectiveOptimizationOrBuilder getSelectiveOptimizationOrBuilder()
       Selective optimization setting for this campaign, which includes a set of
       conversion actions to optimize this campaign towards.
       This feature only applies to app campaigns that use MULTI_CHANNEL as
       AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
       AdvertisingChannelSubType.
       
      .google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;
      Specified by:
      getSelectiveOptimizationOrBuilder in interface CampaignOrBuilder
    • hasOptimizationGoalSetting

      public boolean hasOptimizationGoalSetting()
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
      Specified by:
      hasOptimizationGoalSetting in interface CampaignOrBuilder
      Returns:
      Whether the optimizationGoalSetting field is set.
    • getOptimizationGoalSetting

      public Campaign.OptimizationGoalSetting getOptimizationGoalSetting()
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
      Specified by:
      getOptimizationGoalSetting in interface CampaignOrBuilder
      Returns:
      The optimizationGoalSetting.
    • setOptimizationGoalSetting

      public Campaign.Builder setOptimizationGoalSetting(Campaign.OptimizationGoalSetting value)
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
    • setOptimizationGoalSetting

      public Campaign.Builder setOptimizationGoalSetting(Campaign.OptimizationGoalSetting.Builder builderForValue)
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
    • mergeOptimizationGoalSetting

      public Campaign.Builder mergeOptimizationGoalSetting(Campaign.OptimizationGoalSetting value)
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
    • clearOptimizationGoalSetting

      public Campaign.Builder clearOptimizationGoalSetting()
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
    • getOptimizationGoalSettingBuilder

      public Campaign.OptimizationGoalSetting.Builder getOptimizationGoalSettingBuilder()
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
    • getOptimizationGoalSettingOrBuilder

      public Campaign.OptimizationGoalSettingOrBuilder getOptimizationGoalSettingOrBuilder()
       Optimization goal setting for this campaign, which includes a set of
       optimization goal types.
       
      .google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
      Specified by:
      getOptimizationGoalSettingOrBuilder in interface CampaignOrBuilder
    • hasTrackingSetting

      public boolean hasTrackingSetting()
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTrackingSetting in interface CampaignOrBuilder
      Returns:
      Whether the trackingSetting field is set.
    • getTrackingSetting

      public Campaign.TrackingSetting getTrackingSetting()
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTrackingSetting in interface CampaignOrBuilder
      Returns:
      The trackingSetting.
    • setTrackingSetting

      public Campaign.Builder setTrackingSetting(Campaign.TrackingSetting value)
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTrackingSetting

      public Campaign.Builder setTrackingSetting(Campaign.TrackingSetting.Builder builderForValue)
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTrackingSetting

      public Campaign.Builder mergeTrackingSetting(Campaign.TrackingSetting value)
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTrackingSetting

      public Campaign.Builder clearTrackingSetting()
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTrackingSettingBuilder

      public Campaign.TrackingSetting.Builder getTrackingSettingBuilder()
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTrackingSettingOrBuilder

      public Campaign.TrackingSettingOrBuilder getTrackingSettingOrBuilder()
       Output only. Campaign-level settings for tracking information.
       
      .google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTrackingSettingOrBuilder in interface CampaignOrBuilder
    • getPaymentModeValue

      public int getPaymentModeValue()
       Payment mode for the campaign.
       
      .google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
      Specified by:
      getPaymentModeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for paymentMode.
    • setPaymentModeValue

      public Campaign.Builder setPaymentModeValue(int value)
       Payment mode for the campaign.
       
      .google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
      Parameters:
      value - The enum numeric value on the wire for paymentMode to set.
      Returns:
      This builder for chaining.
    • getPaymentMode

      public PaymentModeEnum.PaymentMode getPaymentMode()
       Payment mode for the campaign.
       
      .google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
      Specified by:
      getPaymentMode in interface CampaignOrBuilder
      Returns:
      The paymentMode.
    • setPaymentMode

      public Campaign.Builder setPaymentMode(PaymentModeEnum.PaymentMode value)
       Payment mode for the campaign.
       
      .google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
      Parameters:
      value - The paymentMode to set.
      Returns:
      This builder for chaining.
    • clearPaymentMode

      public Campaign.Builder clearPaymentMode()
       Payment mode for the campaign.
       
      .google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
      Returns:
      This builder for chaining.
    • hasOptimizationScore

      public boolean hasOptimizationScore()
       Output only. Optimization score of the campaign.
      
       Optimization score is an estimate of how well a campaign is set to perform.
       It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the
       campaign is performing at full potential. This field is null for unscored
       campaigns.
      
       See "About optimization score" at
       https://support.google.com/google-ads/answer/9061546.
      
       This field is read-only.
       
      optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasOptimizationScore in interface CampaignOrBuilder
      Returns:
      Whether the optimizationScore field is set.
    • getOptimizationScore

      public double getOptimizationScore()
       Output only. Optimization score of the campaign.
      
       Optimization score is an estimate of how well a campaign is set to perform.
       It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the
       campaign is performing at full potential. This field is null for unscored
       campaigns.
      
       See "About optimization score" at
       https://support.google.com/google-ads/answer/9061546.
      
       This field is read-only.
       
      optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOptimizationScore in interface CampaignOrBuilder
      Returns:
      The optimizationScore.
    • setOptimizationScore

      public Campaign.Builder setOptimizationScore(double value)
       Output only. Optimization score of the campaign.
      
       Optimization score is an estimate of how well a campaign is set to perform.
       It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the
       campaign is performing at full potential. This field is null for unscored
       campaigns.
      
       See "About optimization score" at
       https://support.google.com/google-ads/answer/9061546.
      
       This field is read-only.
       
      optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The optimizationScore to set.
      Returns:
      This builder for chaining.
    • clearOptimizationScore

      public Campaign.Builder clearOptimizationScore()
       Output only. Optimization score of the campaign.
      
       Optimization score is an estimate of how well a campaign is set to perform.
       It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the
       campaign is performing at full potential. This field is null for unscored
       campaigns.
      
       See "About optimization score" at
       https://support.google.com/google-ads/answer/9061546.
      
       This field is read-only.
       
      optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getExcludedParentAssetFieldTypesList

      public List<AssetFieldTypeEnum.AssetFieldType> getExcludedParentAssetFieldTypesList()
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Specified by:
      getExcludedParentAssetFieldTypesList in interface CampaignOrBuilder
      Returns:
      A list containing the excludedParentAssetFieldTypes.
    • getExcludedParentAssetFieldTypesCount

      public int getExcludedParentAssetFieldTypesCount()
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Specified by:
      getExcludedParentAssetFieldTypesCount in interface CampaignOrBuilder
      Returns:
      The count of excludedParentAssetFieldTypes.
    • getExcludedParentAssetFieldTypes

      public AssetFieldTypeEnum.AssetFieldType getExcludedParentAssetFieldTypes(int index)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Specified by:
      getExcludedParentAssetFieldTypes in interface CampaignOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedParentAssetFieldTypes at the given index.
    • setExcludedParentAssetFieldTypes

      public Campaign.Builder setExcludedParentAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      index - The index to set the value at.
      value - The excludedParentAssetFieldTypes to set.
      Returns:
      This builder for chaining.
    • addExcludedParentAssetFieldTypes

      public Campaign.Builder addExcludedParentAssetFieldTypes(AssetFieldTypeEnum.AssetFieldType value)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      value - The excludedParentAssetFieldTypes to add.
      Returns:
      This builder for chaining.
    • addAllExcludedParentAssetFieldTypes

      public Campaign.Builder addAllExcludedParentAssetFieldTypes(Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      values - The excludedParentAssetFieldTypes to add.
      Returns:
      This builder for chaining.
    • clearExcludedParentAssetFieldTypes

      public Campaign.Builder clearExcludedParentAssetFieldTypes()
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Returns:
      This builder for chaining.
    • getExcludedParentAssetFieldTypesValueList

      public List<Integer> getExcludedParentAssetFieldTypesValueList()
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Specified by:
      getExcludedParentAssetFieldTypesValueList in interface CampaignOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for excludedParentAssetFieldTypes.
    • getExcludedParentAssetFieldTypesValue

      public int getExcludedParentAssetFieldTypesValue(int index)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Specified by:
      getExcludedParentAssetFieldTypesValue in interface CampaignOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of excludedParentAssetFieldTypes at the given index.
    • setExcludedParentAssetFieldTypesValue

      public Campaign.Builder setExcludedParentAssetFieldTypesValue(int index, int value)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for excludedParentAssetFieldTypes to set.
      Returns:
      This builder for chaining.
    • addExcludedParentAssetFieldTypesValue

      public Campaign.Builder addExcludedParentAssetFieldTypesValue(int value)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      value - The enum numeric value on the wire for excludedParentAssetFieldTypes to add.
      Returns:
      This builder for chaining.
    • addAllExcludedParentAssetFieldTypesValue

      public Campaign.Builder addAllExcludedParentAssetFieldTypesValue(Iterable<Integer> values)
       The asset field types that should be excluded from this campaign. Asset
       links with these field types will not be inherited by this campaign from
       the upper level.
       
      repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
      Parameters:
      values - The enum numeric values on the wire for excludedParentAssetFieldTypes to add.
      Returns:
      This builder for chaining.
    • getExcludedParentAssetSetTypesList

      public List<AssetSetTypeEnum.AssetSetType> getExcludedParentAssetSetTypesList()
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Specified by:
      getExcludedParentAssetSetTypesList in interface CampaignOrBuilder
      Returns:
      A list containing the excludedParentAssetSetTypes.
    • getExcludedParentAssetSetTypesCount

      public int getExcludedParentAssetSetTypesCount()
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Specified by:
      getExcludedParentAssetSetTypesCount in interface CampaignOrBuilder
      Returns:
      The count of excludedParentAssetSetTypes.
    • getExcludedParentAssetSetTypes

      public AssetSetTypeEnum.AssetSetType getExcludedParentAssetSetTypes(int index)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Specified by:
      getExcludedParentAssetSetTypes in interface CampaignOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedParentAssetSetTypes at the given index.
    • setExcludedParentAssetSetTypes

      public Campaign.Builder setExcludedParentAssetSetTypes(int index, AssetSetTypeEnum.AssetSetType value)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      index - The index to set the value at.
      value - The excludedParentAssetSetTypes to set.
      Returns:
      This builder for chaining.
    • addExcludedParentAssetSetTypes

      public Campaign.Builder addExcludedParentAssetSetTypes(AssetSetTypeEnum.AssetSetType value)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      value - The excludedParentAssetSetTypes to add.
      Returns:
      This builder for chaining.
    • addAllExcludedParentAssetSetTypes

      public Campaign.Builder addAllExcludedParentAssetSetTypes(Iterable<? extends AssetSetTypeEnum.AssetSetType> values)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      values - The excludedParentAssetSetTypes to add.
      Returns:
      This builder for chaining.
    • clearExcludedParentAssetSetTypes

      public Campaign.Builder clearExcludedParentAssetSetTypes()
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Returns:
      This builder for chaining.
    • getExcludedParentAssetSetTypesValueList

      public List<Integer> getExcludedParentAssetSetTypesValueList()
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Specified by:
      getExcludedParentAssetSetTypesValueList in interface CampaignOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for excludedParentAssetSetTypes.
    • getExcludedParentAssetSetTypesValue

      public int getExcludedParentAssetSetTypesValue(int index)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Specified by:
      getExcludedParentAssetSetTypesValue in interface CampaignOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of excludedParentAssetSetTypes at the given index.
    • setExcludedParentAssetSetTypesValue

      public Campaign.Builder setExcludedParentAssetSetTypesValue(int index, int value)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for excludedParentAssetSetTypes to set.
      Returns:
      This builder for chaining.
    • addExcludedParentAssetSetTypesValue

      public Campaign.Builder addExcludedParentAssetSetTypesValue(int value)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      value - The enum numeric value on the wire for excludedParentAssetSetTypes to add.
      Returns:
      This builder for chaining.
    • addAllExcludedParentAssetSetTypesValue

      public Campaign.Builder addAllExcludedParentAssetSetTypesValue(Iterable<Integer> values)
       The asset set types that should be excluded from this campaign. Asset set
       links with these types will not be inherited by this campaign from
       the upper level.
       Location group types (GMB_DYNAMIC_LOCATION_GROUP,
       CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
       LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
       location group asset sets are not allowed to be linked to this campaign,
       and all Location Extension (LE) and Affiliate Location Extensions (ALE)
       will not be served under this campaign.
       Only LOCATION_SYNC is currently supported.
       
      repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
      Parameters:
      values - The enum numeric values on the wire for excludedParentAssetSetTypes to add.
      Returns:
      This builder for chaining.
    • hasUrlExpansionOptOut

      public boolean hasUrlExpansionOptOut()
       Represents opting out of URL expansion to more targeted URLs. If opted out
       (true), only the final URLs in the asset group or URLs specified in the
       advertiser's Google Merchant Center or business data feeds are targeted.
       If opted in (false), the entire domain will be targeted. This field can
       only be set for Performance Max campaigns, where the default value is
       false.
       
      optional bool url_expansion_opt_out = 72;
      Specified by:
      hasUrlExpansionOptOut in interface CampaignOrBuilder
      Returns:
      Whether the urlExpansionOptOut field is set.
    • getUrlExpansionOptOut

      public boolean getUrlExpansionOptOut()
       Represents opting out of URL expansion to more targeted URLs. If opted out
       (true), only the final URLs in the asset group or URLs specified in the
       advertiser's Google Merchant Center or business data feeds are targeted.
       If opted in (false), the entire domain will be targeted. This field can
       only be set for Performance Max campaigns, where the default value is
       false.
       
      optional bool url_expansion_opt_out = 72;
      Specified by:
      getUrlExpansionOptOut in interface CampaignOrBuilder
      Returns:
      The urlExpansionOptOut.
    • setUrlExpansionOptOut

      public Campaign.Builder setUrlExpansionOptOut(boolean value)
       Represents opting out of URL expansion to more targeted URLs. If opted out
       (true), only the final URLs in the asset group or URLs specified in the
       advertiser's Google Merchant Center or business data feeds are targeted.
       If opted in (false), the entire domain will be targeted. This field can
       only be set for Performance Max campaigns, where the default value is
       false.
       
      optional bool url_expansion_opt_out = 72;
      Parameters:
      value - The urlExpansionOptOut to set.
      Returns:
      This builder for chaining.
    • clearUrlExpansionOptOut

      public Campaign.Builder clearUrlExpansionOptOut()
       Represents opting out of URL expansion to more targeted URLs. If opted out
       (true), only the final URLs in the asset group or URLs specified in the
       advertiser's Google Merchant Center or business data feeds are targeted.
       If opted in (false), the entire domain will be targeted. This field can
       only be set for Performance Max campaigns, where the default value is
       false.
       
      optional bool url_expansion_opt_out = 72;
      Returns:
      This builder for chaining.
    • hasPerformanceMaxUpgrade

      public boolean hasPerformanceMaxUpgrade()
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPerformanceMaxUpgrade in interface CampaignOrBuilder
      Returns:
      Whether the performanceMaxUpgrade field is set.
    • getPerformanceMaxUpgrade

      public Campaign.PerformanceMaxUpgrade getPerformanceMaxUpgrade()
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceMaxUpgrade in interface CampaignOrBuilder
      Returns:
      The performanceMaxUpgrade.
    • setPerformanceMaxUpgrade

      public Campaign.Builder setPerformanceMaxUpgrade(Campaign.PerformanceMaxUpgrade value)
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPerformanceMaxUpgrade

      public Campaign.Builder setPerformanceMaxUpgrade(Campaign.PerformanceMaxUpgrade.Builder builderForValue)
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePerformanceMaxUpgrade

      public Campaign.Builder mergePerformanceMaxUpgrade(Campaign.PerformanceMaxUpgrade value)
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPerformanceMaxUpgrade

      public Campaign.Builder clearPerformanceMaxUpgrade()
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPerformanceMaxUpgradeBuilder

      public Campaign.PerformanceMaxUpgrade.Builder getPerformanceMaxUpgradeBuilder()
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPerformanceMaxUpgradeOrBuilder

      public Campaign.PerformanceMaxUpgradeOrBuilder getPerformanceMaxUpgradeOrBuilder()
       Output only. Information about campaigns being upgraded to Performance Max.
       
      .google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceMaxUpgradeOrBuilder in interface CampaignOrBuilder
    • hasHotelPropertyAssetSet

      public boolean hasHotelPropertyAssetSet()
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      hasHotelPropertyAssetSet in interface CampaignOrBuilder
      Returns:
      Whether the hotelPropertyAssetSet field is set.
    • getHotelPropertyAssetSet

      public String getHotelPropertyAssetSet()
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getHotelPropertyAssetSet in interface CampaignOrBuilder
      Returns:
      The hotelPropertyAssetSet.
    • getHotelPropertyAssetSetBytes

      public com.google.protobuf.ByteString getHotelPropertyAssetSetBytes()
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getHotelPropertyAssetSetBytes in interface CampaignOrBuilder
      Returns:
      The bytes for hotelPropertyAssetSet.
    • setHotelPropertyAssetSet

      public Campaign.Builder setHotelPropertyAssetSet(String value)
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The hotelPropertyAssetSet to set.
      Returns:
      This builder for chaining.
    • clearHotelPropertyAssetSet

      public Campaign.Builder clearHotelPropertyAssetSet()
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setHotelPropertyAssetSetBytes

      public Campaign.Builder setHotelPropertyAssetSetBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name for a set of hotel properties for Performance
       Max for travel goals campaigns.
       
      optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for hotelPropertyAssetSet to set.
      Returns:
      This builder for chaining.
    • hasListingType

      public boolean hasListingType()
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasListingType in interface CampaignOrBuilder
      Returns:
      Whether the listingType field is set.
    • getListingTypeValue

      public int getListingTypeValue()
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getListingTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for listingType.
    • setListingTypeValue

      public Campaign.Builder setListingTypeValue(int value)
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for listingType to set.
      Returns:
      This builder for chaining.
    • getListingType

      public ListingTypeEnum.ListingType getListingType()
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getListingType in interface CampaignOrBuilder
      Returns:
      The listingType.
    • setListingType

      public Campaign.Builder setListingType(ListingTypeEnum.ListingType value)
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The listingType to set.
      Returns:
      This builder for chaining.
    • clearListingType

      public Campaign.Builder clearListingType()
       Immutable. Listing type of ads served for this campaign.
       Field is restricted for usage with Performance Max campaigns.
       
      optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getAssetAutomationSettingsList

      public List<Campaign.AssetAutomationSetting> getAssetAutomationSettingsList()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
      Specified by:
      getAssetAutomationSettingsList in interface CampaignOrBuilder
    • getAssetAutomationSettingsCount

      public int getAssetAutomationSettingsCount()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
      Specified by:
      getAssetAutomationSettingsCount in interface CampaignOrBuilder
    • getAssetAutomationSettings

      public Campaign.AssetAutomationSetting getAssetAutomationSettings(int index)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
      Specified by:
      getAssetAutomationSettings in interface CampaignOrBuilder
    • setAssetAutomationSettings

      public Campaign.Builder setAssetAutomationSettings(int index, Campaign.AssetAutomationSetting value)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • setAssetAutomationSettings

      public Campaign.Builder setAssetAutomationSettings(int index, Campaign.AssetAutomationSetting.Builder builderForValue)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAssetAutomationSettings

      public Campaign.Builder addAssetAutomationSettings(Campaign.AssetAutomationSetting value)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAssetAutomationSettings

      public Campaign.Builder addAssetAutomationSettings(int index, Campaign.AssetAutomationSetting value)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAssetAutomationSettings

      public Campaign.Builder addAssetAutomationSettings(Campaign.AssetAutomationSetting.Builder builderForValue)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAssetAutomationSettings

      public Campaign.Builder addAssetAutomationSettings(int index, Campaign.AssetAutomationSetting.Builder builderForValue)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAllAssetAutomationSettings

      public Campaign.Builder addAllAssetAutomationSettings(Iterable<? extends Campaign.AssetAutomationSetting> values)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • clearAssetAutomationSettings

      public Campaign.Builder clearAssetAutomationSettings()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • removeAssetAutomationSettings

      public Campaign.Builder removeAssetAutomationSettings(int index)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • getAssetAutomationSettingsBuilder

      public Campaign.AssetAutomationSetting.Builder getAssetAutomationSettingsBuilder(int index)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • getAssetAutomationSettingsOrBuilder

      public Campaign.AssetAutomationSettingOrBuilder getAssetAutomationSettingsOrBuilder(int index)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
      Specified by:
      getAssetAutomationSettingsOrBuilder in interface CampaignOrBuilder
    • getAssetAutomationSettingsOrBuilderList

      public List<? extends Campaign.AssetAutomationSettingOrBuilder> getAssetAutomationSettingsOrBuilderList()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
      Specified by:
      getAssetAutomationSettingsOrBuilderList in interface CampaignOrBuilder
    • addAssetAutomationSettingsBuilder

      public Campaign.AssetAutomationSetting.Builder addAssetAutomationSettingsBuilder()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • addAssetAutomationSettingsBuilder

      public Campaign.AssetAutomationSetting.Builder addAssetAutomationSettingsBuilder(int index)
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • getAssetAutomationSettingsBuilderList

      public List<Campaign.AssetAutomationSetting.Builder> getAssetAutomationSettingsBuilderList()
       Contains the opt-in/out status of each AssetAutomationType.
       See documentation of each asset automation type enum for default
       opt in/out behavior.
       
      repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;
    • getKeywordMatchTypeValue

      public int getKeywordMatchTypeValue()
       Keyword match type of Campaign. Set to BROAD to set broad matching for all
       keywords in a campaign.
       
      .google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;
      Specified by:
      getKeywordMatchTypeValue in interface CampaignOrBuilder
      Returns:
      The enum numeric value on the wire for keywordMatchType.
    • setKeywordMatchTypeValue

      public Campaign.Builder setKeywordMatchTypeValue(int value)
       Keyword match type of Campaign. Set to BROAD to set broad matching for all
       keywords in a campaign.
       
      .google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;
      Parameters:
      value - The enum numeric value on the wire for keywordMatchType to set.
      Returns:
      This builder for chaining.
    • getKeywordMatchType

       Keyword match type of Campaign. Set to BROAD to set broad matching for all
       keywords in a campaign.
       
      .google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;
      Specified by:
      getKeywordMatchType in interface CampaignOrBuilder
      Returns:
      The keywordMatchType.
    • setKeywordMatchType

       Keyword match type of Campaign. Set to BROAD to set broad matching for all
       keywords in a campaign.
       
      .google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;
      Parameters:
      value - The keywordMatchType to set.
      Returns:
      This builder for chaining.
    • clearKeywordMatchType

      public Campaign.Builder clearKeywordMatchType()
       Keyword match type of Campaign. Set to BROAD to set broad matching for all
       keywords in a campaign.
       
      .google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;
      Returns:
      This builder for chaining.
    • hasBrandGuidelinesEnabled

      public boolean hasBrandGuidelinesEnabled()
       Output only. Whether Brand Guidelines are enabled for this Campaign.
       Only applicable to Performance Max campaigns. If enabled, business name
       and logo assets must be linked as CampaignAssets instead of
       AssetGroupAssets.
       
      optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBrandGuidelinesEnabled in interface CampaignOrBuilder
      Returns:
      Whether the brandGuidelinesEnabled field is set.
    • getBrandGuidelinesEnabled

      public boolean getBrandGuidelinesEnabled()
       Output only. Whether Brand Guidelines are enabled for this Campaign.
       Only applicable to Performance Max campaigns. If enabled, business name
       and logo assets must be linked as CampaignAssets instead of
       AssetGroupAssets.
       
      optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBrandGuidelinesEnabled in interface CampaignOrBuilder
      Returns:
      The brandGuidelinesEnabled.
    • setBrandGuidelinesEnabled

      public Campaign.Builder setBrandGuidelinesEnabled(boolean value)
       Output only. Whether Brand Guidelines are enabled for this Campaign.
       Only applicable to Performance Max campaigns. If enabled, business name
       and logo assets must be linked as CampaignAssets instead of
       AssetGroupAssets.
       
      optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The brandGuidelinesEnabled to set.
      Returns:
      This builder for chaining.
    • clearBrandGuidelinesEnabled

      public Campaign.Builder clearBrandGuidelinesEnabled()
       Output only. Whether Brand Guidelines are enabled for this Campaign.
       Only applicable to Performance Max campaigns. If enabled, business name
       and logo assets must be linked as CampaignAssets instead of
       AssetGroupAssets.
       
      optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasBiddingStrategy

      public boolean hasBiddingStrategy()
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasBiddingStrategy in interface CampaignOrBuilder
      Returns:
      Whether the biddingStrategy field is set.
    • getBiddingStrategy

      public String getBiddingStrategy()
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Specified by:
      getBiddingStrategy in interface CampaignOrBuilder
      Returns:
      The biddingStrategy.
    • getBiddingStrategyBytes

      public com.google.protobuf.ByteString getBiddingStrategyBytes()
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Specified by:
      getBiddingStrategyBytes in interface CampaignOrBuilder
      Returns:
      The bytes for biddingStrategy.
    • setBiddingStrategy

      public Campaign.Builder setBiddingStrategy(String value)
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The biddingStrategy to set.
      Returns:
      This builder for chaining.
    • clearBiddingStrategy

      public Campaign.Builder clearBiddingStrategy()
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setBiddingStrategyBytes

      public Campaign.Builder setBiddingStrategyBytes(com.google.protobuf.ByteString value)
       The resource name of the portfolio bidding strategy used by the campaign.
       
      string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for biddingStrategy to set.
      Returns:
      This builder for chaining.
    • hasCommission

      public boolean hasCommission()
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
      Specified by:
      hasCommission in interface CampaignOrBuilder
      Returns:
      Whether the commission field is set.
    • getCommission

      public Commission getCommission()
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
      Specified by:
      getCommission in interface CampaignOrBuilder
      Returns:
      The commission.
    • setCommission

      public Campaign.Builder setCommission(Commission value)
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
    • setCommission

      public Campaign.Builder setCommission(Commission.Builder builderForValue)
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
    • mergeCommission

      public Campaign.Builder mergeCommission(Commission value)
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
    • clearCommission

      public Campaign.Builder clearCommission()
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
    • getCommissionBuilder

      public Commission.Builder getCommissionBuilder()
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
    • getCommissionOrBuilder

      public CommissionOrBuilder getCommissionOrBuilder()
       Commission is an automatic bidding strategy in which the advertiser pays
       a certain portion of the conversion value.
       
      .google.ads.googleads.v18.common.Commission commission = 49;
      Specified by:
      getCommissionOrBuilder in interface CampaignOrBuilder
    • hasManualCpa

      public boolean hasManualCpa()
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
      Specified by:
      hasManualCpa in interface CampaignOrBuilder
      Returns:
      Whether the manualCpa field is set.
    • getManualCpa

      public ManualCpa getManualCpa()
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
      Specified by:
      getManualCpa in interface CampaignOrBuilder
      Returns:
      The manualCpa.
    • setManualCpa

      public Campaign.Builder setManualCpa(ManualCpa value)
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
    • setManualCpa

      public Campaign.Builder setManualCpa(ManualCpa.Builder builderForValue)
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
    • mergeManualCpa

      public Campaign.Builder mergeManualCpa(ManualCpa value)
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
    • clearManualCpa

      public Campaign.Builder clearManualCpa()
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
    • getManualCpaBuilder

      public ManualCpa.Builder getManualCpaBuilder()
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
    • getManualCpaOrBuilder

      public ManualCpaOrBuilder getManualCpaOrBuilder()
       Standard Manual CPA bidding strategy.
       Manual bidding strategy that allows advertiser to set the bid per
       advertiser-specified action. Supported only for Local Services campaigns.
       
      .google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;
      Specified by:
      getManualCpaOrBuilder in interface CampaignOrBuilder
    • hasManualCpc

      public boolean hasManualCpc()
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
      Specified by:
      hasManualCpc in interface CampaignOrBuilder
      Returns:
      Whether the manualCpc field is set.
    • getManualCpc

      public ManualCpc getManualCpc()
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
      Specified by:
      getManualCpc in interface CampaignOrBuilder
      Returns:
      The manualCpc.
    • setManualCpc

      public Campaign.Builder setManualCpc(ManualCpc value)
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
    • setManualCpc

      public Campaign.Builder setManualCpc(ManualCpc.Builder builderForValue)
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
    • mergeManualCpc

      public Campaign.Builder mergeManualCpc(ManualCpc value)
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
    • clearManualCpc

      public Campaign.Builder clearManualCpc()
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
    • getManualCpcBuilder

      public ManualCpc.Builder getManualCpcBuilder()
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
    • getManualCpcOrBuilder

      public ManualCpcOrBuilder getManualCpcOrBuilder()
       Standard Manual CPC bidding strategy.
       Manual click-based bidding where user pays per click.
       
      .google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;
      Specified by:
      getManualCpcOrBuilder in interface CampaignOrBuilder
    • hasManualCpm

      public boolean hasManualCpm()
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
      Specified by:
      hasManualCpm in interface CampaignOrBuilder
      Returns:
      Whether the manualCpm field is set.
    • getManualCpm

      public ManualCpm getManualCpm()
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
      Specified by:
      getManualCpm in interface CampaignOrBuilder
      Returns:
      The manualCpm.
    • setManualCpm

      public Campaign.Builder setManualCpm(ManualCpm value)
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
    • setManualCpm

      public Campaign.Builder setManualCpm(ManualCpm.Builder builderForValue)
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
    • mergeManualCpm

      public Campaign.Builder mergeManualCpm(ManualCpm value)
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
    • clearManualCpm

      public Campaign.Builder clearManualCpm()
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
    • getManualCpmBuilder

      public ManualCpm.Builder getManualCpmBuilder()
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
    • getManualCpmOrBuilder

      public ManualCpmOrBuilder getManualCpmOrBuilder()
       Standard Manual CPM bidding strategy.
       Manual impression-based bidding where user pays per thousand
       impressions.
       
      .google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;
      Specified by:
      getManualCpmOrBuilder in interface CampaignOrBuilder
    • hasManualCpv

      public boolean hasManualCpv()
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
      Specified by:
      hasManualCpv in interface CampaignOrBuilder
      Returns:
      Whether the manualCpv field is set.
    • getManualCpv

      public ManualCpv getManualCpv()
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
      Specified by:
      getManualCpv in interface CampaignOrBuilder
      Returns:
      The manualCpv.
    • setManualCpv

      public Campaign.Builder setManualCpv(ManualCpv value)
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
    • setManualCpv

      public Campaign.Builder setManualCpv(ManualCpv.Builder builderForValue)
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
    • mergeManualCpv

      public Campaign.Builder mergeManualCpv(ManualCpv value)
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
    • clearManualCpv

      public Campaign.Builder clearManualCpv()
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
    • getManualCpvBuilder

      public ManualCpv.Builder getManualCpvBuilder()
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
    • getManualCpvOrBuilder

      public ManualCpvOrBuilder getManualCpvOrBuilder()
       A bidding strategy that pays a configurable amount per video view.
       
      .google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;
      Specified by:
      getManualCpvOrBuilder in interface CampaignOrBuilder
    • hasMaximizeConversions

      public boolean hasMaximizeConversions()
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
      Specified by:
      hasMaximizeConversions in interface CampaignOrBuilder
      Returns:
      Whether the maximizeConversions field is set.
    • getMaximizeConversions

      public MaximizeConversions getMaximizeConversions()
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
      Specified by:
      getMaximizeConversions in interface CampaignOrBuilder
      Returns:
      The maximizeConversions.
    • setMaximizeConversions

      public Campaign.Builder setMaximizeConversions(MaximizeConversions value)
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
    • setMaximizeConversions

      public Campaign.Builder setMaximizeConversions(MaximizeConversions.Builder builderForValue)
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
    • mergeMaximizeConversions

      public Campaign.Builder mergeMaximizeConversions(MaximizeConversions value)
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
    • clearMaximizeConversions

      public Campaign.Builder clearMaximizeConversions()
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
    • getMaximizeConversionsBuilder

      public MaximizeConversions.Builder getMaximizeConversionsBuilder()
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
    • getMaximizeConversionsOrBuilder

      public MaximizeConversionsOrBuilder getMaximizeConversionsOrBuilder()
       Standard Maximize Conversions bidding strategy that automatically
       maximizes number of conversions while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;
      Specified by:
      getMaximizeConversionsOrBuilder in interface CampaignOrBuilder
    • hasMaximizeConversionValue

      public boolean hasMaximizeConversionValue()
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
      Specified by:
      hasMaximizeConversionValue in interface CampaignOrBuilder
      Returns:
      Whether the maximizeConversionValue field is set.
    • getMaximizeConversionValue

      public MaximizeConversionValue getMaximizeConversionValue()
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
      Specified by:
      getMaximizeConversionValue in interface CampaignOrBuilder
      Returns:
      The maximizeConversionValue.
    • setMaximizeConversionValue

      public Campaign.Builder setMaximizeConversionValue(MaximizeConversionValue value)
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
    • setMaximizeConversionValue

      public Campaign.Builder setMaximizeConversionValue(MaximizeConversionValue.Builder builderForValue)
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
    • mergeMaximizeConversionValue

      public Campaign.Builder mergeMaximizeConversionValue(MaximizeConversionValue value)
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
    • clearMaximizeConversionValue

      public Campaign.Builder clearMaximizeConversionValue()
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
    • getMaximizeConversionValueBuilder

      public MaximizeConversionValue.Builder getMaximizeConversionValueBuilder()
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
    • getMaximizeConversionValueOrBuilder

      public MaximizeConversionValueOrBuilder getMaximizeConversionValueOrBuilder()
       Standard Maximize Conversion Value bidding strategy that automatically
       sets bids to maximize revenue while spending your budget.
       
      .google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;
      Specified by:
      getMaximizeConversionValueOrBuilder in interface CampaignOrBuilder
    • hasTargetCpa

      public boolean hasTargetCpa()
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
      Specified by:
      hasTargetCpa in interface CampaignOrBuilder
      Returns:
      Whether the targetCpa field is set.
    • getTargetCpa

      public TargetCpa getTargetCpa()
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
      Specified by:
      getTargetCpa in interface CampaignOrBuilder
      Returns:
      The targetCpa.
    • setTargetCpa

      public Campaign.Builder setTargetCpa(TargetCpa value)
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
    • setTargetCpa

      public Campaign.Builder setTargetCpa(TargetCpa.Builder builderForValue)
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
    • mergeTargetCpa

      public Campaign.Builder mergeTargetCpa(TargetCpa value)
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
    • clearTargetCpa

      public Campaign.Builder clearTargetCpa()
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
    • getTargetCpaBuilder

      public TargetCpa.Builder getTargetCpaBuilder()
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
    • getTargetCpaOrBuilder

      public TargetCpaOrBuilder getTargetCpaOrBuilder()
       Standard Target CPA bidding strategy that automatically sets bids to
       help get as many conversions as possible at the target
       cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.common.TargetCpa target_cpa = 26;
      Specified by:
      getTargetCpaOrBuilder in interface CampaignOrBuilder
    • hasTargetImpressionShare

      public boolean hasTargetImpressionShare()
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
      Specified by:
      hasTargetImpressionShare in interface CampaignOrBuilder
      Returns:
      Whether the targetImpressionShare field is set.
    • getTargetImpressionShare

      public TargetImpressionShare getTargetImpressionShare()
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
      Specified by:
      getTargetImpressionShare in interface CampaignOrBuilder
      Returns:
      The targetImpressionShare.
    • setTargetImpressionShare

      public Campaign.Builder setTargetImpressionShare(TargetImpressionShare value)
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
    • setTargetImpressionShare

      public Campaign.Builder setTargetImpressionShare(TargetImpressionShare.Builder builderForValue)
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
    • mergeTargetImpressionShare

      public Campaign.Builder mergeTargetImpressionShare(TargetImpressionShare value)
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
    • clearTargetImpressionShare

      public Campaign.Builder clearTargetImpressionShare()
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
    • getTargetImpressionShareBuilder

      public TargetImpressionShare.Builder getTargetImpressionShareBuilder()
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
    • getTargetImpressionShareOrBuilder

      public TargetImpressionShareOrBuilder getTargetImpressionShareOrBuilder()
       Target Impression Share bidding strategy. An automated bidding strategy
       that sets bids to achieve a chosen percentage of impressions.
       
      .google.ads.googleads.v18.common.TargetImpressionShare target_impression_share = 48;
      Specified by:
      getTargetImpressionShareOrBuilder in interface CampaignOrBuilder
    • hasTargetRoas

      public boolean hasTargetRoas()
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
      Specified by:
      hasTargetRoas in interface CampaignOrBuilder
      Returns:
      Whether the targetRoas field is set.
    • getTargetRoas

      public TargetRoas getTargetRoas()
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
      Specified by:
      getTargetRoas in interface CampaignOrBuilder
      Returns:
      The targetRoas.
    • setTargetRoas

      public Campaign.Builder setTargetRoas(TargetRoas value)
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
    • setTargetRoas

      public Campaign.Builder setTargetRoas(TargetRoas.Builder builderForValue)
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
    • mergeTargetRoas

      public Campaign.Builder mergeTargetRoas(TargetRoas value)
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
    • clearTargetRoas

      public Campaign.Builder clearTargetRoas()
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
    • getTargetRoasBuilder

      public TargetRoas.Builder getTargetRoasBuilder()
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
    • getTargetRoasOrBuilder

      public TargetRoasOrBuilder getTargetRoasOrBuilder()
       Standard Target ROAS bidding strategy that automatically maximizes
       revenue while averaging a specific target return on ad spend (ROAS).
       
      .google.ads.googleads.v18.common.TargetRoas target_roas = 29;
      Specified by:
      getTargetRoasOrBuilder in interface CampaignOrBuilder
    • hasTargetSpend

      public boolean hasTargetSpend()
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
      Specified by:
      hasTargetSpend in interface CampaignOrBuilder
      Returns:
      Whether the targetSpend field is set.
    • getTargetSpend

      public TargetSpend getTargetSpend()
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
      Specified by:
      getTargetSpend in interface CampaignOrBuilder
      Returns:
      The targetSpend.
    • setTargetSpend

      public Campaign.Builder setTargetSpend(TargetSpend value)
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
    • setTargetSpend

      public Campaign.Builder setTargetSpend(TargetSpend.Builder builderForValue)
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
    • mergeTargetSpend

      public Campaign.Builder mergeTargetSpend(TargetSpend value)
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
    • clearTargetSpend

      public Campaign.Builder clearTargetSpend()
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
    • getTargetSpendBuilder

      public TargetSpend.Builder getTargetSpendBuilder()
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
    • getTargetSpendOrBuilder

      public TargetSpendOrBuilder getTargetSpendOrBuilder()
       Standard Target Spend bidding strategy that automatically sets your bids
       to help get as many clicks as possible within your budget.
       
      .google.ads.googleads.v18.common.TargetSpend target_spend = 27;
      Specified by:
      getTargetSpendOrBuilder in interface CampaignOrBuilder
    • hasPercentCpc

      public boolean hasPercentCpc()
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
      Specified by:
      hasPercentCpc in interface CampaignOrBuilder
      Returns:
      Whether the percentCpc field is set.
    • getPercentCpc

      public PercentCpc getPercentCpc()
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
      Specified by:
      getPercentCpc in interface CampaignOrBuilder
      Returns:
      The percentCpc.
    • setPercentCpc

      public Campaign.Builder setPercentCpc(PercentCpc value)
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
    • setPercentCpc

      public Campaign.Builder setPercentCpc(PercentCpc.Builder builderForValue)
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
    • mergePercentCpc

      public Campaign.Builder mergePercentCpc(PercentCpc value)
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
    • clearPercentCpc

      public Campaign.Builder clearPercentCpc()
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
    • getPercentCpcBuilder

      public PercentCpc.Builder getPercentCpcBuilder()
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
    • getPercentCpcOrBuilder

      public PercentCpcOrBuilder getPercentCpcOrBuilder()
       Standard Percent Cpc bidding strategy where bids are a fraction of the
       advertised price for some good or service.
       
      .google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;
      Specified by:
      getPercentCpcOrBuilder in interface CampaignOrBuilder
    • hasTargetCpm

      public boolean hasTargetCpm()
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
      Specified by:
      hasTargetCpm in interface CampaignOrBuilder
      Returns:
      Whether the targetCpm field is set.
    • getTargetCpm

      public TargetCpm getTargetCpm()
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
      Specified by:
      getTargetCpm in interface CampaignOrBuilder
      Returns:
      The targetCpm.
    • setTargetCpm

      public Campaign.Builder setTargetCpm(TargetCpm value)
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
    • setTargetCpm

      public Campaign.Builder setTargetCpm(TargetCpm.Builder builderForValue)
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
    • mergeTargetCpm

      public Campaign.Builder mergeTargetCpm(TargetCpm value)
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
    • clearTargetCpm

      public Campaign.Builder clearTargetCpm()
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
    • getTargetCpmBuilder

      public TargetCpm.Builder getTargetCpmBuilder()
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
    • getTargetCpmOrBuilder

      public TargetCpmOrBuilder getTargetCpmOrBuilder()
       A bidding strategy that automatically optimizes cost per thousand
       impressions.
       
      .google.ads.googleads.v18.common.TargetCpm target_cpm = 41;
      Specified by:
      getTargetCpmOrBuilder in interface CampaignOrBuilder
    • hasFixedCpm

      public boolean hasFixedCpm()
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
      Specified by:
      hasFixedCpm in interface CampaignOrBuilder
      Returns:
      Whether the fixedCpm field is set.
    • getFixedCpm

      public FixedCpm getFixedCpm()
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
      Specified by:
      getFixedCpm in interface CampaignOrBuilder
      Returns:
      The fixedCpm.
    • setFixedCpm

      public Campaign.Builder setFixedCpm(FixedCpm value)
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
    • setFixedCpm

      public Campaign.Builder setFixedCpm(FixedCpm.Builder builderForValue)
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
    • mergeFixedCpm

      public Campaign.Builder mergeFixedCpm(FixedCpm value)
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
    • clearFixedCpm

      public Campaign.Builder clearFixedCpm()
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
    • getFixedCpmBuilder

      public FixedCpm.Builder getFixedCpmBuilder()
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
    • getFixedCpmOrBuilder

      public FixedCpmOrBuilder getFixedCpmOrBuilder()
       A manual bidding strategy with a fixed CPM.
       
      .google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;
      Specified by:
      getFixedCpmOrBuilder in interface CampaignOrBuilder
    • hasTargetCpv

      public boolean hasTargetCpv()
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
      Specified by:
      hasTargetCpv in interface CampaignOrBuilder
      Returns:
      Whether the targetCpv field is set.
    • getTargetCpv

      public TargetCpv getTargetCpv()
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
      Specified by:
      getTargetCpv in interface CampaignOrBuilder
      Returns:
      The targetCpv.
    • setTargetCpv

      public Campaign.Builder setTargetCpv(TargetCpv value)
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
    • setTargetCpv

      public Campaign.Builder setTargetCpv(TargetCpv.Builder builderForValue)
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
    • mergeTargetCpv

      public Campaign.Builder mergeTargetCpv(TargetCpv value)
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
    • clearTargetCpv

      public Campaign.Builder clearTargetCpv()
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
    • getTargetCpvBuilder

      public TargetCpv.Builder getTargetCpvBuilder()
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
    • getTargetCpvOrBuilder

      public TargetCpvOrBuilder getTargetCpvOrBuilder()
       An automated bidding strategy that sets bids to optimize performance
       given the target CPV you set.
       
      .google.ads.googleads.v18.common.TargetCpv target_cpv = 93;
      Specified by:
      getTargetCpvOrBuilder in interface CampaignOrBuilder
    • setUnknownFields

      public final Campaign.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>
    • mergeUnknownFields

      public final Campaign.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Campaign.Builder>