Class CampaignCriterion

  • All Implemented Interfaces:
    CampaignCriterionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class CampaignCriterion
    extends com.google.protobuf.GeneratedMessageV3
    implements CampaignCriterionOrBuilder
     A campaign criterion.
     
    Protobuf type google.ads.googleads.v10.resources.CampaignCriterion
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getResourceName

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

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

        public boolean hasCampaign()
         Immutable. The campaign to which the criterion belongs.
         
        optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        hasCampaign in interface CampaignCriterionOrBuilder
        Returns:
        Whether the campaign field is set.
      • getCampaign

        public java.lang.String getCampaign()
         Immutable. The campaign to which the criterion belongs.
         
        optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaign in interface CampaignCriterionOrBuilder
        Returns:
        The campaign.
      • getCampaignBytes

        public com.google.protobuf.ByteString getCampaignBytes()
         Immutable. The campaign to which the criterion belongs.
         
        optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignBytes in interface CampaignCriterionOrBuilder
        Returns:
        The bytes for campaign.
      • hasCriterionId

        public boolean hasCriterionId()
         Output only. The ID of the criterion.
         This field is ignored during mutate.
         
        optional int64 criterion_id = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCriterionId in interface CampaignCriterionOrBuilder
        Returns:
        Whether the criterionId field is set.
      • getCriterionId

        public long getCriterionId()
         Output only. The ID of the criterion.
         This field is ignored during mutate.
         
        optional int64 criterion_id = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCriterionId in interface CampaignCriterionOrBuilder
        Returns:
        The criterionId.
      • getDisplayName

        public java.lang.String getDisplayName()
         Output only. The display name of the criterion.
         This field is ignored for mutates.
         
        string display_name = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisplayName in interface CampaignCriterionOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Output only. The display name of the criterion.
         This field is ignored for mutates.
         
        string display_name = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisplayNameBytes in interface CampaignCriterionOrBuilder
        Returns:
        The bytes for displayName.
      • hasBidModifier

        public boolean hasBidModifier()
         The modifier for the bids when the criterion matches. The modifier must be
         in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.
         Use 0 to opt out of a Device type.
         
        optional float bid_modifier = 39;
        Specified by:
        hasBidModifier in interface CampaignCriterionOrBuilder
        Returns:
        Whether the bidModifier field is set.
      • getBidModifier

        public float getBidModifier()
         The modifier for the bids when the criterion matches. The modifier must be
         in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.
         Use 0 to opt out of a Device type.
         
        optional float bid_modifier = 39;
        Specified by:
        getBidModifier in interface CampaignCriterionOrBuilder
        Returns:
        The bidModifier.
      • hasNegative

        public boolean hasNegative()
         Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
         
        optional bool negative = 40 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasNegative in interface CampaignCriterionOrBuilder
        Returns:
        Whether the negative field is set.
      • getNegative

        public boolean getNegative()
         Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
         
        optional bool negative = 40 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNegative in interface CampaignCriterionOrBuilder
        Returns:
        The negative.
      • getTypeValue

        public int getTypeValue()
         Output only. The type of the criterion.
         
        .google.ads.googleads.v10.enums.CriterionTypeEnum.CriterionType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTypeValue in interface CampaignCriterionOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getStatusValue

        public int getStatusValue()
         The status of the criterion.
         
        .google.ads.googleads.v10.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35;
        Specified by:
        getStatusValue in interface CampaignCriterionOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • hasKeyword

        public boolean hasKeyword()
         Immutable. Keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo keyword = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasKeyword in interface CampaignCriterionOrBuilder
        Returns:
        Whether the keyword field is set.
      • getKeyword

        public KeywordInfo getKeyword()
         Immutable. Keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo keyword = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKeyword in interface CampaignCriterionOrBuilder
        Returns:
        The keyword.
      • hasPlacement

        public boolean hasPlacement()
         Immutable. Placement.
         
        .google.ads.googleads.v10.common.PlacementInfo placement = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasPlacement in interface CampaignCriterionOrBuilder
        Returns:
        Whether the placement field is set.
      • getPlacement

        public PlacementInfo getPlacement()
         Immutable. Placement.
         
        .google.ads.googleads.v10.common.PlacementInfo placement = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getPlacement in interface CampaignCriterionOrBuilder
        Returns:
        The placement.
      • hasMobileAppCategory

        public boolean hasMobileAppCategory()
         Immutable. Mobile app category.
         
        .google.ads.googleads.v10.common.MobileAppCategoryInfo mobile_app_category = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasMobileAppCategory in interface CampaignCriterionOrBuilder
        Returns:
        Whether the mobileAppCategory field is set.
      • getMobileAppCategory

        public MobileAppCategoryInfo getMobileAppCategory()
         Immutable. Mobile app category.
         
        .google.ads.googleads.v10.common.MobileAppCategoryInfo mobile_app_category = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMobileAppCategory in interface CampaignCriterionOrBuilder
        Returns:
        The mobileAppCategory.
      • hasMobileApplication

        public boolean hasMobileApplication()
         Immutable. Mobile application.
         
        .google.ads.googleads.v10.common.MobileApplicationInfo mobile_application = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasMobileApplication in interface CampaignCriterionOrBuilder
        Returns:
        Whether the mobileApplication field is set.
      • getMobileApplication

        public MobileApplicationInfo getMobileApplication()
         Immutable. Mobile application.
         
        .google.ads.googleads.v10.common.MobileApplicationInfo mobile_application = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMobileApplication in interface CampaignCriterionOrBuilder
        Returns:
        The mobileApplication.
      • hasLocation

        public boolean hasLocation()
         Immutable. Location.
         
        .google.ads.googleads.v10.common.LocationInfo location = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasLocation in interface CampaignCriterionOrBuilder
        Returns:
        Whether the location field is set.
      • getLocation

        public LocationInfo getLocation()
         Immutable. Location.
         
        .google.ads.googleads.v10.common.LocationInfo location = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLocation in interface CampaignCriterionOrBuilder
        Returns:
        The location.
      • hasDevice

        public boolean hasDevice()
         Immutable. Device.
         
        .google.ads.googleads.v10.common.DeviceInfo device = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasDevice in interface CampaignCriterionOrBuilder
        Returns:
        Whether the device field is set.
      • getDevice

        public DeviceInfo getDevice()
         Immutable. Device.
         
        .google.ads.googleads.v10.common.DeviceInfo device = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDevice in interface CampaignCriterionOrBuilder
        Returns:
        The device.
      • hasAdSchedule

        public boolean hasAdSchedule()
         Immutable. Ad Schedule.
         
        .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule = 15 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasAdSchedule in interface CampaignCriterionOrBuilder
        Returns:
        Whether the adSchedule field is set.
      • getAdSchedule

        public AdScheduleInfo getAdSchedule()
         Immutable. Ad Schedule.
         
        .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule = 15 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAdSchedule in interface CampaignCriterionOrBuilder
        Returns:
        The adSchedule.
      • hasAgeRange

        public boolean hasAgeRange()
         Immutable. Age range.
         
        .google.ads.googleads.v10.common.AgeRangeInfo age_range = 16 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasAgeRange in interface CampaignCriterionOrBuilder
        Returns:
        Whether the ageRange field is set.
      • getAgeRange

        public AgeRangeInfo getAgeRange()
         Immutable. Age range.
         
        .google.ads.googleads.v10.common.AgeRangeInfo age_range = 16 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAgeRange in interface CampaignCriterionOrBuilder
        Returns:
        The ageRange.
      • hasGender

        public boolean hasGender()
         Immutable. Gender.
         
        .google.ads.googleads.v10.common.GenderInfo gender = 17 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasGender in interface CampaignCriterionOrBuilder
        Returns:
        Whether the gender field is set.
      • getGender

        public GenderInfo getGender()
         Immutable. Gender.
         
        .google.ads.googleads.v10.common.GenderInfo gender = 17 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getGender in interface CampaignCriterionOrBuilder
        Returns:
        The gender.
      • hasIncomeRange

        public boolean hasIncomeRange()
         Immutable. Income range.
         
        .google.ads.googleads.v10.common.IncomeRangeInfo income_range = 18 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasIncomeRange in interface CampaignCriterionOrBuilder
        Returns:
        Whether the incomeRange field is set.
      • getIncomeRange

        public IncomeRangeInfo getIncomeRange()
         Immutable. Income range.
         
        .google.ads.googleads.v10.common.IncomeRangeInfo income_range = 18 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getIncomeRange in interface CampaignCriterionOrBuilder
        Returns:
        The incomeRange.
      • hasParentalStatus

        public boolean hasParentalStatus()
         Immutable. Parental status.
         
        .google.ads.googleads.v10.common.ParentalStatusInfo parental_status = 19 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasParentalStatus in interface CampaignCriterionOrBuilder
        Returns:
        Whether the parentalStatus field is set.
      • getParentalStatus

        public ParentalStatusInfo getParentalStatus()
         Immutable. Parental status.
         
        .google.ads.googleads.v10.common.ParentalStatusInfo parental_status = 19 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getParentalStatus in interface CampaignCriterionOrBuilder
        Returns:
        The parentalStatus.
      • hasUserList

        public boolean hasUserList()
         Immutable. User List.
         
        .google.ads.googleads.v10.common.UserListInfo user_list = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasUserList in interface CampaignCriterionOrBuilder
        Returns:
        Whether the userList field is set.
      • getUserList

        public UserListInfo getUserList()
         Immutable. User List.
         
        .google.ads.googleads.v10.common.UserListInfo user_list = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getUserList in interface CampaignCriterionOrBuilder
        Returns:
        The userList.
      • hasYoutubeVideo

        public boolean hasYoutubeVideo()
         Immutable. YouTube Video.
         
        .google.ads.googleads.v10.common.YouTubeVideoInfo youtube_video = 20 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasYoutubeVideo in interface CampaignCriterionOrBuilder
        Returns:
        Whether the youtubeVideo field is set.
      • getYoutubeVideo

        public YouTubeVideoInfo getYoutubeVideo()
         Immutable. YouTube Video.
         
        .google.ads.googleads.v10.common.YouTubeVideoInfo youtube_video = 20 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getYoutubeVideo in interface CampaignCriterionOrBuilder
        Returns:
        The youtubeVideo.
      • hasYoutubeChannel

        public boolean hasYoutubeChannel()
         Immutable. YouTube Channel.
         
        .google.ads.googleads.v10.common.YouTubeChannelInfo youtube_channel = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasYoutubeChannel in interface CampaignCriterionOrBuilder
        Returns:
        Whether the youtubeChannel field is set.
      • getYoutubeChannel

        public YouTubeChannelInfo getYoutubeChannel()
         Immutable. YouTube Channel.
         
        .google.ads.googleads.v10.common.YouTubeChannelInfo youtube_channel = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getYoutubeChannel in interface CampaignCriterionOrBuilder
        Returns:
        The youtubeChannel.
      • hasProximity

        public boolean hasProximity()
         Immutable. Proximity.
         
        .google.ads.googleads.v10.common.ProximityInfo proximity = 23 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasProximity in interface CampaignCriterionOrBuilder
        Returns:
        Whether the proximity field is set.
      • getProximity

        public ProximityInfo getProximity()
         Immutable. Proximity.
         
        .google.ads.googleads.v10.common.ProximityInfo proximity = 23 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getProximity in interface CampaignCriterionOrBuilder
        Returns:
        The proximity.
      • hasTopic

        public boolean hasTopic()
         Immutable. Topic.
         
        .google.ads.googleads.v10.common.TopicInfo topic = 24 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasTopic in interface CampaignCriterionOrBuilder
        Returns:
        Whether the topic field is set.
      • getTopic

        public TopicInfo getTopic()
         Immutable. Topic.
         
        .google.ads.googleads.v10.common.TopicInfo topic = 24 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getTopic in interface CampaignCriterionOrBuilder
        Returns:
        The topic.
      • hasListingScope

        public boolean hasListingScope()
         Immutable. Listing scope.
         
        .google.ads.googleads.v10.common.ListingScopeInfo listing_scope = 25 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasListingScope in interface CampaignCriterionOrBuilder
        Returns:
        Whether the listingScope field is set.
      • getListingScope

        public ListingScopeInfo getListingScope()
         Immutable. Listing scope.
         
        .google.ads.googleads.v10.common.ListingScopeInfo listing_scope = 25 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getListingScope in interface CampaignCriterionOrBuilder
        Returns:
        The listingScope.
      • hasLanguage

        public boolean hasLanguage()
         Immutable. Language.
         
        .google.ads.googleads.v10.common.LanguageInfo language = 26 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasLanguage in interface CampaignCriterionOrBuilder
        Returns:
        Whether the language field is set.
      • getLanguage

        public LanguageInfo getLanguage()
         Immutable. Language.
         
        .google.ads.googleads.v10.common.LanguageInfo language = 26 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLanguage in interface CampaignCriterionOrBuilder
        Returns:
        The language.
      • hasIpBlock

        public boolean hasIpBlock()
         Immutable. IpBlock.
         
        .google.ads.googleads.v10.common.IpBlockInfo ip_block = 27 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasIpBlock in interface CampaignCriterionOrBuilder
        Returns:
        Whether the ipBlock field is set.
      • getIpBlock

        public IpBlockInfo getIpBlock()
         Immutable. IpBlock.
         
        .google.ads.googleads.v10.common.IpBlockInfo ip_block = 27 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getIpBlock in interface CampaignCriterionOrBuilder
        Returns:
        The ipBlock.
      • hasContentLabel

        public boolean hasContentLabel()
         Immutable. ContentLabel.
         
        .google.ads.googleads.v10.common.ContentLabelInfo content_label = 28 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasContentLabel in interface CampaignCriterionOrBuilder
        Returns:
        Whether the contentLabel field is set.
      • getContentLabel

        public ContentLabelInfo getContentLabel()
         Immutable. ContentLabel.
         
        .google.ads.googleads.v10.common.ContentLabelInfo content_label = 28 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getContentLabel in interface CampaignCriterionOrBuilder
        Returns:
        The contentLabel.
      • hasCarrier

        public boolean hasCarrier()
         Immutable. Carrier.
         
        .google.ads.googleads.v10.common.CarrierInfo carrier = 29 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasCarrier in interface CampaignCriterionOrBuilder
        Returns:
        Whether the carrier field is set.
      • getCarrier

        public CarrierInfo getCarrier()
         Immutable. Carrier.
         
        .google.ads.googleads.v10.common.CarrierInfo carrier = 29 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCarrier in interface CampaignCriterionOrBuilder
        Returns:
        The carrier.
      • hasUserInterest

        public boolean hasUserInterest()
         Immutable. User Interest.
         
        .google.ads.googleads.v10.common.UserInterestInfo user_interest = 30 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasUserInterest in interface CampaignCriterionOrBuilder
        Returns:
        Whether the userInterest field is set.
      • getUserInterest

        public UserInterestInfo getUserInterest()
         Immutable. User Interest.
         
        .google.ads.googleads.v10.common.UserInterestInfo user_interest = 30 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getUserInterest in interface CampaignCriterionOrBuilder
        Returns:
        The userInterest.
      • hasWebpage

        public boolean hasWebpage()
         Immutable. Webpage.
         
        .google.ads.googleads.v10.common.WebpageInfo webpage = 31 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasWebpage in interface CampaignCriterionOrBuilder
        Returns:
        Whether the webpage field is set.
      • getWebpage

        public WebpageInfo getWebpage()
         Immutable. Webpage.
         
        .google.ads.googleads.v10.common.WebpageInfo webpage = 31 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getWebpage in interface CampaignCriterionOrBuilder
        Returns:
        The webpage.
      • hasOperatingSystemVersion

        public boolean hasOperatingSystemVersion()
         Immutable. Operating system version.
         
        .google.ads.googleads.v10.common.OperatingSystemVersionInfo operating_system_version = 32 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasOperatingSystemVersion in interface CampaignCriterionOrBuilder
        Returns:
        Whether the operatingSystemVersion field is set.
      • hasMobileDevice

        public boolean hasMobileDevice()
         Immutable. Mobile Device.
         
        .google.ads.googleads.v10.common.MobileDeviceInfo mobile_device = 33 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasMobileDevice in interface CampaignCriterionOrBuilder
        Returns:
        Whether the mobileDevice field is set.
      • getMobileDevice

        public MobileDeviceInfo getMobileDevice()
         Immutable. Mobile Device.
         
        .google.ads.googleads.v10.common.MobileDeviceInfo mobile_device = 33 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMobileDevice in interface CampaignCriterionOrBuilder
        Returns:
        The mobileDevice.
      • hasLocationGroup

        public boolean hasLocationGroup()
         Immutable. Location Group
         
        .google.ads.googleads.v10.common.LocationGroupInfo location_group = 34 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasLocationGroup in interface CampaignCriterionOrBuilder
        Returns:
        Whether the locationGroup field is set.
      • getLocationGroup

        public LocationGroupInfo getLocationGroup()
         Immutable. Location Group
         
        .google.ads.googleads.v10.common.LocationGroupInfo location_group = 34 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLocationGroup in interface CampaignCriterionOrBuilder
        Returns:
        The locationGroup.
      • hasCustomAffinity

        public boolean hasCustomAffinity()
         Immutable. Custom Affinity.
         
        .google.ads.googleads.v10.common.CustomAffinityInfo custom_affinity = 36 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasCustomAffinity in interface CampaignCriterionOrBuilder
        Returns:
        Whether the customAffinity field is set.
      • getCustomAffinity

        public CustomAffinityInfo getCustomAffinity()
         Immutable. Custom Affinity.
         
        .google.ads.googleads.v10.common.CustomAffinityInfo custom_affinity = 36 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCustomAffinity in interface CampaignCriterionOrBuilder
        Returns:
        The customAffinity.
      • hasCustomAudience

        public boolean hasCustomAudience()
         Immutable. Custom Audience
         
        .google.ads.googleads.v10.common.CustomAudienceInfo custom_audience = 41 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasCustomAudience in interface CampaignCriterionOrBuilder
        Returns:
        Whether the customAudience field is set.
      • getCustomAudience

        public CustomAudienceInfo getCustomAudience()
         Immutable. Custom Audience
         
        .google.ads.googleads.v10.common.CustomAudienceInfo custom_audience = 41 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCustomAudience in interface CampaignCriterionOrBuilder
        Returns:
        The customAudience.
      • hasCombinedAudience

        public boolean hasCombinedAudience()
         Immutable. Combined Audience.
         
        .google.ads.googleads.v10.common.CombinedAudienceInfo combined_audience = 42 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasCombinedAudience in interface CampaignCriterionOrBuilder
        Returns:
        Whether the combinedAudience field is set.
      • getCombinedAudience

        public CombinedAudienceInfo getCombinedAudience()
         Immutable. Combined Audience.
         
        .google.ads.googleads.v10.common.CombinedAudienceInfo combined_audience = 42 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCombinedAudience in interface CampaignCriterionOrBuilder
        Returns:
        The combinedAudience.
      • hasKeywordTheme

        public boolean hasKeywordTheme()
         Immutable. Smart Campaign Keyword Theme.
         
        .google.ads.googleads.v10.common.KeywordThemeInfo keyword_theme = 45 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasKeywordTheme in interface CampaignCriterionOrBuilder
        Returns:
        Whether the keywordTheme field is set.
      • getKeywordTheme

        public KeywordThemeInfo getKeywordTheme()
         Immutable. Smart Campaign Keyword Theme.
         
        .google.ads.googleads.v10.common.KeywordThemeInfo keyword_theme = 45 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKeywordTheme in interface CampaignCriterionOrBuilder
        Returns:
        The keywordTheme.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CampaignCriterion parseFrom​(java.nio.ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(java.nio.ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CampaignCriterion parseFrom​(java.io.InputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CampaignCriterion parseFrom​(java.io.InputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CampaignCriterion parseDelimitedFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CampaignCriterion parseDelimitedFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CampaignCriterion parseFrom​(com.google.protobuf.CodedInputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CampaignCriterion parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public CampaignCriterion.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CampaignCriterion.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CampaignCriterion.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CampaignCriterion> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CampaignCriterion getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder