Class Campaign
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Campaign
- All Implemented Interfaces:
CampaignOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Campaign
extends com.google.protobuf.GeneratedMessageV3
implements CampaignOrBuilder
A campaign.Protobuf type
google.ads.googleads.v18.resources.Campaign- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCampaign-level settings for App Campaigns.static interfacestatic final classAsset automation setting contains pair of AssetAutomationType and the asset automation opt-in/out statusstatic interfacestatic final classSettings for the audience targeting.static interfacestatic final classA campaign.static enumstatic final classCategory bids in LocalServicesReportingCampaignSettings.static interfacestatic final classSettings for Demand Gen campaign.static interfacestatic final classThe setting for controlling Dynamic Search Ads (DSA).static interfacestatic final classRepresents a collection of settings related to ads geotargeting.static interfacestatic final classCampaign-level settings for hotel ads.static interfacestatic final classCampaign setting for local campaigns.static interfacestatic final classSettings for LocalServicesCampaign subresource.static interfacestatic final classThe network settings for the campaign.static interfacestatic final classOptimization goal setting for this campaign, which includes a set of optimization goal types.static interfacestatic final classInformation about a campaign being upgraded to Performance Max.static interfacestatic final classSelective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.static interfacestatic final classThe setting for Shopping campaigns.static interfacestatic final classCampaign-level settings for tracking information.static interfacestatic final classSettings for Travel campaign.static interfacestatic final classDescribes how unbranded pharma ads will be displayed.static interfacestatic final classSettings for Video campaign.static interfaceNested 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.The ad serving optimization status of the campaign.intThe ad serving optimization status of the campaign.Immutable.intImmutable.Immutable.intImmutable.The setting related to App Campaign.The setting related to App Campaign.getAssetAutomationSettings(int index) Contains the opt-in/out status of each AssetAutomationType.intContains the opt-in/out status of each AssetAutomationType.Contains the opt-in/out status of each AssetAutomationType.getAssetAutomationSettingsOrBuilder(int index) Contains the opt-in/out status of each AssetAutomationType.List<? extends Campaign.AssetAutomationSettingOrBuilder>Contains the opt-in/out status of each AssetAutomationType.Immutable.Immutable.Output only.com.google.protobuf.ByteStringOutput only.The resource name of the portfolio bidding strategy used by the campaign.com.google.protobuf.ByteStringThe resource name of the portfolio bidding strategy used by the campaign.Output only.intOutput only.Output only.intOutput only.booleanOutput only.The resource name of the campaign budget of the campaign.com.google.protobuf.ByteStringThe resource name of the campaign budget of the campaign.The resource name of the campaign group that this campaign belongs to.com.google.protobuf.ByteStringThe resource name of the campaign group that this campaign belongs to.Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.static CampaignSettings for Demand Gen campaign.Settings for Demand Gen campaign.static final com.google.protobuf.Descriptors.DescriptorThe setting for controlling Dynamic Search Ads (DSA).The setting for controlling Dynamic Search Ads (DSA).The last day of the campaign in serving customer's timezone in YYYY-MM-DD format.com.google.protobuf.ByteStringThe last day of the campaign in serving customer's timezone in YYYY-MM-DD format.getExcludedParentAssetFieldTypes(int index) The asset field types that should be excluded from this campaign.intThe asset field types that should be excluded from this campaign.The asset field types that should be excluded from this campaign.intgetExcludedParentAssetFieldTypesValue(int index) The asset field types that should be excluded from this campaign.The asset field types that should be excluded from this campaign.getExcludedParentAssetSetTypes(int index) The asset set types that should be excluded from this campaign.intThe asset set types that should be excluded from this campaign.The asset set types that should be excluded from this campaign.intgetExcludedParentAssetSetTypesValue(int index) The asset set types that should be excluded from this campaign.The asset set types that should be excluded from this campaign.Output only.intOutput only.Suffix used to append query parameters to landing pages that are served with parallel tracking.com.google.protobuf.ByteStringSuffix used to append query parameters to landing pages that are served with parallel tracking.A manual bidding strategy with a fixed CPM.A manual bidding strategy with a fixed CPM.getFrequencyCaps(int index) A list that limits how often each user will see this campaign's ads.intA list that limits how often each user will see this campaign's ads.A list that limits how often each user will see this campaign's ads.getFrequencyCapsOrBuilder(int index) A list that limits how often each user will see this campaign's ads.List<? extends FrequencyCapEntryOrBuilder>A list that limits how often each user will see this campaign's ads.The setting for ads geotargeting.The setting for ads geotargeting.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.Immutable.longgetId()Output only.Keyword match type of Campaign.intKeyword match type of Campaign.getLabels(int index) Output only.com.google.protobuf.ByteStringgetLabelsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Immutable.intImmutable.The setting for local campaign.The setting for local campaign.The Local Services Campaign related settings.The Local Services Campaign related settings.Standard Manual CPA bidding strategy.Standard Manual CPA bidding strategy.Standard Manual CPC bidding strategy.Standard Manual CPC bidding strategy.Standard Manual CPM bidding strategy.Standard Manual CPM bidding strategy.A bidding strategy that pays a configurable amount per video view.A bidding strategy that pays a configurable amount per video view.Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.getName()The name of the campaign.com.google.protobuf.ByteStringThe name of the campaign.The network settings for the campaign.The network settings for the campaign.Optimization goal setting for this campaign, which includes a set of optimization goal types.Optimization goal setting for this campaign, which includes a set of optimization goal types.doubleOutput only.com.google.protobuf.Parser<Campaign>Payment mode for the campaign.intPayment mode for the campaign.Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.Output only.Output only.Output only.getPrimaryStatusReasons(int index) Output only.intOutput only.Output only.intgetPrimaryStatusReasonsValue(int index) Output only.Output only.intOutput only.Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.Immutable.com.google.protobuf.ByteStringImmutable.Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.intOutput only.intOutput only.The setting for controlling Shopping campaigns.The setting for controlling Shopping campaigns.The date when campaign started in serving customer's timezone in YYYY-MM-DD format.com.google.protobuf.ByteStringThe date when campaign started in serving customer's timezone in YYYY-MM-DD format.The status of the campaign.intThe status of the campaign.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.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.A bidding strategy that automatically optimizes cost per thousand impressions.A bidding strategy that automatically optimizes cost per thousand impressions.An automated bidding strategy that sets bids to optimize performance given the target CPV you set.An automated bidding strategy that sets bids to optimize performance given the target CPV you set.Target Impression Share bidding strategy.Target Impression Share bidding strategy.Setting for targeting related features.Setting for targeting related features.Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.Output only.Output only.The URL template for constructing a tracking URL.com.google.protobuf.ByteStringThe URL template for constructing a tracking URL.Settings for Travel campaign.Settings for Travel campaign.getUrlCustomParameters(int index) The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.intThe list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.getUrlCustomParametersOrBuilder(int index) The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.List<? extends CustomParameterOrBuilder>The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.booleanRepresents opting out of URL expansion to more targeted URLs.Describes how unbranded pharma ads will be displayed.Describes how unbranded pharma ads will be displayed.Brand Safety setting at the individual campaign level.intBrand Safety setting at the individual campaign level.Settings for Video campaign.Settings for Video campaign.booleanThe setting related to App Campaign.booleanImmutable.booleanOutput only.booleanThe resource name of the portfolio bidding strategy used by the campaign.booleanOutput only.booleanThe resource name of the campaign budget of the campaign.booleanThe resource name of the campaign group that this campaign belongs to.booleanCommission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.booleanSettings for Demand Gen campaign.booleanThe setting for controlling Dynamic Search Ads (DSA).booleanThe last day of the campaign in serving customer's timezone in YYYY-MM-DD format.booleanSuffix used to append query parameters to landing pages that are served with parallel tracking.booleanA manual bidding strategy with a fixed CPM.booleanThe setting for ads geotargeting.inthashCode()booleanImmutable.booleanImmutable.booleanhasId()Output only.booleanImmutable.booleanThe setting for local campaign.booleanThe Local Services Campaign related settings.booleanStandard Manual CPA bidding strategy.booleanStandard Manual CPC bidding strategy.booleanStandard Manual CPM bidding strategy.booleanA bidding strategy that pays a configurable amount per video view.booleanStandard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.booleanStandard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.booleanhasName()The name of the campaign.booleanThe network settings for the campaign.booleanOptimization goal setting for this campaign, which includes a set of optimization goal types.booleanOutput only.booleanStandard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.booleanOutput only.booleanSettings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.booleanSelective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards.booleanThe setting for controlling Shopping campaigns.booleanThe date when campaign started in serving customer's timezone in YYYY-MM-DD format.booleanStandard 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.booleanA bidding strategy that automatically optimizes cost per thousand impressions.booleanAn automated bidding strategy that sets bids to optimize performance given the target CPV you set.booleanTarget Impression Share bidding strategy.booleanSetting for targeting related features.booleanStandard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).booleanStandard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.booleanOutput only.booleanThe URL template for constructing a tracking URL.booleanSettings for Travel campaign.booleanRepresents opting out of URL expansion to more targeted URLs.booleanDescribes how unbranded pharma ads will be displayed.booleanSettings for Video campaign.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Campaign.Builderstatic Campaign.BuildernewBuilder(Campaign prototype) protected Campaign.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CampaignparseDelimitedFrom(InputStream input) static CampaignparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignparseFrom(byte[] data) static CampaignparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignparseFrom(com.google.protobuf.ByteString data) static CampaignparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignparseFrom(com.google.protobuf.CodedInputStream input) static CampaignparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignparseFrom(InputStream input) static CampaignparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignparseFrom(ByteBuffer data) static CampaignparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Campaign>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PRIMARY_STATUS_FIELD_NUMBER
public static final int PRIMARY_STATUS_FIELD_NUMBER- See Also:
-
PRIMARY_STATUS_REASONS_FIELD_NUMBER
public static final int PRIMARY_STATUS_REASONS_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SERVING_STATUS_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER- See Also:
-
BIDDING_STRATEGY_SYSTEM_STATUS_FIELD_NUMBER
public static final int BIDDING_STRATEGY_SYSTEM_STATUS_FIELD_NUMBER- See Also:
-
AD_SERVING_OPTIMIZATION_STATUS_FIELD_NUMBER
public static final int AD_SERVING_OPTIMIZATION_STATUS_FIELD_NUMBER- See Also:
-
ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER- See Also:
-
ADVERTISING_CHANNEL_SUB_TYPE_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_SUB_TYPE_FIELD_NUMBER- See Also:
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER- See Also:
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER- See Also:
-
LOCAL_SERVICES_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int LOCAL_SERVICES_CAMPAIGN_SETTINGS_FIELD_NUMBER- See Also:
-
TRAVEL_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int TRAVEL_CAMPAIGN_SETTINGS_FIELD_NUMBER- See Also:
-
DEMAND_GEN_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int DEMAND_GEN_CAMPAIGN_SETTINGS_FIELD_NUMBER- See Also:
-
VIDEO_CAMPAIGN_SETTINGS_FIELD_NUMBER
public static final int VIDEO_CAMPAIGN_SETTINGS_FIELD_NUMBER- See Also:
-
REAL_TIME_BIDDING_SETTING_FIELD_NUMBER
public static final int REAL_TIME_BIDDING_SETTING_FIELD_NUMBER- See Also:
-
NETWORK_SETTINGS_FIELD_NUMBER
public static final int NETWORK_SETTINGS_FIELD_NUMBER- See Also:
-
HOTEL_SETTING_FIELD_NUMBER
public static final int HOTEL_SETTING_FIELD_NUMBER- See Also:
-
DYNAMIC_SEARCH_ADS_SETTING_FIELD_NUMBER
public static final int DYNAMIC_SEARCH_ADS_SETTING_FIELD_NUMBER- See Also:
-
SHOPPING_SETTING_FIELD_NUMBER
public static final int SHOPPING_SETTING_FIELD_NUMBER- See Also:
-
TARGETING_SETTING_FIELD_NUMBER
public static final int TARGETING_SETTING_FIELD_NUMBER- See Also:
-
AUDIENCE_SETTING_FIELD_NUMBER
public static final int AUDIENCE_SETTING_FIELD_NUMBER- See Also:
-
GEO_TARGET_TYPE_SETTING_FIELD_NUMBER
public static final int GEO_TARGET_TYPE_SETTING_FIELD_NUMBER- See Also:
-
LOCAL_CAMPAIGN_SETTING_FIELD_NUMBER
public static final int LOCAL_CAMPAIGN_SETTING_FIELD_NUMBER- See Also:
-
APP_CAMPAIGN_SETTING_FIELD_NUMBER
public static final int APP_CAMPAIGN_SETTING_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
EXPERIMENT_TYPE_FIELD_NUMBER
public static final int EXPERIMENT_TYPE_FIELD_NUMBER- See Also:
-
BASE_CAMPAIGN_FIELD_NUMBER
public static final int BASE_CAMPAIGN_FIELD_NUMBER- See Also:
-
CAMPAIGN_BUDGET_FIELD_NUMBER
public static final int CAMPAIGN_BUDGET_FIELD_NUMBER- See Also:
-
BIDDING_STRATEGY_TYPE_FIELD_NUMBER
public static final int BIDDING_STRATEGY_TYPE_FIELD_NUMBER- See Also:
-
ACCESSIBLE_BIDDING_STRATEGY_FIELD_NUMBER
public static final int ACCESSIBLE_BIDDING_STRATEGY_FIELD_NUMBER- See Also:
-
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER- See Also:
-
CAMPAIGN_GROUP_FIELD_NUMBER
public static final int CAMPAIGN_GROUP_FIELD_NUMBER- See Also:
-
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER- See Also:
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER- See Also:
-
FREQUENCY_CAPS_FIELD_NUMBER
public static final int FREQUENCY_CAPS_FIELD_NUMBER- See Also:
-
VIDEO_BRAND_SAFETY_SUITABILITY_FIELD_NUMBER
public static final int VIDEO_BRAND_SAFETY_SUITABILITY_FIELD_NUMBER- See Also:
-
VANITY_PHARMA_FIELD_NUMBER
public static final int VANITY_PHARMA_FIELD_NUMBER- See Also:
-
SELECTIVE_OPTIMIZATION_FIELD_NUMBER
public static final int SELECTIVE_OPTIMIZATION_FIELD_NUMBER- See Also:
-
OPTIMIZATION_GOAL_SETTING_FIELD_NUMBER
public static final int OPTIMIZATION_GOAL_SETTING_FIELD_NUMBER- See Also:
-
TRACKING_SETTING_FIELD_NUMBER
public static final int TRACKING_SETTING_FIELD_NUMBER- See Also:
-
PAYMENT_MODE_FIELD_NUMBER
public static final int PAYMENT_MODE_FIELD_NUMBER- See Also:
-
OPTIMIZATION_SCORE_FIELD_NUMBER
public static final int OPTIMIZATION_SCORE_FIELD_NUMBER- See Also:
-
EXCLUDED_PARENT_ASSET_FIELD_TYPES_FIELD_NUMBER
public static final int EXCLUDED_PARENT_ASSET_FIELD_TYPES_FIELD_NUMBER- See Also:
-
EXCLUDED_PARENT_ASSET_SET_TYPES_FIELD_NUMBER
public static final int EXCLUDED_PARENT_ASSET_SET_TYPES_FIELD_NUMBER- See Also:
-
URL_EXPANSION_OPT_OUT_FIELD_NUMBER
public static final int URL_EXPANSION_OPT_OUT_FIELD_NUMBER- See Also:
-
PERFORMANCE_MAX_UPGRADE_FIELD_NUMBER
public static final int PERFORMANCE_MAX_UPGRADE_FIELD_NUMBER- See Also:
-
HOTEL_PROPERTY_ASSET_SET_FIELD_NUMBER
public static final int HOTEL_PROPERTY_ASSET_SET_FIELD_NUMBER- See Also:
-
LISTING_TYPE_FIELD_NUMBER
public static final int LISTING_TYPE_FIELD_NUMBER- See Also:
-
ASSET_AUTOMATION_SETTINGS_FIELD_NUMBER
public static final int ASSET_AUTOMATION_SETTINGS_FIELD_NUMBER- See Also:
-
KEYWORD_MATCH_TYPE_FIELD_NUMBER
public static final int KEYWORD_MATCH_TYPE_FIELD_NUMBER- See Also:
-
BRAND_GUIDELINES_ENABLED_FIELD_NUMBER
public static final int BRAND_GUIDELINES_ENABLED_FIELD_NUMBER- See Also:
-
BIDDING_STRATEGY_FIELD_NUMBER
public static final int BIDDING_STRATEGY_FIELD_NUMBER- See Also:
-
COMMISSION_FIELD_NUMBER
public static final int COMMISSION_FIELD_NUMBER- See Also:
-
MANUAL_CPA_FIELD_NUMBER
public static final int MANUAL_CPA_FIELD_NUMBER- See Also:
-
MANUAL_CPC_FIELD_NUMBER
public static final int MANUAL_CPC_FIELD_NUMBER- See Also:
-
MANUAL_CPM_FIELD_NUMBER
public static final int MANUAL_CPM_FIELD_NUMBER- See Also:
-
MANUAL_CPV_FIELD_NUMBER
public static final int MANUAL_CPV_FIELD_NUMBER- See Also:
-
MAXIMIZE_CONVERSIONS_FIELD_NUMBER
public static final int MAXIMIZE_CONVERSIONS_FIELD_NUMBER- See Also:
-
MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER
public static final int MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER- See Also:
-
TARGET_CPA_FIELD_NUMBER
public static final int TARGET_CPA_FIELD_NUMBER- See Also:
-
TARGET_IMPRESSION_SHARE_FIELD_NUMBER
public static final int TARGET_IMPRESSION_SHARE_FIELD_NUMBER- See Also:
-
TARGET_ROAS_FIELD_NUMBER
public static final int TARGET_ROAS_FIELD_NUMBER- See Also:
-
TARGET_SPEND_FIELD_NUMBER
public static final int TARGET_SPEND_FIELD_NUMBER- See Also:
-
PERCENT_CPC_FIELD_NUMBER
public static final int PERCENT_CPC_FIELD_NUMBER- See Also:
-
TARGET_CPM_FIELD_NUMBER
public static final int TARGET_CPM_FIELD_NUMBER- See Also:
-
FIXED_CPM_FIELD_NUMBER
public static final int FIXED_CPM_FIELD_NUMBER- See Also:
-
TARGET_CPV_FIELD_NUMBER
public static final int TARGET_CPV_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCampaignBiddingStrategyCase
- Specified by:
getCampaignBiddingStrategyCasein interfaceCampaignOrBuilder
-
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:
getResourceNamein 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:
getResourceNameBytesin 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:
hasIdin 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:
getIdin 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:
hasNamein interfaceCampaignOrBuilder- Returns:
- Whether the name field is set.
-
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:
getNamein 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:
getNameBytesin 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.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for primaryStatus.
-
getPrimaryStatus
Output only. The primary status of the campaign. Provides insight into why a campaign is not serving or not serving optimally. Modification to the campaign and its related entities might take a while to be reflected in this status.
.google.ads.googleads.v18.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusin interfaceCampaignOrBuilder- Returns:
- The primaryStatus.
-
getPrimaryStatusReasonsList
public 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.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsListin 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.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsCountin 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.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsin interfaceCampaignOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
getPrimaryStatusReasonsValueList
Output only. The primary status reasons of the campaign. Provides insight into why a campaign is not serving or not serving optimally. These reasons are aggregated to determine an overall CampaignPrimaryStatus.
repeated .google.ads.googleads.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValueListin 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.v18.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValuein 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.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;- Specified by:
getStatusValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
The status of the campaign. When a new campaign is added, the status defaults to ENABLED.
.google.ads.googleads.v18.enums.CampaignStatusEnum.CampaignStatus status = 5;- Specified by:
getStatusin interfaceCampaignOrBuilder- Returns:
- The status.
-
getServingStatusValue
public int getServingStatusValue()Output only. The ad serving status of the campaign.
.google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServingStatusValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for servingStatus.
-
getServingStatus
Output only. The ad serving status of the campaign.
.google.ads.googleads.v18.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServingStatusin interfaceCampaignOrBuilder- Returns:
- The servingStatus.
-
getBiddingStrategySystemStatusValue
public int getBiddingStrategySystemStatusValue()Output only. The system status of the campaign's bidding strategy.
.google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBiddingStrategySystemStatusValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for biddingStrategySystemStatus.
-
getBiddingStrategySystemStatus
Output only. The system status of the campaign's bidding strategy.
.google.ads.googleads.v18.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBiddingStrategySystemStatusin interfaceCampaignOrBuilder- Returns:
- The biddingStrategySystemStatus.
-
getAdServingOptimizationStatusValue
public int getAdServingOptimizationStatusValue()The ad serving optimization status of the campaign.
.google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;- Specified by:
getAdServingOptimizationStatusValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for adServingOptimizationStatus.
-
getAdServingOptimizationStatus
The ad serving optimization status of the campaign.
.google.ads.googleads.v18.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8;- Specified by:
getAdServingOptimizationStatusin 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.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdvertisingChannelTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
getAdvertisingChannelType
Immutable. The primary serving target for ads within the campaign. The targeting options can be refined in `network_settings`. This field is required and should not be empty when creating new campaigns. Can be set only when creating campaigns. After the campaign is created, the field can not be changed.
.google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdvertisingChannelTypein 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.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdvertisingChannelSubTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for advertisingChannelSubType.
-
getAdvertisingChannelSubType
Immutable. Optional refinement to `advertising_channel_type`. Must be a valid sub-type of the parent channel type. Can be set only when creating campaigns. After campaign is created, the field can not be changed.
.google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdvertisingChannelSubTypein interfaceCampaignOrBuilder- Returns:
- The advertisingChannelSubType.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()The URL template for constructing a tracking URL.
optional string tracking_url_template = 60;- Specified by:
hasTrackingUrlTemplatein interfaceCampaignOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
The URL template for constructing a tracking URL.
optional string tracking_url_template = 60;- Specified by:
getTrackingUrlTemplatein 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:
getTrackingUrlTemplateBytesin interfaceCampaignOrBuilder- Returns:
- The bytes for trackingUrlTemplate.
-
getUrlCustomParametersList
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;- Specified by:
getUrlCustomParametersListin interfaceCampaignOrBuilder
-
getUrlCustomParametersOrBuilderList
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;- Specified by:
getUrlCustomParametersOrBuilderListin 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.v18.common.CustomParameter url_custom_parameters = 12;- Specified by:
getUrlCustomParametersCountin interfaceCampaignOrBuilder
-
getUrlCustomParameters
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;- Specified by:
getUrlCustomParametersin interfaceCampaignOrBuilder
-
getUrlCustomParametersOrBuilder
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 12;- Specified by:
getUrlCustomParametersOrBuilderin interfaceCampaignOrBuilder
-
hasLocalServicesCampaignSettings
public boolean hasLocalServicesCampaignSettings()The Local Services Campaign related settings.
.google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;- Specified by:
hasLocalServicesCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- Whether the localServicesCampaignSettings field is set.
-
getLocalServicesCampaignSettings
The Local Services Campaign related settings.
.google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;- Specified by:
getLocalServicesCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- The localServicesCampaignSettings.
-
getLocalServicesCampaignSettingsOrBuilder
The Local Services Campaign related settings.
.google.ads.googleads.v18.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75;- Specified by:
getLocalServicesCampaignSettingsOrBuilderin interfaceCampaignOrBuilder
-
hasTravelCampaignSettings
public boolean hasTravelCampaignSettings()Settings for Travel campaign.
.google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;- Specified by:
hasTravelCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- Whether the travelCampaignSettings field is set.
-
getTravelCampaignSettings
Settings for Travel campaign.
.google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;- Specified by:
getTravelCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- The travelCampaignSettings.
-
getTravelCampaignSettingsOrBuilder
Settings for Travel campaign.
.google.ads.googleads.v18.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85;- Specified by:
getTravelCampaignSettingsOrBuilderin interfaceCampaignOrBuilder
-
hasDemandGenCampaignSettings
public boolean hasDemandGenCampaignSettings()Settings for Demand Gen campaign.
.google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;- Specified by:
hasDemandGenCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- Whether the demandGenCampaignSettings field is set.
-
getDemandGenCampaignSettings
Settings for Demand Gen campaign.
.google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;- Specified by:
getDemandGenCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- The demandGenCampaignSettings.
-
getDemandGenCampaignSettingsOrBuilder
Settings for Demand Gen campaign.
.google.ads.googleads.v18.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91;- Specified by:
getDemandGenCampaignSettingsOrBuilderin interfaceCampaignOrBuilder
-
hasVideoCampaignSettings
public boolean hasVideoCampaignSettings()Settings for Video campaign.
.google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;- Specified by:
hasVideoCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- Whether the videoCampaignSettings field is set.
-
getVideoCampaignSettings
Settings for Video campaign.
.google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;- Specified by:
getVideoCampaignSettingsin interfaceCampaignOrBuilder- Returns:
- The videoCampaignSettings.
-
getVideoCampaignSettingsOrBuilder
Settings for Video campaign.
.google.ads.googleads.v18.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94;- Specified by:
getVideoCampaignSettingsOrBuilderin interfaceCampaignOrBuilder
-
hasRealTimeBiddingSetting
public boolean hasRealTimeBiddingSetting()Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.
.google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;- Specified by:
hasRealTimeBiddingSettingin interfaceCampaignOrBuilder- Returns:
- Whether the realTimeBiddingSetting field is set.
-
getRealTimeBiddingSetting
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.
.google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;- Specified by:
getRealTimeBiddingSettingin interfaceCampaignOrBuilder- Returns:
- The realTimeBiddingSetting.
-
getRealTimeBiddingSettingOrBuilder
Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange network.
.google.ads.googleads.v18.common.RealTimeBiddingSetting real_time_bidding_setting = 39;- Specified by:
getRealTimeBiddingSettingOrBuilderin interfaceCampaignOrBuilder
-
hasNetworkSettings
public boolean hasNetworkSettings()The network settings for the campaign.
.google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;- Specified by:
hasNetworkSettingsin interfaceCampaignOrBuilder- Returns:
- Whether the networkSettings field is set.
-
getNetworkSettings
The network settings for the campaign.
.google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;- Specified by:
getNetworkSettingsin interfaceCampaignOrBuilder- Returns:
- The networkSettings.
-
getNetworkSettingsOrBuilder
The network settings for the campaign.
.google.ads.googleads.v18.resources.Campaign.NetworkSettings network_settings = 14;- Specified by:
getNetworkSettingsOrBuilderin interfaceCampaignOrBuilder
-
hasHotelSetting
public boolean hasHotelSetting()Immutable. The hotel setting for the campaign.
.google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasHotelSettingin interfaceCampaignOrBuilder- Returns:
- Whether the hotelSetting field is set.
-
getHotelSetting
Immutable. The hotel setting for the campaign.
.google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getHotelSettingin interfaceCampaignOrBuilder- Returns:
- The hotelSetting.
-
getHotelSettingOrBuilder
Immutable. The hotel setting for the campaign.
.google.ads.googleads.v18.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getHotelSettingOrBuilderin interfaceCampaignOrBuilder
-
hasDynamicSearchAdsSetting
public boolean hasDynamicSearchAdsSetting()The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;- Specified by:
hasDynamicSearchAdsSettingin interfaceCampaignOrBuilder- Returns:
- Whether the dynamicSearchAdsSetting field is set.
-
getDynamicSearchAdsSetting
The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;- Specified by:
getDynamicSearchAdsSettingin interfaceCampaignOrBuilder- Returns:
- The dynamicSearchAdsSetting.
-
getDynamicSearchAdsSettingOrBuilder
The setting for controlling Dynamic Search Ads (DSA).
.google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33;- Specified by:
getDynamicSearchAdsSettingOrBuilderin interfaceCampaignOrBuilder
-
hasShoppingSetting
public boolean hasShoppingSetting()The setting for controlling Shopping campaigns.
.google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;- Specified by:
hasShoppingSettingin interfaceCampaignOrBuilder- Returns:
- Whether the shoppingSetting field is set.
-
getShoppingSetting
The setting for controlling Shopping campaigns.
.google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;- Specified by:
getShoppingSettingin interfaceCampaignOrBuilder- Returns:
- The shoppingSetting.
-
getShoppingSettingOrBuilder
The setting for controlling Shopping campaigns.
.google.ads.googleads.v18.resources.Campaign.ShoppingSetting shopping_setting = 36;- Specified by:
getShoppingSettingOrBuilderin interfaceCampaignOrBuilder
-
hasTargetingSetting
public boolean hasTargetingSetting()Setting for targeting related features.
.google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;- Specified by:
hasTargetingSettingin interfaceCampaignOrBuilder- Returns:
- Whether the targetingSetting field is set.
-
getTargetingSetting
Setting for targeting related features.
.google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;- Specified by:
getTargetingSettingin interfaceCampaignOrBuilder- Returns:
- The targetingSetting.
-
getTargetingSettingOrBuilder
Setting for targeting related features.
.google.ads.googleads.v18.common.TargetingSetting targeting_setting = 43;- Specified by:
getTargetingSettingOrBuilderin interfaceCampaignOrBuilder
-
hasAudienceSetting
public boolean hasAudienceSetting()Immutable. Setting for audience related features.
optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAudienceSettingin interfaceCampaignOrBuilder- Returns:
- Whether the audienceSetting field is set.
-
getAudienceSetting
Immutable. Setting for audience related features.
optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAudienceSettingin interfaceCampaignOrBuilder- Returns:
- The audienceSetting.
-
getAudienceSettingOrBuilder
Immutable. Setting for audience related features.
optional .google.ads.googleads.v18.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAudienceSettingOrBuilderin interfaceCampaignOrBuilder
-
hasGeoTargetTypeSetting
public boolean hasGeoTargetTypeSetting()The setting for ads geotargeting.
.google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;- Specified by:
hasGeoTargetTypeSettingin interfaceCampaignOrBuilder- Returns:
- Whether the geoTargetTypeSetting field is set.
-
getGeoTargetTypeSetting
The setting for ads geotargeting.
.google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;- Specified by:
getGeoTargetTypeSettingin interfaceCampaignOrBuilder- Returns:
- The geoTargetTypeSetting.
-
getGeoTargetTypeSettingOrBuilder
The setting for ads geotargeting.
.google.ads.googleads.v18.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47;- Specified by:
getGeoTargetTypeSettingOrBuilderin interfaceCampaignOrBuilder
-
hasLocalCampaignSetting
public boolean hasLocalCampaignSetting()The setting for local campaign.
.google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;- Specified by:
hasLocalCampaignSettingin interfaceCampaignOrBuilder- Returns:
- Whether the localCampaignSetting field is set.
-
getLocalCampaignSetting
The setting for local campaign.
.google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;- Specified by:
getLocalCampaignSettingin interfaceCampaignOrBuilder- Returns:
- The localCampaignSetting.
-
getLocalCampaignSettingOrBuilder
The setting for local campaign.
.google.ads.googleads.v18.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50;- Specified by:
getLocalCampaignSettingOrBuilderin interfaceCampaignOrBuilder
-
hasAppCampaignSetting
public boolean hasAppCampaignSetting()The setting related to App Campaign.
.google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;- Specified by:
hasAppCampaignSettingin interfaceCampaignOrBuilder- Returns:
- Whether the appCampaignSetting field is set.
-
getAppCampaignSetting
The setting related to App Campaign.
.google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;- Specified by:
getAppCampaignSettingin interfaceCampaignOrBuilder- Returns:
- The appCampaignSetting.
-
getAppCampaignSettingOrBuilder
The setting related to App Campaign.
.google.ads.googleads.v18.resources.Campaign.AppCampaignSetting app_campaign_setting = 51;- Specified by:
getAppCampaignSettingOrBuilderin 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:
getLabelsListin 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:
getLabelsCountin interfaceCampaignOrBuilder- Returns:
- The count of labels.
-
getLabels
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:
getLabelsin 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:
getLabelsBytesin 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.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExperimentTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for experimentType.
-
getExperimentType
Output only. The type of campaign: normal, draft, or experiment.
.google.ads.googleads.v18.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExperimentTypein 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:
hasBaseCampaignin interfaceCampaignOrBuilder- Returns:
- Whether the baseCampaign field is set.
-
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:
getBaseCampaignin 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:
getBaseCampaignBytesin interfaceCampaignOrBuilder- Returns:
- The bytes for baseCampaign.
-
hasCampaignBudget
public boolean hasCampaignBudget()The resource name of the campaign budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }- Specified by:
hasCampaignBudgetin interfaceCampaignOrBuilder- Returns:
- Whether the campaignBudget field is set.
-
getCampaignBudget
The resource name of the campaign budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignBudgetin interfaceCampaignOrBuilder- Returns:
- The campaignBudget.
-
getCampaignBudgetBytes
public com.google.protobuf.ByteString getCampaignBudgetBytes()The resource name of the campaign budget of the campaign.
optional string campaign_budget = 62 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignBudgetBytesin 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.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBiddingStrategyTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for biddingStrategyType.
-
getBiddingStrategyType
Output only. The type of bidding strategy. A bidding strategy can be created by setting either the bidding scheme to create a standard bidding strategy or the `bidding_strategy` field to create a portfolio bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBiddingStrategyTypein interfaceCampaignOrBuilder- Returns:
- The biddingStrategyType.
-
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:
getAccessibleBiddingStrategyin 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:
getAccessibleBiddingStrategyBytesin 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:
hasStartDatein interfaceCampaignOrBuilder- Returns:
- Whether the startDate field is set.
-
getStartDate
The date when campaign started in serving customer's timezone in YYYY-MM-DD format.
optional string start_date = 63;- Specified by:
getStartDatein 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:
getStartDateBytesin interfaceCampaignOrBuilder- Returns:
- The bytes for startDate.
-
hasCampaignGroup
public boolean hasCampaignGroup()The resource name of the campaign group that this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }- Specified by:
hasCampaignGroupin interfaceCampaignOrBuilder- Returns:
- Whether the campaignGroup field is set.
-
getCampaignGroup
The resource name of the campaign group that this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignGroupin interfaceCampaignOrBuilder- Returns:
- The campaignGroup.
-
getCampaignGroupBytes
public com.google.protobuf.ByteString getCampaignGroupBytes()The resource name of the campaign group that this campaign belongs to.
optional string campaign_group = 76 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignGroupBytesin 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:
hasEndDatein interfaceCampaignOrBuilder- Returns:
- Whether the endDate field is set.
-
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:
getEndDatein 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:
getEndDateBytesin 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:
hasFinalUrlSuffixin interfaceCampaignOrBuilder- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
Suffix used to append query parameters to landing pages that are served with parallel tracking.
optional string final_url_suffix = 65;- Specified by:
getFinalUrlSuffixin 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:
getFinalUrlSuffixBytesin interfaceCampaignOrBuilder- Returns:
- The bytes for finalUrlSuffix.
-
getFrequencyCapsList
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;- Specified by:
getFrequencyCapsListin interfaceCampaignOrBuilder
-
getFrequencyCapsOrBuilderList
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;- Specified by:
getFrequencyCapsOrBuilderListin interfaceCampaignOrBuilder
-
getFrequencyCapsCount
public int getFrequencyCapsCount()A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;- Specified by:
getFrequencyCapsCountin interfaceCampaignOrBuilder
-
getFrequencyCaps
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;- Specified by:
getFrequencyCapsin interfaceCampaignOrBuilder
-
getFrequencyCapsOrBuilder
A list that limits how often each user will see this campaign's ads.
repeated .google.ads.googleads.v18.common.FrequencyCapEntry frequency_caps = 40;- Specified by:
getFrequencyCapsOrBuilderin interfaceCampaignOrBuilder
-
getVideoBrandSafetySuitabilityValue
public int getVideoBrandSafetySuitabilityValue()Brand Safety setting at the individual campaign level. Allows for selecting an inventory type to show your ads on content that is the right fit for your brand. See https://support.google.com/google-ads/answer/7515513.
.google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;- Specified by:
getVideoBrandSafetySuitabilityValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for videoBrandSafetySuitability.
-
getVideoBrandSafetySuitability
Brand Safety setting at the individual campaign level. Allows for selecting an inventory type to show your ads on content that is the right fit for your brand. See https://support.google.com/google-ads/answer/7515513.
.google.ads.googleads.v18.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42;- Specified by:
getVideoBrandSafetySuitabilityin interfaceCampaignOrBuilder- Returns:
- The videoBrandSafetySuitability.
-
hasVanityPharma
public boolean hasVanityPharma()Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;- Specified by:
hasVanityPharmain interfaceCampaignOrBuilder- Returns:
- Whether the vanityPharma field is set.
-
getVanityPharma
Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;- Specified by:
getVanityPharmain interfaceCampaignOrBuilder- Returns:
- The vanityPharma.
-
getVanityPharmaOrBuilder
Describes how unbranded pharma ads will be displayed.
.google.ads.googleads.v18.resources.Campaign.VanityPharma vanity_pharma = 44;- Specified by:
getVanityPharmaOrBuilderin interfaceCampaignOrBuilder
-
hasSelectiveOptimization
public boolean hasSelectiveOptimization()Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
.google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;- Specified by:
hasSelectiveOptimizationin interfaceCampaignOrBuilder- Returns:
- Whether the selectiveOptimization field is set.
-
getSelectiveOptimization
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
.google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;- Specified by:
getSelectiveOptimizationin interfaceCampaignOrBuilder- Returns:
- The selectiveOptimization.
-
getSelectiveOptimizationOrBuilder
Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
.google.ads.googleads.v18.resources.Campaign.SelectiveOptimization selective_optimization = 45;- Specified by:
getSelectiveOptimizationOrBuilderin interfaceCampaignOrBuilder
-
hasOptimizationGoalSetting
public boolean hasOptimizationGoalSetting()Optimization goal setting for this campaign, which includes a set of optimization goal types.
.google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;- Specified by:
hasOptimizationGoalSettingin interfaceCampaignOrBuilder- Returns:
- Whether the optimizationGoalSetting field is set.
-
getOptimizationGoalSetting
Optimization goal setting for this campaign, which includes a set of optimization goal types.
.google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;- Specified by:
getOptimizationGoalSettingin interfaceCampaignOrBuilder- Returns:
- The optimizationGoalSetting.
-
getOptimizationGoalSettingOrBuilder
Optimization goal setting for this campaign, which includes a set of optimization goal types.
.google.ads.googleads.v18.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54;- Specified by:
getOptimizationGoalSettingOrBuilderin interfaceCampaignOrBuilder
-
hasTrackingSetting
public boolean hasTrackingSetting()Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTrackingSettingin interfaceCampaignOrBuilder- Returns:
- Whether the trackingSetting field is set.
-
getTrackingSetting
Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrackingSettingin interfaceCampaignOrBuilder- Returns:
- The trackingSetting.
-
getTrackingSettingOrBuilder
Output only. Campaign-level settings for tracking information.
.google.ads.googleads.v18.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrackingSettingOrBuilderin interfaceCampaignOrBuilder
-
getPaymentModeValue
public int getPaymentModeValue()Payment mode for the campaign.
.google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;- Specified by:
getPaymentModeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for paymentMode.
-
getPaymentMode
Payment mode for the campaign.
.google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode payment_mode = 52;- Specified by:
getPaymentModein 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:
hasOptimizationScorein 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:
getOptimizationScorein interfaceCampaignOrBuilder- Returns:
- The optimizationScore.
-
getExcludedParentAssetFieldTypesList
The asset field types that should be excluded from this campaign. Asset links with these field types will not be inherited by this campaign from the upper level.
repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;- Specified by:
getExcludedParentAssetFieldTypesListin 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.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;- Specified by:
getExcludedParentAssetFieldTypesCountin interfaceCampaignOrBuilder- Returns:
- The count of excludedParentAssetFieldTypes.
-
getExcludedParentAssetFieldTypes
The asset field types that should be excluded from this campaign. Asset links with these field types will not be inherited by this campaign from the upper level.
repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;- Specified by:
getExcludedParentAssetFieldTypesin interfaceCampaignOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedParentAssetFieldTypes at the given index.
-
getExcludedParentAssetFieldTypesValueList
The asset field types that should be excluded from this campaign. Asset links with these field types will not be inherited by this campaign from the upper level.
repeated .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;- Specified by:
getExcludedParentAssetFieldTypesValueListin 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.v18.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69;- Specified by:
getExcludedParentAssetFieldTypesValuein 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
The asset set types that should be excluded from this campaign. Asset set links with these types will not be inherited by this campaign from the upper level. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;- Specified by:
getExcludedParentAssetSetTypesListin 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.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;- Specified by:
getExcludedParentAssetSetTypesCountin interfaceCampaignOrBuilder- Returns:
- The count of excludedParentAssetSetTypes.
-
getExcludedParentAssetSetTypes
The asset set types that should be excluded from this campaign. Asset set links with these types will not be inherited by this campaign from the upper level. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;- Specified by:
getExcludedParentAssetSetTypesin interfaceCampaignOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedParentAssetSetTypes at the given index.
-
getExcludedParentAssetSetTypesValueList
The asset set types that should be excluded from this campaign. Asset set links with these types will not be inherited by this campaign from the upper level. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;- Specified by:
getExcludedParentAssetSetTypesValueListin 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.v18.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80;- Specified by:
getExcludedParentAssetSetTypesValuein 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:
hasUrlExpansionOptOutin 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:
getUrlExpansionOptOutin interfaceCampaignOrBuilder- Returns:
- The urlExpansionOptOut.
-
hasPerformanceMaxUpgrade
public boolean hasPerformanceMaxUpgrade()Output only. Information about campaigns being upgraded to Performance Max.
.google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPerformanceMaxUpgradein interfaceCampaignOrBuilder- Returns:
- Whether the performanceMaxUpgrade field is set.
-
getPerformanceMaxUpgrade
Output only. Information about campaigns being upgraded to Performance Max.
.google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceMaxUpgradein interfaceCampaignOrBuilder- Returns:
- The performanceMaxUpgrade.
-
getPerformanceMaxUpgradeOrBuilder
Output only. Information about campaigns being upgraded to Performance Max.
.google.ads.googleads.v18.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceMaxUpgradeOrBuilderin interfaceCampaignOrBuilder
-
hasHotelPropertyAssetSet
public boolean hasHotelPropertyAssetSet()Immutable. The resource name for a set of hotel properties for Performance Max for travel goals campaigns.
optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasHotelPropertyAssetSetin interfaceCampaignOrBuilder- Returns:
- Whether the hotelPropertyAssetSet field is set.
-
getHotelPropertyAssetSet
Immutable. The resource name for a set of hotel properties for Performance Max for travel goals campaigns.
optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getHotelPropertyAssetSetin interfaceCampaignOrBuilder- Returns:
- The hotelPropertyAssetSet.
-
getHotelPropertyAssetSetBytes
public com.google.protobuf.ByteString getHotelPropertyAssetSetBytes()Immutable. The resource name for a set of hotel properties for Performance Max for travel goals campaigns.
optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getHotelPropertyAssetSetBytesin 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.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasListingTypein 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.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getListingTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for listingType.
-
getListingType
Immutable. Listing type of ads served for this campaign. Field is restricted for usage with Performance Max campaigns.
optional .google.ads.googleads.v18.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getListingTypein interfaceCampaignOrBuilder- Returns:
- The listingType.
-
getAssetAutomationSettingsList
Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset automation type enum for default opt in/out behavior.
repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;- Specified by:
getAssetAutomationSettingsListin interfaceCampaignOrBuilder
-
getAssetAutomationSettingsOrBuilderList
public List<? extends Campaign.AssetAutomationSettingOrBuilder> getAssetAutomationSettingsOrBuilderList()Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset automation type enum for default opt in/out behavior.
repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;- Specified by:
getAssetAutomationSettingsOrBuilderListin interfaceCampaignOrBuilder
-
getAssetAutomationSettingsCount
public int getAssetAutomationSettingsCount()Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset automation type enum for default opt in/out behavior.
repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;- Specified by:
getAssetAutomationSettingsCountin interfaceCampaignOrBuilder
-
getAssetAutomationSettings
Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset automation type enum for default opt in/out behavior.
repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;- Specified by:
getAssetAutomationSettingsin interfaceCampaignOrBuilder
-
getAssetAutomationSettingsOrBuilder
Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset automation type enum for default opt in/out behavior.
repeated .google.ads.googleads.v18.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88;- Specified by:
getAssetAutomationSettingsOrBuilderin interfaceCampaignOrBuilder
-
getKeywordMatchTypeValue
public int getKeywordMatchTypeValue()Keyword match type of Campaign. Set to BROAD to set broad matching for all keywords in a campaign.
.google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;- Specified by:
getKeywordMatchTypeValuein interfaceCampaignOrBuilder- Returns:
- The enum numeric value on the wire for keywordMatchType.
-
getKeywordMatchType
Keyword match type of Campaign. Set to BROAD to set broad matching for all keywords in a campaign.
.google.ads.googleads.v18.enums.CampaignKeywordMatchTypeEnum.CampaignKeywordMatchType keyword_match_type = 90;- Specified by:
getKeywordMatchTypein interfaceCampaignOrBuilder- Returns:
- The keywordMatchType.
-
hasBrandGuidelinesEnabled
public boolean hasBrandGuidelinesEnabled()Output only. Whether Brand Guidelines are enabled for this Campaign. Only applicable to Performance Max campaigns. If enabled, business name and logo assets must be linked as CampaignAssets instead of AssetGroupAssets.
optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBrandGuidelinesEnabledin interfaceCampaignOrBuilder- Returns:
- Whether the brandGuidelinesEnabled field is set.
-
getBrandGuidelinesEnabled
public boolean getBrandGuidelinesEnabled()Output only. Whether Brand Guidelines are enabled for this Campaign. Only applicable to Performance Max campaigns. If enabled, business name and logo assets must be linked as CampaignAssets instead of AssetGroupAssets.
optional bool brand_guidelines_enabled = 96 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBrandGuidelinesEnabledin interfaceCampaignOrBuilder- Returns:
- The brandGuidelinesEnabled.
-
hasBiddingStrategy
public boolean hasBiddingStrategy()The resource name of the portfolio bidding strategy used by the campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }- Specified by:
hasBiddingStrategyin interfaceCampaignOrBuilder- Returns:
- Whether the biddingStrategy field is set.
-
getBiddingStrategy
The resource name of the portfolio bidding strategy used by the campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }- Specified by:
getBiddingStrategyin interfaceCampaignOrBuilder- Returns:
- The biddingStrategy.
-
getBiddingStrategyBytes
public com.google.protobuf.ByteString getBiddingStrategyBytes()The resource name of the portfolio bidding strategy used by the campaign.
string bidding_strategy = 67 [(.google.api.resource_reference) = { ... }- Specified by:
getBiddingStrategyBytesin 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.v18.common.Commission commission = 49;- Specified by:
hasCommissionin interfaceCampaignOrBuilder- Returns:
- Whether the commission field is set.
-
getCommission
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.
.google.ads.googleads.v18.common.Commission commission = 49;- Specified by:
getCommissionin interfaceCampaignOrBuilder- Returns:
- The commission.
-
getCommissionOrBuilder
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.
.google.ads.googleads.v18.common.Commission commission = 49;- Specified by:
getCommissionOrBuilderin 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.v18.common.ManualCpa manual_cpa = 74;- Specified by:
hasManualCpain interfaceCampaignOrBuilder- Returns:
- Whether the manualCpa field is set.
-
getManualCpa
Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action. Supported only for Local Services campaigns.
.google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;- Specified by:
getManualCpain interfaceCampaignOrBuilder- Returns:
- The manualCpa.
-
getManualCpaOrBuilder
Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action. Supported only for Local Services campaigns.
.google.ads.googleads.v18.common.ManualCpa manual_cpa = 74;- Specified by:
getManualCpaOrBuilderin interfaceCampaignOrBuilder
-
hasManualCpc
public boolean hasManualCpc()Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
.google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;- Specified by:
hasManualCpcin interfaceCampaignOrBuilder- Returns:
- Whether the manualCpc field is set.
-
getManualCpc
Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
.google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;- Specified by:
getManualCpcin interfaceCampaignOrBuilder- Returns:
- The manualCpc.
-
getManualCpcOrBuilder
Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
.google.ads.googleads.v18.common.ManualCpc manual_cpc = 24;- Specified by:
getManualCpcOrBuilderin interfaceCampaignOrBuilder
-
hasManualCpm
public boolean hasManualCpm()Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
.google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;- Specified by:
hasManualCpmin interfaceCampaignOrBuilder- Returns:
- Whether the manualCpm field is set.
-
getManualCpm
Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
.google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;- Specified by:
getManualCpmin interfaceCampaignOrBuilder- Returns:
- The manualCpm.
-
getManualCpmOrBuilder
Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
.google.ads.googleads.v18.common.ManualCpm manual_cpm = 25;- Specified by:
getManualCpmOrBuilderin interfaceCampaignOrBuilder
-
hasManualCpv
public boolean hasManualCpv()A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;- Specified by:
hasManualCpvin interfaceCampaignOrBuilder- Returns:
- Whether the manualCpv field is set.
-
getManualCpv
A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;- Specified by:
getManualCpvin interfaceCampaignOrBuilder- Returns:
- The manualCpv.
-
getManualCpvOrBuilder
A bidding strategy that pays a configurable amount per video view.
.google.ads.googleads.v18.common.ManualCpv manual_cpv = 37;- Specified by:
getManualCpvOrBuilderin interfaceCampaignOrBuilder
-
hasMaximizeConversions
public boolean hasMaximizeConversions()Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;- Specified by:
hasMaximizeConversionsin interfaceCampaignOrBuilder- Returns:
- Whether the maximizeConversions field is set.
-
getMaximizeConversions
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;- Specified by:
getMaximizeConversionsin interfaceCampaignOrBuilder- Returns:
- The maximizeConversions.
-
getMaximizeConversionsOrBuilder
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 30;- Specified by:
getMaximizeConversionsOrBuilderin 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.v18.common.MaximizeConversionValue maximize_conversion_value = 31;- Specified by:
hasMaximizeConversionValuein interfaceCampaignOrBuilder- Returns:
- Whether the maximizeConversionValue field is set.
-
getMaximizeConversionValue
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;- Specified by:
getMaximizeConversionValuein interfaceCampaignOrBuilder- Returns:
- The maximizeConversionValue.
-
getMaximizeConversionValueOrBuilder
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 31;- Specified by:
getMaximizeConversionValueOrBuilderin 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.v18.common.TargetCpa target_cpa = 26;- Specified by:
hasTargetCpain interfaceCampaignOrBuilder- Returns:
- Whether the targetCpa field is set.
-
getTargetCpa
Standard Target CPA bidding strategy that automatically sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 26;- Specified by:
getTargetCpain interfaceCampaignOrBuilder- Returns:
- The targetCpa.
-
getTargetCpaOrBuilder
Standard Target CPA bidding strategy that automatically sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 26;- Specified by:
getTargetCpaOrBuilderin 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.v18.common.TargetRoas target_roas = 29;- Specified by:
hasTargetRoasin interfaceCampaignOrBuilder- Returns:
- Whether the targetRoas field is set.
-
getTargetRoas
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 29;- Specified by:
getTargetRoasin interfaceCampaignOrBuilder- Returns:
- The targetRoas.
-
getTargetRoasOrBuilder
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 29;- Specified by:
getTargetRoasOrBuilderin 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.v18.common.TargetSpend target_spend = 27;- Specified by:
hasTargetSpendin interfaceCampaignOrBuilder- Returns:
- Whether the targetSpend field is set.
-
getTargetSpend
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 27;- Specified by:
getTargetSpendin interfaceCampaignOrBuilder- Returns:
- The targetSpend.
-
getTargetSpendOrBuilder
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 27;- Specified by:
getTargetSpendOrBuilderin 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.v18.common.PercentCpc percent_cpc = 34;- Specified by:
hasPercentCpcin interfaceCampaignOrBuilder- Returns:
- Whether the percentCpc field is set.
-
getPercentCpc
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.
.google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;- Specified by:
getPercentCpcin interfaceCampaignOrBuilder- Returns:
- The percentCpc.
-
getPercentCpcOrBuilder
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.
.google.ads.googleads.v18.common.PercentCpc percent_cpc = 34;- Specified by:
getPercentCpcOrBuilderin interfaceCampaignOrBuilder
-
hasTargetCpm
public boolean hasTargetCpm()A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v18.common.TargetCpm target_cpm = 41;- Specified by:
hasTargetCpmin interfaceCampaignOrBuilder- Returns:
- Whether the targetCpm field is set.
-
getTargetCpm
A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v18.common.TargetCpm target_cpm = 41;- Specified by:
getTargetCpmin interfaceCampaignOrBuilder- Returns:
- The targetCpm.
-
getTargetCpmOrBuilder
A bidding strategy that automatically optimizes cost per thousand impressions.
.google.ads.googleads.v18.common.TargetCpm target_cpm = 41;- Specified by:
getTargetCpmOrBuilderin interfaceCampaignOrBuilder
-
hasFixedCpm
public boolean hasFixedCpm()A manual bidding strategy with a fixed CPM.
.google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;- Specified by:
hasFixedCpmin interfaceCampaignOrBuilder- Returns:
- Whether the fixedCpm field is set.
-
getFixedCpm
A manual bidding strategy with a fixed CPM.
.google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;- Specified by:
getFixedCpmin interfaceCampaignOrBuilder- Returns:
- The fixedCpm.
-
getFixedCpmOrBuilder
A manual bidding strategy with a fixed CPM.
.google.ads.googleads.v18.common.FixedCpm fixed_cpm = 92;- Specified by:
getFixedCpmOrBuilderin interfaceCampaignOrBuilder
-
hasTargetCpv
public boolean hasTargetCpv()An automated bidding strategy that sets bids to optimize performance given the target CPV you set.
.google.ads.googleads.v18.common.TargetCpv target_cpv = 93;- Specified by:
hasTargetCpvin interfaceCampaignOrBuilder- Returns:
- Whether the targetCpv field is set.
-
getTargetCpv
An automated bidding strategy that sets bids to optimize performance given the target CPV you set.
.google.ads.googleads.v18.common.TargetCpv target_cpv = 93;- Specified by:
getTargetCpvin interfaceCampaignOrBuilder- Returns:
- The targetCpv.
-
getTargetCpvOrBuilder
An automated bidding strategy that sets bids to optimize performance given the target CPV you set.
.google.ads.googleads.v18.common.TargetCpv target_cpv = 93;- Specified by:
getTargetCpvOrBuilderin interfaceCampaignOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Campaign parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign parseFrom(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
- Throws:
IOException
-
parseFrom
public static Campaign parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Campaign parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Campaign parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Campaign.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-