Class Campaign
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v13.resources.Campaign
-
- All Implemented Interfaces:
CampaignOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
public final class Campaign extends com.google.protobuf.GeneratedMessageV3 implements CampaignOrBuilder
A campaign.
Protobuf typegoogle.ads.googleads.v13.resources.Campaign
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Campaign.AppCampaignSetting
Campaign-level settings for App Campaigns.static interface
Campaign.AppCampaignSettingOrBuilder
static class
Campaign.AudienceSetting
Settings for the audience targeting.static interface
Campaign.AudienceSettingOrBuilder
static class
Campaign.Builder
A campaign.static class
Campaign.CampaignBiddingStrategyCase
static class
Campaign.CategoryBid
Category bids in LocalServicesReportingCampaignSettings.static interface
Campaign.CategoryBidOrBuilder
static class
Campaign.DynamicSearchAdsSetting
The setting for controlling Dynamic Search Ads (DSA).static interface
Campaign.DynamicSearchAdsSettingOrBuilder
static class
Campaign.GeoTargetTypeSetting
Represents a collection of settings related to ads geotargeting.static interface
Campaign.GeoTargetTypeSettingOrBuilder
static class
Campaign.HotelSettingInfo
Campaign-level settings for hotel ads.static interface
Campaign.HotelSettingInfoOrBuilder
static class
Campaign.LocalCampaignSetting
Campaign setting for local campaigns.static interface
Campaign.LocalCampaignSettingOrBuilder
static class
Campaign.LocalServicesCampaignSettings
Settings for LocalServicesCampaign subresource.static interface
Campaign.LocalServicesCampaignSettingsOrBuilder
static class
Campaign.NetworkSettings
The network settings for the campaign.static interface
Campaign.NetworkSettingsOrBuilder
static class
Campaign.OptimizationGoalSetting
Optimization goal setting for this campaign, which includes a set of optimization goal types.static interface
Campaign.OptimizationGoalSettingOrBuilder
static class
Campaign.PerformanceMaxUpgrade
Information about a campaign being upgraded to Performance Max.static interface
Campaign.PerformanceMaxUpgradeOrBuilder
static class
Campaign.SelectiveOptimization
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.static interface
Campaign.SelectiveOptimizationOrBuilder
static class
Campaign.ShoppingSetting
The setting for Shopping campaigns.static interface
Campaign.ShoppingSettingOrBuilder
static class
Campaign.TrackingSetting
Campaign-level settings for tracking information.static interface
Campaign.TrackingSettingOrBuilder
static class
Campaign.TravelCampaignSettings
Settings for Travel campaign.static interface
Campaign.TravelCampaignSettingsOrBuilder
static class
Campaign.VanityPharma
Describes how unbranded pharma ads will be displayed.static interface
Campaign.VanityPharmaOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAccessibleBiddingStrategy()
Output only.com.google.protobuf.ByteString
getAccessibleBiddingStrategyBytes()
Output only.AdServingOptimizationStatusEnum.AdServingOptimizationStatus
getAdServingOptimizationStatus()
The ad serving optimization status of the campaign.int
getAdServingOptimizationStatusValue()
The ad serving optimization status of the campaign.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType
getAdvertisingChannelSubType()
Immutable.int
getAdvertisingChannelSubTypeValue()
Immutable.AdvertisingChannelTypeEnum.AdvertisingChannelType
getAdvertisingChannelType()
Immutable.int
getAdvertisingChannelTypeValue()
Immutable.Campaign.AppCampaignSetting
getAppCampaignSetting()
The setting related to App Campaign.Campaign.AppCampaignSettingOrBuilder
getAppCampaignSettingOrBuilder()
The setting related to App Campaign.Campaign.AudienceSetting
getAudienceSetting()
Immutable.Campaign.AudienceSettingOrBuilder
getAudienceSettingOrBuilder()
Immutable.java.lang.String
getBaseCampaign()
Output only.com.google.protobuf.ByteString
getBaseCampaignBytes()
Output only.java.lang.String
getBiddingStrategy()
Portfolio bidding strategy used by campaign.com.google.protobuf.ByteString
getBiddingStrategyBytes()
Portfolio bidding strategy used by campaign.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus
getBiddingStrategySystemStatus()
Output only.int
getBiddingStrategySystemStatusValue()
Output only.BiddingStrategyTypeEnum.BiddingStrategyType
getBiddingStrategyType()
Output only.int
getBiddingStrategyTypeValue()
Output only.Campaign.CampaignBiddingStrategyCase
getCampaignBiddingStrategyCase()
java.lang.String
getCampaignBudget()
The budget of the campaign.com.google.protobuf.ByteString
getCampaignBudgetBytes()
The budget of the campaign.java.lang.String
getCampaignGroup()
The campaign group this campaign belongs to.com.google.protobuf.ByteString
getCampaignGroupBytes()
The campaign group this campaign belongs to.Commission
getCommission()
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.CommissionOrBuilder
getCommissionOrBuilder()
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.static Campaign
getDefaultInstance()
Campaign
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Campaign.DynamicSearchAdsSetting
getDynamicSearchAdsSetting()
The setting for controlling Dynamic Search Ads (DSA).Campaign.DynamicSearchAdsSettingOrBuilder
getDynamicSearchAdsSettingOrBuilder()
The setting for controlling Dynamic Search Ads (DSA).java.lang.String
getEndDate()
The last day of the campaign in serving customer's timezone in YYYY-MM-DD format.com.google.protobuf.ByteString
getEndDateBytes()
The last day of the campaign in serving customer's timezone in YYYY-MM-DD format.AssetFieldTypeEnum.AssetFieldType
getExcludedParentAssetFieldTypes(int index)
The asset field types that should be excluded from this campaign.int
getExcludedParentAssetFieldTypesCount()
The asset field types that should be excluded from this campaign.java.util.List<AssetFieldTypeEnum.AssetFieldType>
getExcludedParentAssetFieldTypesList()
The asset field types that should be excluded from this campaign.int
getExcludedParentAssetFieldTypesValue(int index)
The asset field types that should be excluded from this campaign.java.util.List<java.lang.Integer>
getExcludedParentAssetFieldTypesValueList()
The asset field types that should be excluded from this campaign.AssetSetTypeEnum.AssetSetType
getExcludedParentAssetSetTypes(int index)
The asset set types that should be excluded from this campaign.int
getExcludedParentAssetSetTypesCount()
The asset set types that should be excluded from this campaign.java.util.List<AssetSetTypeEnum.AssetSetType>
getExcludedParentAssetSetTypesList()
The asset set types that should be excluded from this campaign.int
getExcludedParentAssetSetTypesValue(int index)
The asset set types that should be excluded from this campaign.java.util.List<java.lang.Integer>
getExcludedParentAssetSetTypesValueList()
The asset set types that should be excluded from this campaign.CampaignExperimentTypeEnum.CampaignExperimentType
getExperimentType()
Output only.int
getExperimentTypeValue()
Output only.java.lang.String
getFinalUrlSuffix()
Suffix used to append query parameters to landing pages that are served with parallel tracking.com.google.protobuf.ByteString
getFinalUrlSuffixBytes()
Suffix used to append query parameters to landing pages that are served with parallel tracking.FrequencyCapEntry
getFrequencyCaps(int index)
A list that limits how often each user will see this campaign's ads.int
getFrequencyCapsCount()
A list that limits how often each user will see this campaign's ads.java.util.List<FrequencyCapEntry>
getFrequencyCapsList()
A list that limits how often each user will see this campaign's ads.FrequencyCapEntryOrBuilder
getFrequencyCapsOrBuilder(int index)
A list that limits how often each user will see this campaign's ads.java.util.List<? extends FrequencyCapEntryOrBuilder>
getFrequencyCapsOrBuilderList()
A list that limits how often each user will see this campaign's ads.Campaign.GeoTargetTypeSetting
getGeoTargetTypeSetting()
The setting for ads geotargeting.Campaign.GeoTargetTypeSettingOrBuilder
getGeoTargetTypeSettingOrBuilder()
The setting for ads geotargeting.java.lang.String
getHotelPropertyAssetSet()
Immutable.com.google.protobuf.ByteString
getHotelPropertyAssetSetBytes()
Immutable.Campaign.HotelSettingInfo
getHotelSetting()
Immutable.Campaign.HotelSettingInfoOrBuilder
getHotelSettingOrBuilder()
Immutable.long
getId()
Output only.java.lang.String
getLabels(int index)
Output only.com.google.protobuf.ByteString
getLabelsBytes(int index)
Output only.int
getLabelsCount()
Output only.com.google.protobuf.ProtocolStringList
getLabelsList()
Output only.ListingTypeEnum.ListingType
getListingType()
Immutable.int
getListingTypeValue()
Immutable.Campaign.LocalCampaignSetting
getLocalCampaignSetting()
The setting for local campaign.Campaign.LocalCampaignSettingOrBuilder
getLocalCampaignSettingOrBuilder()
The setting for local campaign.Campaign.LocalServicesCampaignSettings
getLocalServicesCampaignSettings()
The Local Services Campaign related settings.Campaign.LocalServicesCampaignSettingsOrBuilder
getLocalServicesCampaignSettingsOrBuilder()
The Local Services Campaign related settings.ManualCpa
getManualCpa()
Standard Manual CPA bidding strategy.ManualCpaOrBuilder
getManualCpaOrBuilder()
Standard Manual CPA bidding strategy.ManualCpc
getManualCpc()
Standard Manual CPC bidding strategy.ManualCpcOrBuilder
getManualCpcOrBuilder()
Standard Manual CPC bidding strategy.ManualCpm
getManualCpm()
Standard Manual CPM bidding strategy.ManualCpmOrBuilder
getManualCpmOrBuilder()
Standard Manual CPM bidding strategy.ManualCpv
getManualCpv()
Output only.ManualCpvOrBuilder
getManualCpvOrBuilder()
Output only.MaximizeConversions
getMaximizeConversions()
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.MaximizeConversionsOrBuilder
getMaximizeConversionsOrBuilder()
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.MaximizeConversionValue
getMaximizeConversionValue()
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.MaximizeConversionValueOrBuilder
getMaximizeConversionValueOrBuilder()
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.java.lang.String
getName()
The name of the campaign.com.google.protobuf.ByteString
getNameBytes()
The name of the campaign.Campaign.NetworkSettings
getNetworkSettings()
The network settings for the campaign.Campaign.NetworkSettingsOrBuilder
getNetworkSettingsOrBuilder()
The network settings for the campaign.Campaign.OptimizationGoalSetting
getOptimizationGoalSetting()
Optimization goal setting for this campaign, which includes a set of optimization goal types.Campaign.OptimizationGoalSettingOrBuilder
getOptimizationGoalSettingOrBuilder()
Optimization goal setting for this campaign, which includes a set of optimization goal types.double
getOptimizationScore()
Output only.com.google.protobuf.Parser<Campaign>
getParserForType()
PaymentModeEnum.PaymentMode
getPaymentMode()
Payment mode for the campaign.int
getPaymentModeValue()
Payment mode for the campaign.PercentCpc
getPercentCpc()
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.PercentCpcOrBuilder
getPercentCpcOrBuilder()
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.Campaign.PerformanceMaxUpgrade
getPerformanceMaxUpgrade()
Output only.Campaign.PerformanceMaxUpgradeOrBuilder
getPerformanceMaxUpgradeOrBuilder()
Output only.CampaignPrimaryStatusEnum.CampaignPrimaryStatus
getPrimaryStatus()
Output only.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason
getPrimaryStatusReasons(int index)
Output only.int
getPrimaryStatusReasonsCount()
Output only.java.util.List<CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason>
getPrimaryStatusReasonsList()
Output only.int
getPrimaryStatusReasonsValue(int index)
Output only.java.util.List<java.lang.Integer>
getPrimaryStatusReasonsValueList()
Output only.int
getPrimaryStatusValue()
Output only.RealTimeBiddingSetting
getRealTimeBiddingSetting()
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.RealTimeBiddingSettingOrBuilder
getRealTimeBiddingSettingOrBuilder()
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.Campaign.SelectiveOptimization
getSelectiveOptimization()
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.Campaign.SelectiveOptimizationOrBuilder
getSelectiveOptimizationOrBuilder()
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.int
getSerializedSize()
CampaignServingStatusEnum.CampaignServingStatus
getServingStatus()
Output only.int
getServingStatusValue()
Output only.Campaign.ShoppingSetting
getShoppingSetting()
The setting for controlling Shopping campaigns.Campaign.ShoppingSettingOrBuilder
getShoppingSettingOrBuilder()
The setting for controlling Shopping campaigns.java.lang.String
getStartDate()
The date when campaign started in serving customer's timezone in YYYY-MM-DD format.com.google.protobuf.ByteString
getStartDateBytes()
The date when campaign started in serving customer's timezone in YYYY-MM-DD format.CampaignStatusEnum.CampaignStatus
getStatus()
The status of the campaign.int
getStatusValue()
The status of the campaign.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.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.TargetCpm
getTargetCpm()
A bidding strategy that automatically optimizes cost per thousand impressions.TargetCpmOrBuilder
getTargetCpmOrBuilder()
A bidding strategy that automatically optimizes cost per thousand impressions.TargetImpressionShare
getTargetImpressionShare()
Target Impression Share bidding strategy.TargetImpressionShareOrBuilder
getTargetImpressionShareOrBuilder()
Target Impression Share bidding strategy.TargetingSetting
getTargetingSetting()
Setting for targeting related features.TargetingSettingOrBuilder
getTargetingSettingOrBuilder()
Setting for targeting related features.TargetRoas
getTargetRoas()
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).TargetRoasOrBuilder
getTargetRoasOrBuilder()
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).TargetSpend
getTargetSpend()
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.TargetSpendOrBuilder
getTargetSpendOrBuilder()
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.Campaign.TrackingSetting
getTrackingSetting()
Output only.Campaign.TrackingSettingOrBuilder
getTrackingSettingOrBuilder()
Output only.java.lang.String
getTrackingUrlTemplate()
The URL template for constructing a tracking URL.com.google.protobuf.ByteString
getTrackingUrlTemplateBytes()
The URL template for constructing a tracking URL.Campaign.TravelCampaignSettings
getTravelCampaignSettings()
Settings for Travel campaign.Campaign.TravelCampaignSettingsOrBuilder
getTravelCampaignSettingsOrBuilder()
Settings for Travel campaign.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`.int
getUrlCustomParametersCount()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<CustomParameter>
getUrlCustomParametersList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.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`.java.util.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`.boolean
getUrlExpansionOptOut()
Represents opting out of URL expansion to more targeted URLs.Campaign.VanityPharma
getVanityPharma()
Describes how unbranded pharma ads will be displayed.Campaign.VanityPharmaOrBuilder
getVanityPharmaOrBuilder()
Describes how unbranded pharma ads will be displayed.BrandSafetySuitabilityEnum.BrandSafetySuitability
getVideoBrandSafetySuitability()
Output only.int
getVideoBrandSafetySuitabilityValue()
Output only.boolean
hasAppCampaignSetting()
The setting related to App Campaign.boolean
hasAudienceSetting()
Immutable.boolean
hasBaseCampaign()
Output only.boolean
hasBiddingStrategy()
Portfolio bidding strategy used by campaign.boolean
hasCampaignBudget()
The budget of the campaign.boolean
hasCampaignGroup()
The campaign group this campaign belongs to.boolean
hasCommission()
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.boolean
hasDynamicSearchAdsSetting()
The setting for controlling Dynamic Search Ads (DSA).boolean
hasEndDate()
The last day of the campaign in serving customer's timezone in YYYY-MM-DD format.boolean
hasFinalUrlSuffix()
Suffix used to append query parameters to landing pages that are served with parallel tracking.boolean
hasGeoTargetTypeSetting()
The setting for ads geotargeting.int
hashCode()
boolean
hasHotelPropertyAssetSet()
Immutable.boolean
hasHotelSetting()
Immutable.boolean
hasId()
Output only.boolean
hasListingType()
Immutable.boolean
hasLocalCampaignSetting()
The setting for local campaign.boolean
hasLocalServicesCampaignSettings()
The Local Services Campaign related settings.boolean
hasManualCpa()
Standard Manual CPA bidding strategy.boolean
hasManualCpc()
Standard Manual CPC bidding strategy.boolean
hasManualCpm()
Standard Manual CPM bidding strategy.boolean
hasManualCpv()
Output only.boolean
hasMaximizeConversions()
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.boolean
hasMaximizeConversionValue()
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.boolean
hasName()
The name of the campaign.boolean
hasNetworkSettings()
The network settings for the campaign.boolean
hasOptimizationGoalSetting()
Optimization goal setting for this campaign, which includes a set of optimization goal types.boolean
hasOptimizationScore()
Output only.boolean
hasPercentCpc()
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.boolean
hasPerformanceMaxUpgrade()
Output only.boolean
hasRealTimeBiddingSetting()
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.boolean
hasSelectiveOptimization()
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.boolean
hasShoppingSetting()
The setting for controlling Shopping campaigns.boolean
hasStartDate()
The date when campaign started in serving customer's timezone in YYYY-MM-DD format.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.boolean
hasTargetCpm()
A bidding strategy that automatically optimizes cost per thousand impressions.boolean
hasTargetImpressionShare()
Target Impression Share bidding strategy.boolean
hasTargetingSetting()
Setting for targeting related features.boolean
hasTargetRoas()
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).boolean
hasTargetSpend()
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.boolean
hasTrackingSetting()
Output only.boolean
hasTrackingUrlTemplate()
The URL template for constructing a tracking URL.boolean
hasTravelCampaignSettings()
Settings for Travel campaign.boolean
hasUrlExpansionOptOut()
Represents opting out of URL expansion to more targeted URLs.boolean
hasVanityPharma()
Describes how unbranded pharma ads will be displayed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Campaign.Builder
newBuilder()
static Campaign.Builder
newBuilder(Campaign prototype)
Campaign.Builder
newBuilderForType()
protected Campaign.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Campaign
parseDelimitedFrom(java.io.InputStream input)
static Campaign
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Campaign
parseFrom(byte[] data)
static Campaign
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Campaign
parseFrom(com.google.protobuf.ByteString data)
static Campaign
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Campaign
parseFrom(com.google.protobuf.CodedInputStream input)
static Campaign
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Campaign
parseFrom(java.io.InputStream input)
static Campaign
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Campaign
parseFrom(java.nio.ByteBuffer data)
static Campaign
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Campaign>
parser()
Campaign.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_STATUS_FIELD_NUMBER
public static final int PRIMARY_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_STATUS_REASONS_FIELD_NUMBER
public static final int PRIMARY_STATUS_REASONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVING_STATUS_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIDDING_STRATEGY_SYSTEM_STATUS_FIELD_NUMBER
public static final int BIDDING_STRATEGY_SYSTEM_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_SERVING_OPTIMIZATION_STATUS_FIELD_NUMBER
public static final int AD_SERVING_OPTIMIZATION_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISING_CHANNEL_SUB_TYPE_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_SUB_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_SERVICES_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int LOCAL_SERVICES_CAMPAIGN_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRAVEL_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int TRAVEL_CAMPAIGN_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REAL_TIME_BIDDING_SETTING_FIELD_NUMBER
public static final int REAL_TIME_BIDDING_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_SETTINGS_FIELD_NUMBER
public static final int NETWORK_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_SETTING_FIELD_NUMBER
public static final int HOTEL_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_SEARCH_ADS_SETTING_FIELD_NUMBER
public static final int DYNAMIC_SEARCH_ADS_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOPPING_SETTING_FIELD_NUMBER
public static final int SHOPPING_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETING_SETTING_FIELD_NUMBER
public static final int TARGETING_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUDIENCE_SETTING_FIELD_NUMBER
public static final int AUDIENCE_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEO_TARGET_TYPE_SETTING_FIELD_NUMBER
public static final int GEO_TARGET_TYPE_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_CAMPAIGN_SETTING_FIELD_NUMBER
public static final int LOCAL_CAMPAIGN_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_CAMPAIGN_SETTING_FIELD_NUMBER
public static final int APP_CAMPAIGN_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPERIMENT_TYPE_FIELD_NUMBER
public static final int EXPERIMENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASE_CAMPAIGN_FIELD_NUMBER
public static final int BASE_CAMPAIGN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAMPAIGN_BUDGET_FIELD_NUMBER
public static final int CAMPAIGN_BUDGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIDDING_STRATEGY_TYPE_FIELD_NUMBER
public static final int BIDDING_STRATEGY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESSIBLE_BIDDING_STRATEGY_FIELD_NUMBER
public static final int ACCESSIBLE_BIDDING_STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAMPAIGN_GROUP_FIELD_NUMBER
public static final int CAMPAIGN_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FREQUENCY_CAPS_FIELD_NUMBER
public static final int FREQUENCY_CAPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_BRAND_SAFETY_SUITABILITY_FIELD_NUMBER
public static final int VIDEO_BRAND_SAFETY_SUITABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VANITY_PHARMA_FIELD_NUMBER
public static final int VANITY_PHARMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTIVE_OPTIMIZATION_FIELD_NUMBER
public static final int SELECTIVE_OPTIMIZATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIMIZATION_GOAL_SETTING_FIELD_NUMBER
public static final int OPTIMIZATION_GOAL_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_SETTING_FIELD_NUMBER
public static final int TRACKING_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYMENT_MODE_FIELD_NUMBER
public static final int PAYMENT_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIMIZATION_SCORE_FIELD_NUMBER
public static final int OPTIMIZATION_SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCLUDED_PARENT_ASSET_FIELD_TYPES_FIELD_NUMBER
public static final int EXCLUDED_PARENT_ASSET_FIELD_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCLUDED_PARENT_ASSET_SET_TYPES_FIELD_NUMBER
public static final int EXCLUDED_PARENT_ASSET_SET_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_EXPANSION_OPT_OUT_FIELD_NUMBER
public static final int URL_EXPANSION_OPT_OUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERFORMANCE_MAX_UPGRADE_FIELD_NUMBER
public static final int PERFORMANCE_MAX_UPGRADE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_PROPERTY_ASSET_SET_FIELD_NUMBER
public static final int HOTEL_PROPERTY_ASSET_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LISTING_TYPE_FIELD_NUMBER
public static final int LISTING_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIDDING_STRATEGY_FIELD_NUMBER
public static final int BIDDING_STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMISSION_FIELD_NUMBER
public static final int COMMISSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUAL_CPA_FIELD_NUMBER
public static final int MANUAL_CPA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUAL_CPC_FIELD_NUMBER
public static final int MANUAL_CPC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUAL_CPM_FIELD_NUMBER
public static final int MANUAL_CPM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUAL_CPV_FIELD_NUMBER
public static final int MANUAL_CPV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMIZE_CONVERSIONS_FIELD_NUMBER
public static final int MAXIMIZE_CONVERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER
public static final int MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_CPA_FIELD_NUMBER
public static final int TARGET_CPA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_IMPRESSION_SHARE_FIELD_NUMBER
public static final int TARGET_IMPRESSION_SHARE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_ROAS_FIELD_NUMBER
public static final int TARGET_ROAS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_SPEND_FIELD_NUMBER
public static final int TARGET_SPEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERCENT_CPC_FIELD_NUMBER
public static final int PERCENT_CPC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_CPM_FIELD_NUMBER
public static final int TARGET_CPM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getCampaignBiddingStrategyCase
public Campaign.CampaignBiddingStrategyCase getCampaignBiddingStrategyCase()
- Specified by:
getCampaignBiddingStrategyCase
in interfaceCampaignOrBuilder
-
getResourceName
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for resourceName.
-
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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The id.
-
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 interfaceCampaignOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for name.
-
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.v13.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for primaryStatus.
-
getPrimaryStatus
public CampaignPrimaryStatusEnum.CampaignPrimaryStatus 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.v13.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatus
in interfaceCampaignOrBuilder
- Returns:
- The primaryStatus.
-
getPrimaryStatusReasonsList
public java.util.List<CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason> 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.v13.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusReasonsList
in interfaceCampaignOrBuilder
- 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.v13.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusReasonsCount
in interfaceCampaignOrBuilder
- 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.v13.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusReasons
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
getPrimaryStatusReasonsValueList
public java.util.List<java.lang.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.v13.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusReasonsValueList
in interfaceCampaignOrBuilder
- 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.v13.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryStatusReasonsValue
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryStatusReasons at the given index.
-
getStatusValue
public int getStatusValue()
The status of the campaign. When a new campaign is added, the status defaults to ENABLED.
.google.ads.googleads.v13.enums.CampaignStatusEnum.CampaignStatus status = 5;
- Specified by:
getStatusValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public CampaignStatusEnum.CampaignStatus getStatus()
The status of the campaign. When a new campaign is added, the status defaults to ENABLED.
.google.ads.googleads.v13.enums.CampaignStatusEnum.CampaignStatus status = 5;
- Specified by:
getStatus
in interfaceCampaignOrBuilder
- Returns:
- The status.
-
getServingStatusValue
public int getServingStatusValue()
Output only. The ad serving status of the campaign.
.google.ads.googleads.v13.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServingStatusValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for servingStatus.
-
getServingStatus
public CampaignServingStatusEnum.CampaignServingStatus getServingStatus()
Output only. The ad serving status of the campaign.
.google.ads.googleads.v13.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServingStatus
in interfaceCampaignOrBuilder
- Returns:
- The servingStatus.
-
getBiddingStrategySystemStatusValue
public int getBiddingStrategySystemStatusValue()
Output only. The system status of the campaign's bidding strategy.
.google.ads.googleads.v13.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBiddingStrategySystemStatusValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for biddingStrategySystemStatus.
-
getBiddingStrategySystemStatus
public BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus getBiddingStrategySystemStatus()
Output only. The system status of the campaign's bidding strategy.
.google.ads.googleads.v13.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBiddingStrategySystemStatus
in interfaceCampaignOrBuilder
- Returns:
- The biddingStrategySystemStatus.
-
getAdServingOptimizationStatusValue
public int getAdServingOptimizationStatusValue()
The ad serving optimization status of the campaign.
.google.ads.googleads.v13.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
- Specified by:
getAdServingOptimizationStatusValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for adServingOptimizationStatus.
-
getAdServingOptimizationStatus
public AdServingOptimizationStatusEnum.AdServingOptimizationStatus getAdServingOptimizationStatus()
The ad serving optimization status of the campaign.
.google.ads.googleads.v13.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;
- Specified by:
getAdServingOptimizationStatus
in interfaceCampaignOrBuilder
- Returns:
- The adServingOptimizationStatus.
-
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.v13.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAdvertisingChannelTypeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
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.v13.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAdvertisingChannelType
in interfaceCampaignOrBuilder
- Returns:
- The advertisingChannelType.
-
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.v13.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAdvertisingChannelSubTypeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for advertisingChannelSubType.
-
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.v13.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAdvertisingChannelSubType
in interfaceCampaignOrBuilder
- Returns:
- The advertisingChannelSubType.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 60;
- Specified by:
hasTrackingUrlTemplate
in interfaceCampaignOrBuilder
- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 60;
- Specified by:
getTrackingUrlTemplate
in interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for trackingUrlTemplate.
-
getUrlCustomParametersList
public java.util.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.v13.common.CustomParameter url_custom_parameters = 12;
- Specified by:
getUrlCustomParametersList
in interfaceCampaignOrBuilder
-
getUrlCustomParametersOrBuilderList
public java.util.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.v13.common.CustomParameter url_custom_parameters = 12;
- Specified by:
getUrlCustomParametersOrBuilderList
in interfaceCampaignOrBuilder
-
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.v13.common.CustomParameter url_custom_parameters = 12;
- Specified by:
getUrlCustomParametersCount
in interfaceCampaignOrBuilder
-
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.v13.common.CustomParameter url_custom_parameters = 12;
- Specified by:
getUrlCustomParameters
in interfaceCampaignOrBuilder
-
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.v13.common.CustomParameter url_custom_parameters = 12;
- Specified by:
getUrlCustomParametersOrBuilder
in interfaceCampaignOrBuilder
-
hasLocalServicesCampaignSettings
public boolean hasLocalServicesCampaignSettings()
The Local Services Campaign related settings.
.google.ads.googleads.v13.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
- Specified by:
hasLocalServicesCampaignSettings
in interfaceCampaignOrBuilder
- Returns:
- Whether the localServicesCampaignSettings field is set.
-
getLocalServicesCampaignSettings
public Campaign.LocalServicesCampaignSettings getLocalServicesCampaignSettings()
The Local Services Campaign related settings.
.google.ads.googleads.v13.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
- Specified by:
getLocalServicesCampaignSettings
in interfaceCampaignOrBuilder
- Returns:
- The localServicesCampaignSettings.
-
getLocalServicesCampaignSettingsOrBuilder
public Campaign.LocalServicesCampaignSettingsOrBuilder getLocalServicesCampaignSettingsOrBuilder()
The Local Services Campaign related settings.
.google.ads.googleads.v13.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;
- Specified by:
getLocalServicesCampaignSettingsOrBuilder
in interfaceCampaignOrBuilder
-
hasTravelCampaignSettings
public boolean hasTravelCampaignSettings()
Settings for Travel campaign.
.google.ads.googleads.v13.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
- Specified by:
hasTravelCampaignSettings
in interfaceCampaignOrBuilder
- Returns:
- Whether the travelCampaignSettings field is set.
-
getTravelCampaignSettings
public Campaign.TravelCampaignSettings getTravelCampaignSettings()
Settings for Travel campaign.
.google.ads.googleads.v13.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
- Specified by:
getTravelCampaignSettings
in interfaceCampaignOrBuilder
- Returns:
- The travelCampaignSettings.
-
getTravelCampaignSettingsOrBuilder
public Campaign.TravelCampaignSettingsOrBuilder getTravelCampaignSettingsOrBuilder()
Settings for Travel campaign.
.google.ads.googleads.v13.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;
- Specified by:
getTravelCampaignSettingsOrBuilder
in interfaceCampaignOrBuilder
-
hasRealTimeBiddingSetting
public boolean hasRealTimeBiddingSetting()
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.
.google.ads.googleads.v13.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
- Specified by:
hasRealTimeBiddingSetting
in interfaceCampaignOrBuilder
- 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.v13.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
- Specified by:
getRealTimeBiddingSetting
in interfaceCampaignOrBuilder
- Returns:
- The realTimeBiddingSetting.
-
getRealTimeBiddingSettingOrBuilder
public RealTimeBiddingSettingOrBuilder getRealTimeBiddingSettingOrBuilder()
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.
.google.ads.googleads.v13.common.RealTimeBiddingSetting real_time_bidding_setting = 39;
- Specified by:
getRealTimeBiddingSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasNetworkSettings
public boolean hasNetworkSettings()
The network settings for the campaign.
.google.ads.googleads.v13.resources.Campaign.NetworkSettings network_settings = 14;
- Specified by:
hasNetworkSettings
in interfaceCampaignOrBuilder
- Returns:
- Whether the networkSettings field is set.
-
getNetworkSettings
public Campaign.NetworkSettings getNetworkSettings()
The network settings for the campaign.
.google.ads.googleads.v13.resources.Campaign.NetworkSettings network_settings = 14;
- Specified by:
getNetworkSettings
in interfaceCampaignOrBuilder
- Returns:
- The networkSettings.
-
getNetworkSettingsOrBuilder
public Campaign.NetworkSettingsOrBuilder getNetworkSettingsOrBuilder()
The network settings for the campaign.
.google.ads.googleads.v13.resources.Campaign.NetworkSettings network_settings = 14;
- Specified by:
getNetworkSettingsOrBuilder
in interfaceCampaignOrBuilder
-
hasHotelSetting
public boolean hasHotelSetting()
Immutable. The hotel setting for the campaign.
.google.ads.googleads.v13.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasHotelSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the hotelSetting field is set.
-
getHotelSetting
public Campaign.HotelSettingInfo getHotelSetting()
Immutable. The hotel setting for the campaign.
.google.ads.googleads.v13.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getHotelSetting
in interfaceCampaignOrBuilder
- Returns:
- The hotelSetting.
-
getHotelSettingOrBuilder
public Campaign.HotelSettingInfoOrBuilder getHotelSettingOrBuilder()
Immutable. The hotel setting for the campaign.
.google.ads.googleads.v13.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getHotelSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasDynamicSearchAdsSetting
public boolean hasDynamicSearchAdsSetting()
The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v13.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
- Specified by:
hasDynamicSearchAdsSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the dynamicSearchAdsSetting field is set.
-
getDynamicSearchAdsSetting
public Campaign.DynamicSearchAdsSetting getDynamicSearchAdsSetting()
The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v13.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
- Specified by:
getDynamicSearchAdsSetting
in interfaceCampaignOrBuilder
- Returns:
- The dynamicSearchAdsSetting.
-
getDynamicSearchAdsSettingOrBuilder
public Campaign.DynamicSearchAdsSettingOrBuilder getDynamicSearchAdsSettingOrBuilder()
The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v13.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;
- Specified by:
getDynamicSearchAdsSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasShoppingSetting
public boolean hasShoppingSetting()
The setting for controlling Shopping campaigns.
.google.ads.googleads.v13.resources.Campaign.ShoppingSetting shopping_setting = 36;
- Specified by:
hasShoppingSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the shoppingSetting field is set.
-
getShoppingSetting
public Campaign.ShoppingSetting getShoppingSetting()
The setting for controlling Shopping campaigns.
.google.ads.googleads.v13.resources.Campaign.ShoppingSetting shopping_setting = 36;
- Specified by:
getShoppingSetting
in interfaceCampaignOrBuilder
- Returns:
- The shoppingSetting.
-
getShoppingSettingOrBuilder
public Campaign.ShoppingSettingOrBuilder getShoppingSettingOrBuilder()
The setting for controlling Shopping campaigns.
.google.ads.googleads.v13.resources.Campaign.ShoppingSetting shopping_setting = 36;
- Specified by:
getShoppingSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasTargetingSetting
public boolean hasTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v13.common.TargetingSetting targeting_setting = 43;
- Specified by:
hasTargetingSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the targetingSetting field is set.
-
getTargetingSetting
public TargetingSetting getTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v13.common.TargetingSetting targeting_setting = 43;
- Specified by:
getTargetingSetting
in interfaceCampaignOrBuilder
- Returns:
- The targetingSetting.
-
getTargetingSettingOrBuilder
public TargetingSettingOrBuilder getTargetingSettingOrBuilder()
Setting for targeting related features.
.google.ads.googleads.v13.common.TargetingSetting targeting_setting = 43;
- Specified by:
getTargetingSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasAudienceSetting
public boolean hasAudienceSetting()
Immutable. Setting for audience related features.
optional .google.ads.googleads.v13.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasAudienceSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the audienceSetting field is set.
-
getAudienceSetting
public Campaign.AudienceSetting getAudienceSetting()
Immutable. Setting for audience related features.
optional .google.ads.googleads.v13.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAudienceSetting
in interfaceCampaignOrBuilder
- Returns:
- The audienceSetting.
-
getAudienceSettingOrBuilder
public Campaign.AudienceSettingOrBuilder getAudienceSettingOrBuilder()
Immutable. Setting for audience related features.
optional .google.ads.googleads.v13.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAudienceSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasGeoTargetTypeSetting
public boolean hasGeoTargetTypeSetting()
The setting for ads geotargeting.
.google.ads.googleads.v13.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
- Specified by:
hasGeoTargetTypeSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the geoTargetTypeSetting field is set.
-
getGeoTargetTypeSetting
public Campaign.GeoTargetTypeSetting getGeoTargetTypeSetting()
The setting for ads geotargeting.
.google.ads.googleads.v13.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
- Specified by:
getGeoTargetTypeSetting
in interfaceCampaignOrBuilder
- Returns:
- The geoTargetTypeSetting.
-
getGeoTargetTypeSettingOrBuilder
public Campaign.GeoTargetTypeSettingOrBuilder getGeoTargetTypeSettingOrBuilder()
The setting for ads geotargeting.
.google.ads.googleads.v13.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;
- Specified by:
getGeoTargetTypeSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasLocalCampaignSetting
public boolean hasLocalCampaignSetting()
The setting for local campaign.
.google.ads.googleads.v13.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
- Specified by:
hasLocalCampaignSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the localCampaignSetting field is set.
-
getLocalCampaignSetting
public Campaign.LocalCampaignSetting getLocalCampaignSetting()
The setting for local campaign.
.google.ads.googleads.v13.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
- Specified by:
getLocalCampaignSetting
in interfaceCampaignOrBuilder
- Returns:
- The localCampaignSetting.
-
getLocalCampaignSettingOrBuilder
public Campaign.LocalCampaignSettingOrBuilder getLocalCampaignSettingOrBuilder()
The setting for local campaign.
.google.ads.googleads.v13.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;
- Specified by:
getLocalCampaignSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasAppCampaignSetting
public boolean hasAppCampaignSetting()
The setting related to App Campaign.
.google.ads.googleads.v13.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
- Specified by:
hasAppCampaignSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the appCampaignSetting field is set.
-
getAppCampaignSetting
public Campaign.AppCampaignSetting getAppCampaignSetting()
The setting related to App Campaign.
.google.ads.googleads.v13.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
- Specified by:
getAppCampaignSetting
in interfaceCampaignOrBuilder
- Returns:
- The appCampaignSetting.
-
getAppCampaignSettingOrBuilder
public Campaign.AppCampaignSettingOrBuilder getAppCampaignSettingOrBuilder()
The setting related to App Campaign.
.google.ads.googleads.v13.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;
- Specified by:
getAppCampaignSettingOrBuilder
in interfaceCampaignOrBuilder
-
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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The count of labels.
-
getLabels
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
getExperimentTypeValue
public int getExperimentTypeValue()
Output only. The type of campaign: normal, draft, or experiment.
.google.ads.googleads.v13.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExperimentTypeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for experimentType.
-
getExperimentType
public CampaignExperimentTypeEnum.CampaignExperimentType getExperimentType()
Output only. The type of campaign: normal, draft, or experiment.
.google.ads.googleads.v13.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExperimentType
in interfaceCampaignOrBuilder
- Returns:
- The experimentType.
-
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 interfaceCampaignOrBuilder
- Returns:
- Whether the baseCampaign field is set.
-
getBaseCampaign
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for baseCampaign.
-
hasCampaignBudget
public boolean hasCampaignBudget()
The budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
- Specified by:
hasCampaignBudget
in interfaceCampaignOrBuilder
- Returns:
- Whether the campaignBudget field is set.
-
getCampaignBudget
public java.lang.String getCampaignBudget()
The budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
- Specified by:
getCampaignBudget
in interfaceCampaignOrBuilder
- Returns:
- The campaignBudget.
-
getCampaignBudgetBytes
public com.google.protobuf.ByteString getCampaignBudgetBytes()
The budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }
- Specified by:
getCampaignBudgetBytes
in interfaceCampaignOrBuilder
- Returns:
- The bytes for campaignBudget.
-
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.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBiddingStrategyTypeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for biddingStrategyType.
-
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.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBiddingStrategyType
in interfaceCampaignOrBuilder
- Returns:
- The biddingStrategyType.
-
getAccessibleBiddingStrategy
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for accessibleBiddingStrategy.
-
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 interfaceCampaignOrBuilder
- Returns:
- Whether the startDate field is set.
-
getStartDate
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for startDate.
-
hasCampaignGroup
public boolean hasCampaignGroup()
The campaign group this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
- Specified by:
hasCampaignGroup
in interfaceCampaignOrBuilder
- Returns:
- Whether the campaignGroup field is set.
-
getCampaignGroup
public java.lang.String getCampaignGroup()
The campaign group this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
- Specified by:
getCampaignGroup
in interfaceCampaignOrBuilder
- Returns:
- The campaignGroup.
-
getCampaignGroupBytes
public com.google.protobuf.ByteString getCampaignGroupBytes()
The campaign group this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }
- Specified by:
getCampaignGroupBytes
in interfaceCampaignOrBuilder
- Returns:
- The bytes for campaignGroup.
-
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 interfaceCampaignOrBuilder
- Returns:
- Whether the endDate field is set.
-
getEndDate
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for endDate.
-
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 interfaceCampaignOrBuilder
- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for finalUrlSuffix.
-
getFrequencyCapsList
public java.util.List<FrequencyCapEntry> getFrequencyCapsList()
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = 40;
- Specified by:
getFrequencyCapsList
in interfaceCampaignOrBuilder
-
getFrequencyCapsOrBuilderList
public java.util.List<? extends FrequencyCapEntryOrBuilder> getFrequencyCapsOrBuilderList()
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = 40;
- Specified by:
getFrequencyCapsOrBuilderList
in interfaceCampaignOrBuilder
-
getFrequencyCapsCount
public int getFrequencyCapsCount()
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = 40;
- Specified by:
getFrequencyCapsCount
in interfaceCampaignOrBuilder
-
getFrequencyCaps
public FrequencyCapEntry getFrequencyCaps(int index)
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = 40;
- Specified by:
getFrequencyCaps
in interfaceCampaignOrBuilder
-
getFrequencyCapsOrBuilder
public FrequencyCapEntryOrBuilder getFrequencyCapsOrBuilder(int index)
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = 40;
- Specified by:
getFrequencyCapsOrBuilder
in interfaceCampaignOrBuilder
-
getVideoBrandSafetySuitabilityValue
public int getVideoBrandSafetySuitabilityValue()
Output only. 3-Tier Brand Safety setting for the campaign.
.google.ads.googleads.v13.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getVideoBrandSafetySuitabilityValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for videoBrandSafetySuitability.
-
getVideoBrandSafetySuitability
public BrandSafetySuitabilityEnum.BrandSafetySuitability getVideoBrandSafetySuitability()
Output only. 3-Tier Brand Safety setting for the campaign.
.google.ads.googleads.v13.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getVideoBrandSafetySuitability
in interfaceCampaignOrBuilder
- Returns:
- The videoBrandSafetySuitability.
-
hasVanityPharma
public boolean hasVanityPharma()
Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v13.resources.Campaign.VanityPharma vanity_pharma = 44;
- Specified by:
hasVanityPharma
in interfaceCampaignOrBuilder
- Returns:
- Whether the vanityPharma field is set.
-
getVanityPharma
public Campaign.VanityPharma getVanityPharma()
Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v13.resources.Campaign.VanityPharma vanity_pharma = 44;
- Specified by:
getVanityPharma
in interfaceCampaignOrBuilder
- Returns:
- The vanityPharma.
-
getVanityPharmaOrBuilder
public Campaign.VanityPharmaOrBuilder getVanityPharmaOrBuilder()
Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v13.resources.Campaign.VanityPharma vanity_pharma = 44;
- Specified by:
getVanityPharmaOrBuilder
in interfaceCampaignOrBuilder
-
hasSelectiveOptimization
public boolean hasSelectiveOptimization()
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.
.google.ads.googleads.v13.resources.Campaign.SelectiveOptimization selective_optimization = 45;
- Specified by:
hasSelectiveOptimization
in interfaceCampaignOrBuilder
- 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.
.google.ads.googleads.v13.resources.Campaign.SelectiveOptimization selective_optimization = 45;
- Specified by:
getSelectiveOptimization
in interfaceCampaignOrBuilder
- Returns:
- The selectiveOptimization.
-
getSelectiveOptimizationOrBuilder
public Campaign.SelectiveOptimizationOrBuilder getSelectiveOptimizationOrBuilder()
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.
.google.ads.googleads.v13.resources.Campaign.SelectiveOptimization selective_optimization = 45;
- Specified by:
getSelectiveOptimizationOrBuilder
in interfaceCampaignOrBuilder
-
hasOptimizationGoalSetting
public boolean hasOptimizationGoalSetting()
Optimization goal setting for this campaign, which includes a set of optimization goal types.
.google.ads.googleads.v13.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
- Specified by:
hasOptimizationGoalSetting
in interfaceCampaignOrBuilder
- 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.v13.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
- Specified by:
getOptimizationGoalSetting
in interfaceCampaignOrBuilder
- Returns:
- The optimizationGoalSetting.
-
getOptimizationGoalSettingOrBuilder
public Campaign.OptimizationGoalSettingOrBuilder getOptimizationGoalSettingOrBuilder()
Optimization goal setting for this campaign, which includes a set of optimization goal types.
.google.ads.googleads.v13.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;
- Specified by:
getOptimizationGoalSettingOrBuilder
in interfaceCampaignOrBuilder
-
hasTrackingSetting
public boolean hasTrackingSetting()
Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v13.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTrackingSetting
in interfaceCampaignOrBuilder
- Returns:
- Whether the trackingSetting field is set.
-
getTrackingSetting
public Campaign.TrackingSetting getTrackingSetting()
Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v13.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrackingSetting
in interfaceCampaignOrBuilder
- Returns:
- The trackingSetting.
-
getTrackingSettingOrBuilder
public Campaign.TrackingSettingOrBuilder getTrackingSettingOrBuilder()
Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v13.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrackingSettingOrBuilder
in interfaceCampaignOrBuilder
-
getPaymentModeValue
public int getPaymentModeValue()
Payment mode for the campaign.
.google.ads.googleads.v13.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
- Specified by:
getPaymentModeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for paymentMode.
-
getPaymentMode
public PaymentModeEnum.PaymentMode getPaymentMode()
Payment mode for the campaign.
.google.ads.googleads.v13.enums.PaymentModeEnum.PaymentMode payment_mode = 52;
- Specified by:
getPaymentMode
in interfaceCampaignOrBuilder
- Returns:
- The paymentMode.
-
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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The optimizationScore.
-
getExcludedParentAssetFieldTypesList
public java.util.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.v13.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
- Specified by:
getExcludedParentAssetFieldTypesList
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
- Specified by:
getExcludedParentAssetFieldTypesCount
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
- Specified by:
getExcludedParentAssetFieldTypes
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The excludedParentAssetFieldTypes at the given index.
-
getExcludedParentAssetFieldTypesValueList
public java.util.List<java.lang.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.v13.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
- Specified by:
getExcludedParentAssetFieldTypesValueList
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;
- Specified by:
getExcludedParentAssetFieldTypesValue
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of excludedParentAssetFieldTypes at the given index.
-
getExcludedParentAssetSetTypesList
public java.util.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.v13.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
- Specified by:
getExcludedParentAssetSetTypesList
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
- Specified by:
getExcludedParentAssetSetTypesCount
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
- Specified by:
getExcludedParentAssetSetTypes
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The excludedParentAssetSetTypes at the given index.
-
getExcludedParentAssetSetTypesValueList
public java.util.List<java.lang.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.v13.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
- Specified by:
getExcludedParentAssetSetTypesValueList
in interfaceCampaignOrBuilder
- 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.v13.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;
- Specified by:
getExcludedParentAssetSetTypesValue
in interfaceCampaignOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of excludedParentAssetSetTypes at the given index.
-
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 interfaceCampaignOrBuilder
- 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 interfaceCampaignOrBuilder
- Returns:
- The urlExpansionOptOut.
-
hasPerformanceMaxUpgrade
public boolean hasPerformanceMaxUpgrade()
Output only. Information about campaigns being upgraded to Performance Max.
.google.ads.googleads.v13.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasPerformanceMaxUpgrade
in interfaceCampaignOrBuilder
- 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.v13.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPerformanceMaxUpgrade
in interfaceCampaignOrBuilder
- Returns:
- The performanceMaxUpgrade.
-
getPerformanceMaxUpgradeOrBuilder
public Campaign.PerformanceMaxUpgradeOrBuilder getPerformanceMaxUpgradeOrBuilder()
Output only. Information about campaigns being upgraded to Performance Max.
.google.ads.googleads.v13.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPerformanceMaxUpgradeOrBuilder
in interfaceCampaignOrBuilder
-
hasHotelPropertyAssetSet
public boolean hasHotelPropertyAssetSet()
Immutable. The 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 interfaceCampaignOrBuilder
- Returns:
- Whether the hotelPropertyAssetSet field is set.
-
getHotelPropertyAssetSet
public java.lang.String getHotelPropertyAssetSet()
Immutable. The 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 interfaceCampaignOrBuilder
- Returns:
- The hotelPropertyAssetSet.
-
getHotelPropertyAssetSetBytes
public com.google.protobuf.ByteString getHotelPropertyAssetSetBytes()
Immutable. The 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 interfaceCampaignOrBuilder
- Returns:
- The bytes for hotelPropertyAssetSet.
-
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.v13.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasListingType
in interfaceCampaignOrBuilder
- 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.v13.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getListingTypeValue
in interfaceCampaignOrBuilder
- Returns:
- The enum numeric value on the wire for listingType.
-
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.v13.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getListingType
in interfaceCampaignOrBuilder
- Returns:
- The listingType.
-
hasBiddingStrategy
public boolean hasBiddingStrategy()
Portfolio bidding strategy used by campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
- Specified by:
hasBiddingStrategy
in interfaceCampaignOrBuilder
- Returns:
- Whether the biddingStrategy field is set.
-
getBiddingStrategy
public java.lang.String getBiddingStrategy()
Portfolio bidding strategy used by campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
- Specified by:
getBiddingStrategy
in interfaceCampaignOrBuilder
- Returns:
- The biddingStrategy.
-
getBiddingStrategyBytes
public com.google.protobuf.ByteString getBiddingStrategyBytes()
Portfolio bidding strategy used by campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }
- Specified by:
getBiddingStrategyBytes
in interfaceCampaignOrBuilder
- Returns:
- The bytes for biddingStrategy.
-
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.v13.common.Commission commission = 49;
- Specified by:
hasCommission
in interfaceCampaignOrBuilder
- 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.v13.common.Commission commission = 49;
- Specified by:
getCommission
in interfaceCampaignOrBuilder
- Returns:
- The commission.
-
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.v13.common.Commission commission = 49;
- Specified by:
getCommissionOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.ManualCpa manual_cpa = 74;
- Specified by:
hasManualCpa
in interfaceCampaignOrBuilder
- 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.v13.common.ManualCpa manual_cpa = 74;
- Specified by:
getManualCpa
in interfaceCampaignOrBuilder
- Returns:
- The manualCpa.
-
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.v13.common.ManualCpa manual_cpa = 74;
- Specified by:
getManualCpaOrBuilder
in interfaceCampaignOrBuilder
-
hasManualCpc
public boolean hasManualCpc()
Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
.google.ads.googleads.v13.common.ManualCpc manual_cpc = 24;
- Specified by:
hasManualCpc
in interfaceCampaignOrBuilder
- 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.v13.common.ManualCpc manual_cpc = 24;
- Specified by:
getManualCpc
in interfaceCampaignOrBuilder
- Returns:
- The manualCpc.
-
getManualCpcOrBuilder
public ManualCpcOrBuilder getManualCpcOrBuilder()
Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
.google.ads.googleads.v13.common.ManualCpc manual_cpc = 24;
- Specified by:
getManualCpcOrBuilder
in interfaceCampaignOrBuilder
-
hasManualCpm
public boolean hasManualCpm()
Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
.google.ads.googleads.v13.common.ManualCpm manual_cpm = 25;
- Specified by:
hasManualCpm
in interfaceCampaignOrBuilder
- 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.v13.common.ManualCpm manual_cpm = 25;
- Specified by:
getManualCpm
in interfaceCampaignOrBuilder
- Returns:
- The manualCpm.
-
getManualCpmOrBuilder
public ManualCpmOrBuilder getManualCpmOrBuilder()
Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
.google.ads.googleads.v13.common.ManualCpm manual_cpm = 25;
- Specified by:
getManualCpmOrBuilder
in interfaceCampaignOrBuilder
-
hasManualCpv
public boolean hasManualCpv()
Output only. A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v13.common.ManualCpv manual_cpv = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasManualCpv
in interfaceCampaignOrBuilder
- Returns:
- Whether the manualCpv field is set.
-
getManualCpv
public ManualCpv getManualCpv()
Output only. A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v13.common.ManualCpv manual_cpv = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getManualCpv
in interfaceCampaignOrBuilder
- Returns:
- The manualCpv.
-
getManualCpvOrBuilder
public ManualCpvOrBuilder getManualCpvOrBuilder()
Output only. A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v13.common.ManualCpv manual_cpv = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getManualCpvOrBuilder
in interfaceCampaignOrBuilder
-
hasMaximizeConversions
public boolean hasMaximizeConversions()
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
.google.ads.googleads.v13.common.MaximizeConversions maximize_conversions = 30;
- Specified by:
hasMaximizeConversions
in interfaceCampaignOrBuilder
- 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.v13.common.MaximizeConversions maximize_conversions = 30;
- Specified by:
getMaximizeConversions
in interfaceCampaignOrBuilder
- Returns:
- The maximizeConversions.
-
getMaximizeConversionsOrBuilder
public MaximizeConversionsOrBuilder getMaximizeConversionsOrBuilder()
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
.google.ads.googleads.v13.common.MaximizeConversions maximize_conversions = 30;
- Specified by:
getMaximizeConversionsOrBuilder
in interfaceCampaignOrBuilder
-
hasMaximizeConversionValue
public boolean hasMaximizeConversionValue()
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.
.google.ads.googleads.v13.common.MaximizeConversionValue maximize_conversion_value = 31;
- Specified by:
hasMaximizeConversionValue
in interfaceCampaignOrBuilder
- 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.v13.common.MaximizeConversionValue maximize_conversion_value = 31;
- Specified by:
getMaximizeConversionValue
in interfaceCampaignOrBuilder
- Returns:
- The maximizeConversionValue.
-
getMaximizeConversionValueOrBuilder
public MaximizeConversionValueOrBuilder getMaximizeConversionValueOrBuilder()
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.
.google.ads.googleads.v13.common.MaximizeConversionValue maximize_conversion_value = 31;
- Specified by:
getMaximizeConversionValueOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.TargetCpa target_cpa = 26;
- Specified by:
hasTargetCpa
in interfaceCampaignOrBuilder
- 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.v13.common.TargetCpa target_cpa = 26;
- Specified by:
getTargetCpa
in interfaceCampaignOrBuilder
- Returns:
- The targetCpa.
-
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.v13.common.TargetCpa target_cpa = 26;
- Specified by:
getTargetCpaOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.TargetImpressionShare target_impression_share = 48;
- Specified by:
hasTargetImpressionShare
in interfaceCampaignOrBuilder
- 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.v13.common.TargetImpressionShare target_impression_share = 48;
- Specified by:
getTargetImpressionShare
in interfaceCampaignOrBuilder
- Returns:
- The targetImpressionShare.
-
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.v13.common.TargetImpressionShare target_impression_share = 48;
- Specified by:
getTargetImpressionShareOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.TargetRoas target_roas = 29;
- Specified by:
hasTargetRoas
in interfaceCampaignOrBuilder
- 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.v13.common.TargetRoas target_roas = 29;
- Specified by:
getTargetRoas
in interfaceCampaignOrBuilder
- Returns:
- The targetRoas.
-
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.v13.common.TargetRoas target_roas = 29;
- Specified by:
getTargetRoasOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.TargetSpend target_spend = 27;
- Specified by:
hasTargetSpend
in interfaceCampaignOrBuilder
- 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.v13.common.TargetSpend target_spend = 27;
- Specified by:
getTargetSpend
in interfaceCampaignOrBuilder
- Returns:
- The targetSpend.
-
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.v13.common.TargetSpend target_spend = 27;
- Specified by:
getTargetSpendOrBuilder
in interfaceCampaignOrBuilder
-
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.v13.common.PercentCpc percent_cpc = 34;
- Specified by:
hasPercentCpc
in interfaceCampaignOrBuilder
- 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.v13.common.PercentCpc percent_cpc = 34;
- Specified by:
getPercentCpc
in interfaceCampaignOrBuilder
- Returns:
- The percentCpc.
-
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.v13.common.PercentCpc percent_cpc = 34;
- Specified by:
getPercentCpcOrBuilder
in interfaceCampaignOrBuilder
-
hasTargetCpm
public boolean hasTargetCpm()
A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v13.common.TargetCpm target_cpm = 41;
- Specified by:
hasTargetCpm
in interfaceCampaignOrBuilder
- Returns:
- Whether the targetCpm field is set.
-
getTargetCpm
public TargetCpm getTargetCpm()
A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v13.common.TargetCpm target_cpm = 41;
- Specified by:
getTargetCpm
in interfaceCampaignOrBuilder
- Returns:
- The targetCpm.
-
getTargetCpmOrBuilder
public TargetCpmOrBuilder getTargetCpmOrBuilder()
A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v13.common.TargetCpm target_cpm = 41;
- Specified by:
getTargetCpmOrBuilder
in interfaceCampaignOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Campaign parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Campaign parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Campaign parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Campaign parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Campaign parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Campaign parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Campaign.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Campaign.Builder newBuilder()
-
newBuilder
public static Campaign.Builder newBuilder(Campaign prototype)
-
toBuilder
public Campaign.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Campaign.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Campaign getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Campaign> parser()
-
getParserForType
public com.google.protobuf.Parser<Campaign> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Campaign getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-