#[repr(i32)]
pub enum RecommendationType {
Show 56 variants Unspecified = 0, Unknown = 1, CampaignBudget = 2, Keyword = 3, TextAd = 4, TargetCpaOptIn = 5, MaximizeConversionsOptIn = 6, EnhancedCpcOptIn = 7, SearchPartnersOptIn = 8, MaximizeClicksOptIn = 9, OptimizeAdRotation = 10, KeywordMatchType = 14, MoveUnusedBudget = 15, ForecastingCampaignBudget = 16, TargetRoasOptIn = 17, ResponsiveSearchAd = 18, MarginalRoiCampaignBudget = 19, UseBroadMatchKeyword = 20, ResponsiveSearchAdAsset = 21, UpgradeSmartShoppingCampaignToPerformanceMax = 22, ResponsiveSearchAdImproveAdStrength = 23, DisplayExpansionOptIn = 24, UpgradeLocalCampaignToPerformanceMax = 25, RaiseTargetCpaBidTooLow = 26, ForecastingSetTargetRoas = 27, CalloutAsset = 28, SitelinkAsset = 29, CallAsset = 30, ShoppingAddAgeGroup = 31, ShoppingAddColor = 32, ShoppingAddGender = 33, ShoppingAddGtin = 34, ShoppingAddMoreIdentifiers = 35, ShoppingAddSize = 36, ShoppingAddProductsToCampaign = 37, ShoppingFixDisapprovedProducts = 38, ShoppingTargetAllOffers = 39, ShoppingFixSuspendedMerchantCenterAccount = 40, ShoppingFixMerchantCenterAccountSuspensionWarning = 41, ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMax = 42, DynamicImageExtensionOptIn = 43, RaiseTargetCpa = 44, LowerTargetRoas = 45, PerformanceMaxOptIn = 46, ImprovePerformanceMaxAdStrength = 47, MigrateDynamicSearchAdsCampaignToPerformanceMax = 48, ForecastingSetTargetCpa = 49, SetTargetCpa = 50, SetTargetRoas = 51, MaximizeConversionValueOptIn = 52, ImproveGoogleTagCoverage = 53, PerformanceMaxFinalUrlOptIn = 54, RefreshCustomerMatchList = 55, CustomAudienceOptIn = 56, LeadFormAsset = 57, ImproveDemandGenAdStrength = 58,
}
Expand description

Types of recommendations.

Variants§

§

Unspecified = 0

Not specified.

§

Unknown = 1

Used for return value only. Represents value unknown in this version.

§

CampaignBudget = 2

Budget recommendation for campaigns that are currently budget-constrained (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which applies to campaigns that are expected to become budget-constrained in the future).

§

Keyword = 3

Keyword recommendation.

§

TextAd = 4

Recommendation to add a new text ad.

§

TargetCpaOptIn = 5

Recommendation to update a campaign to use a Target CPA bidding strategy.

§

MaximizeConversionsOptIn = 6

Recommendation to update a campaign to use the Maximize Conversions bidding strategy.

§

EnhancedCpcOptIn = 7

Recommendation to enable Enhanced Cost Per Click for a campaign.

§

SearchPartnersOptIn = 8

Recommendation to start showing your campaign’s ads on Google Search Partners Websites.

§

MaximizeClicksOptIn = 9

Recommendation to update a campaign to use a Maximize Clicks bidding strategy.

§

OptimizeAdRotation = 10

Recommendation to start using the “Optimize” ad rotation setting for the given ad group.

§

KeywordMatchType = 14

Recommendation to change an existing keyword from one match type to a broader match type.

§

MoveUnusedBudget = 15

Recommendation to move unused budget from one budget to a constrained budget.

§

ForecastingCampaignBudget = 16

Budget recommendation for campaigns that are expected to become budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET recommendation, which applies to campaigns that are currently budget-constrained).

§

TargetRoasOptIn = 17

Recommendation to update a campaign to use a Target ROAS bidding strategy.

§

ResponsiveSearchAd = 18

Recommendation to add a new responsive search ad.

§

MarginalRoiCampaignBudget = 19

Budget recommendation for campaigns whose ROI is predicted to increase with a budget adjustment.

§

UseBroadMatchKeyword = 20

Recommendation to add broad match versions of keywords for fully automated conversion-based bidding campaigns.

§

ResponsiveSearchAdAsset = 21

Recommendation to add new responsive search ad assets.

§

UpgradeSmartShoppingCampaignToPerformanceMax = 22

Recommendation to upgrade a Smart Shopping campaign to a Performance Max campaign.

§

ResponsiveSearchAdImproveAdStrength = 23

Recommendation to improve strength of responsive search ad.

§

DisplayExpansionOptIn = 24

Recommendation to update a campaign to use Display Expansion.

§

UpgradeLocalCampaignToPerformanceMax = 25

Recommendation to upgrade a Local campaign to a Performance Max campaign.

§

RaiseTargetCpaBidTooLow = 26

Recommendation to raise target CPA when it is too low and there are very few or no conversions. It is applied asynchronously and can take minutes depending on the number of ad groups there are in the related campaign.

§

ForecastingSetTargetRoas = 27

Recommendation to raise the budget in advance of a seasonal event that is forecasted to increase traffic, and change bidding strategy from maximize conversion value to target ROAS.

§

CalloutAsset = 28

Recommendation to add callout assets to campaign or customer level.

§

SitelinkAsset = 29

Recommendation to add sitelink assets to campaign or customer level.

§

CallAsset = 30

Recommendation to add call assets to campaign or customer level.

§

ShoppingAddAgeGroup = 31

Recommendation to add the age group attribute to offers that are demoted because of a missing age group.

§

ShoppingAddColor = 32

Recommendation to add a color to offers that are demoted because of a missing color.

§

ShoppingAddGender = 33

Recommendation to add a gender to offers that are demoted because of a missing gender.

§

ShoppingAddGtin = 34

Recommendation to add a GTIN (Global Trade Item Number) to offers that are demoted because of a missing GTIN.

§

ShoppingAddMoreIdentifiers = 35

Recommendation to add more identifiers to offers that are demoted because of missing identifiers.

§

ShoppingAddSize = 36

Recommendation to add the size to offers that are demoted because of a missing size.

§

ShoppingAddProductsToCampaign = 37

Recommendation informing a customer about a campaign that cannot serve because no products are being targeted.

§

ShoppingFixDisapprovedProducts = 38

The shopping recommendation informing a customer about campaign with a high percentage of disapproved products.

§

ShoppingTargetAllOffers = 39

Recommendation to create a catch-all campaign that targets all offers.

§

ShoppingFixSuspendedMerchantCenterAccount = 40

Recommendation to fix Merchant Center account suspension issues.

§

ShoppingFixMerchantCenterAccountSuspensionWarning = 41

Recommendation to fix Merchant Center account suspension warning issues.

§

ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMax = 42

Recommendation to migrate offers targeted by Regular Shopping Campaigns to existing Performance Max campaigns.

§

DynamicImageExtensionOptIn = 43

Recommendation to enable dynamic image extensions on the account, allowing Google to find the best images from ad landing pages and complement text ads.

§

RaiseTargetCpa = 44

Recommendation to raise Target CPA based on Google predictions modeled from past conversions. It is applied asynchronously and can take minutes depending on the number of ad groups there are in the related campaign.

§

LowerTargetRoas = 45

Recommendation to lower Target ROAS.

§

PerformanceMaxOptIn = 46

Recommendation to opt into Performance Max campaigns.

§

ImprovePerformanceMaxAdStrength = 47

Recommendation to improve the asset group strength of a Performance Max campaign to an “Excellent” rating.

§

MigrateDynamicSearchAdsCampaignToPerformanceMax = 48

Recommendation to migrate Dynamic Search Ads to Performance Max campaigns.

§

ForecastingSetTargetCpa = 49

Recommendation to set a target CPA for campaigns that do not have one specified, in advance of a seasonal event that is forecasted to increase traffic.

§

SetTargetCpa = 50

Recommendation to set a target CPA for campaigns that do not have one specified.

§

SetTargetRoas = 51

Recommendation to set a target ROAS for campaigns that do not have one specified.

§

MaximizeConversionValueOptIn = 52

Recommendation to update a campaign to use the Maximize Conversion Value bidding strategy.

§

ImproveGoogleTagCoverage = 53

Recommendation to deploy Google Tag on more pages.

§

PerformanceMaxFinalUrlOptIn = 54

Recommendation to turn on Final URL expansion for your Performance Max campaigns.

§

RefreshCustomerMatchList = 55

Recommendation to update a customer list that hasn’t been updated in the last 90 days.

§

CustomAudienceOptIn = 56

Recommendation to create a custom audience.

§

LeadFormAsset = 57

Recommendation to add lead form assets to campaign or customer level.

§

ImproveDemandGenAdStrength = 58

Recommendation to improve the strength of ads in Demand Gen campaigns.

Implementations§

source§

impl RecommendationType

source

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of RecommendationType.

source

pub fn from_i32(value: i32) -> Option<RecommendationType>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a RecommendationType, or None if value is not a valid variant.

source§

impl RecommendationType

source

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

source

pub fn from_str_name(value: &str) -> Option<Self>

Creates an enum from field names used in the ProtoBuf definition.

Trait Implementations§

source§

impl Clone for RecommendationType

source§

fn clone(&self) -> RecommendationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RecommendationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RecommendationType

source§

fn default() -> RecommendationType

Returns the “default value” for a type. Read more
source§

impl From<RecommendationType> for i32

source§

fn from(value: RecommendationType) -> i32

Converts to this type from the input type.
source§

impl Hash for RecommendationType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for RecommendationType

source§

fn cmp(&self, other: &RecommendationType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for RecommendationType

source§

fn eq(&self, other: &RecommendationType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for RecommendationType

source§

fn partial_cmp(&self, other: &RecommendationType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<i32> for RecommendationType

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<RecommendationType, DecodeError>

Performs the conversion.
source§

impl Copy for RecommendationType

source§

impl Eq for RecommendationType

source§

impl StructuralPartialEq for RecommendationType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoRequest<T> for T

source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more