Enum googapis::google::ads::googleads::v9::errors::campaign_error_enum::CampaignError [−][src]
#[repr(i32)]
pub enum CampaignError {
Show 48 variants
Unspecified,
Unknown,
CannotTargetContentNetwork,
CannotTargetSearchNetwork,
CannotTargetSearchNetworkWithoutGoogleSearch,
CannotTargetGoogleSearchForCpmCampaign,
CampaignMustTargetAtLeastOneNetwork,
CannotTargetPartnerSearchNetwork,
CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy,
CampaignDurationMustContainAllRunnableTrials,
CannotModifyForTrialCampaign,
DuplicateCampaignName,
IncompatibleCampaignField,
InvalidCampaignName,
InvalidAdServingOptimizationStatus,
InvalidTrackingUrl,
CannotSetBothTrackingUrlTemplateAndTrackingSetting,
MaxImpressionsNotInRange,
TimeUnitNotSupported,
InvalidOperationIfServingStatusHasEnded,
BudgetCannotBeShared,
CampaignCannotUseSharedBudget,
CannotChangeBudgetOnCampaignWithTrials,
CampaignLabelDoesNotExist,
CampaignLabelAlreadyExists,
MissingShoppingSetting,
InvalidShoppingSalesCountry,
AdvertisingChannelTypeNotAvailableForAccountType,
InvalidAdvertisingChannelSubType,
AtLeastOneConversionMustBeSelected,
CannotSetAdRotationMode,
CannotModifyStartDateIfAlreadyStarted,
CannotSetDateToPast,
MissingHotelCustomerLink,
InvalidHotelCustomerLink,
MissingHotelSetting,
CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup,
AppNotFound,
ShoppingEnableLocalNotSupportedForCampaignType,
MerchantNotAllowedForComparisonListingAds,
InsufficientAppInstallsCount,
SensitiveCategoryApp,
HecAgreementRequired,
NotCompatibleWithViewThroughConversionOptimization,
InvalidExcludedParentAssetFieldType,
CannotCreateAppPreRegistrationForNonAndroidApp,
AppNotAvailableToCreateAppPreRegistrationCampaign,
IncompatibleBudgetType,
}
Expand description
Enum describing possible campaign errors.
Variants
Enum unspecified.
The received error code is not known in this version.
Cannot target content network.
Cannot target search network.
Cannot cover search network without google search network.
Cannot target Google Search network for a CPM campaign.
Must target at least one network.
Only some Google partners are allowed to target partner search network.
Cannot target content network only as campaign has criteria-level bidding strategy.
Cannot modify the start or end date such that the campaign duration would not contain the durations of all runnable trials.
Cannot modify dates, budget or status of a trial campaign.
Trying to modify the name of an active or paused campaign, where the name is already assigned to another active or paused campaign.
Two fields are in conflicting modes.
Campaign name cannot be used.
Given status is invalid.
Error in the campaign level tracking URL.
Cannot set both tracking URL template and tracking setting. A user has to clear legacy tracking setting in order to add tracking URL template.
The maximum number of impressions for Frequency Cap should be an integer greater than 0.
Only the Day, Week and Month time units are supported.
Operation not allowed on a campaign whose serving status has ended
This budget is exclusively linked to a Campaign that is using experiments so it cannot be shared.
Campaigns using experiments cannot use a shared budget.
A different budget cannot be assigned to a campaign when there are running or scheduled trials.
No link found between the campaign and the label.
The label has already been attached to the campaign.
A ShoppingSetting was not found when creating a shopping campaign.
The country in shopping setting is not an allowed country.
The requested channel type is not available according to the customer’s account setting.
The AdvertisingChannelSubType is not a valid subtype of the primary channel type.
At least one conversion must be selected.
Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at campaign is deprecated.
Trying to change start date on a campaign that has started.
Trying to modify a date into the past.
Hotel center id in the hotel setting does not match any customer links.
Hotel center id in the hotel setting must match an active customer link.
Hotel setting was not found when creating a hotel ads campaign.
A Campaign cannot use shared campaign budgets and be part of a campaign group.
The app ID was not found.
Campaign.shopping_setting.enable_local is not supported for the specified campaign type.
The merchant does not support the creation of campaigns for Shopping Comparison Listing Ads.
The App campaign for engagement cannot be created because there aren’t enough installs.
The App campaign for engagement cannot be created because the app is sensitive.
Customers with Housing, Employment, or Credit ads must accept updated personalized ads policy to continue creating campaigns.
The field is not compatible with view through conversion optimization.
The field type cannot be excluded because an active campaign-asset link of this type exists.
The app pre-registration campaign cannot be created for non-Android applications.
The campaign cannot be created since the app is not available for pre-registration in any country.
The type of the Budget is not compatible with this Campaign.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CampaignError
impl Send for CampaignError
impl Sync for CampaignError
impl Unpin for CampaignError
impl UnwindSafe for CampaignError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more