Class Recommendation

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

    public final class Recommendation
    extends com.google.protobuf.GeneratedMessageV3
    implements RecommendationOrBuilder
     A recommendation.
     
    Protobuf type google.ads.googleads.v15.resources.Recommendation
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CAMPAIGN_BUDGET_FIELD_NUMBER

        public static final int CAMPAIGN_BUDGET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER

        public static final int CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORECASTING_CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER

        public static final int FORECASTING_CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KEYWORD_RECOMMENDATION_FIELD_NUMBER

        public static final int KEYWORD_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TEXT_AD_RECOMMENDATION_FIELD_NUMBER

        public static final int TEXT_AD_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_CPA_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int TARGET_CPA_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAXIMIZE_CONVERSIONS_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int MAXIMIZE_CONVERSIONS_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENHANCED_CPC_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int ENHANCED_CPC_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEARCH_PARTNERS_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int SEARCH_PARTNERS_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAXIMIZE_CLICKS_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int MAXIMIZE_CLICKS_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OPTIMIZE_AD_ROTATION_RECOMMENDATION_FIELD_NUMBER

        public static final int OPTIMIZE_AD_ROTATION_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KEYWORD_MATCH_TYPE_RECOMMENDATION_FIELD_NUMBER

        public static final int KEYWORD_MATCH_TYPE_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MOVE_UNUSED_BUDGET_RECOMMENDATION_FIELD_NUMBER

        public static final int MOVE_UNUSED_BUDGET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_ROAS_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int TARGET_ROAS_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSIVE_SEARCH_AD_RECOMMENDATION_FIELD_NUMBER

        public static final int RESPONSIVE_SEARCH_AD_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MARGINAL_ROI_CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER

        public static final int MARGINAL_ROI_CAMPAIGN_BUDGET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_BROAD_MATCH_KEYWORD_RECOMMENDATION_FIELD_NUMBER

        public static final int USE_BROAD_MATCH_KEYWORD_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSIVE_SEARCH_AD_ASSET_RECOMMENDATION_FIELD_NUMBER

        public static final int RESPONSIVE_SEARCH_AD_ASSET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER

        public static final int UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH_RECOMMENDATION_FIELD_NUMBER

        public static final int RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISPLAY_EXPANSION_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int DISPLAY_EXPANSION_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER

        public static final int UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RAISE_TARGET_CPA_BID_TOO_LOW_RECOMMENDATION_FIELD_NUMBER

        public static final int RAISE_TARGET_CPA_BID_TOO_LOW_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORECASTING_SET_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER

        public static final int FORECASTING_SET_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALLOUT_ASSET_RECOMMENDATION_FIELD_NUMBER

        public static final int CALLOUT_ASSET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SITELINK_ASSET_RECOMMENDATION_FIELD_NUMBER

        public static final int SITELINK_ASSET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_ASSET_RECOMMENDATION_FIELD_NUMBER

        public static final int CALL_ASSET_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_AGE_GROUP_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_AGE_GROUP_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_COLOR_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_COLOR_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_GENDER_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_GENDER_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_GTIN_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_GTIN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_MORE_IDENTIFIERS_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_MORE_IDENTIFIERS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_SIZE_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_SIZE_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_FIX_DISAPPROVED_PRODUCTS_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_FIX_DISAPPROVED_PRODUCTS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_TARGET_ALL_OFFERS_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_TARGET_ALL_OFFERS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER

        public static final int SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DYNAMIC_IMAGE_EXTENSION_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int DYNAMIC_IMAGE_EXTENSION_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RAISE_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER

        public static final int RAISE_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOWER_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER

        public static final int LOWER_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PERFORMANCE_MAX_OPT_IN_RECOMMENDATION_FIELD_NUMBER

        public static final int PERFORMANCE_MAX_OPT_IN_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IMPROVE_PERFORMANCE_MAX_AD_STRENGTH_RECOMMENDATION_FIELD_NUMBER

        public static final int IMPROVE_PERFORMANCE_MAX_AD_STRENGTH_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER

        public static final int MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORECASTING_SET_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER

        public static final int FORECASTING_SET_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SET_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER

        public static final int SET_TARGET_CPA_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SET_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER

        public static final int SET_TARGET_ROAS_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

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

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getResourceName

        public java.lang.String getResourceName()
         Immutable. The resource name of the recommendation.
        
         `customers/{customer_id}/recommendations/{recommendation_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface RecommendationOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the recommendation.
        
         `customers/{customer_id}/recommendations/{recommendation_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface RecommendationOrBuilder
        Returns:
        The bytes for resourceName.
      • getTypeValue

        public int getTypeValue()
         Output only. The type of recommendation.
         
        .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTypeValue in interface RecommendationOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • hasImpact

        public boolean hasImpact()
         Output only. The impact on account performance as a result of applying the
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasImpact in interface RecommendationOrBuilder
        Returns:
        Whether the impact field is set.
      • getImpact

        public Recommendation.RecommendationImpact getImpact()
         Output only. The impact on account performance as a result of applying the
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getImpact in interface RecommendationOrBuilder
        Returns:
        The impact.
      • hasCampaignBudget

        public boolean hasCampaignBudget()
         Output only. The budget targeted by this recommendation. This will be set
         only when the recommendation affects a single campaign budget.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET,
         MOVE_UNUSED_BUDGET
         
        optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasCampaignBudget in interface RecommendationOrBuilder
        Returns:
        Whether the campaignBudget field is set.
      • getCampaignBudget

        public java.lang.String getCampaignBudget()
         Output only. The budget targeted by this recommendation. This will be set
         only when the recommendation affects a single campaign budget.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET,
         MOVE_UNUSED_BUDGET
         
        optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignBudget in interface RecommendationOrBuilder
        Returns:
        The campaignBudget.
      • getCampaignBudgetBytes

        public com.google.protobuf.ByteString getCampaignBudgetBytes()
         Output only. The budget targeted by this recommendation. This will be set
         only when the recommendation affects a single campaign budget.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET,
         MOVE_UNUSED_BUDGET
         
        optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignBudgetBytes in interface RecommendationOrBuilder
        Returns:
        The bytes for campaignBudget.
      • hasCampaign

        public boolean hasCampaign()
         Output only. The campaign targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN,
         USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE,
         UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN,
         MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET,
         SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION,
         TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD,
         UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX,
         RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS,
         SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER,
         SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS,
         SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS,
         SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX,
         DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS,
         FORECASTING_SET_TARGET_CPA,
         SET_TARGET_CPA, SET_TARGET_ROAS,
         
        optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasCampaign in interface RecommendationOrBuilder
        Returns:
        Whether the campaign field is set.
      • getCampaign

        public java.lang.String getCampaign()
         Output only. The campaign targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN,
         USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE,
         UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN,
         MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET,
         SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION,
         TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD,
         UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX,
         RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS,
         SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER,
         SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS,
         SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS,
         SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX,
         DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS,
         FORECASTING_SET_TARGET_CPA,
         SET_TARGET_CPA, SET_TARGET_ROAS,
         
        optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaign in interface RecommendationOrBuilder
        Returns:
        The campaign.
      • getCampaignBytes

        public com.google.protobuf.ByteString getCampaignBytes()
         Output only. The campaign targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN,
         USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE,
         UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN,
         MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET,
         SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION,
         TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD,
         UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX,
         RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS,
         SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER,
         SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS,
         SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS,
         SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX,
         DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS,
         FORECASTING_SET_TARGET_CPA,
         SET_TARGET_CPA, SET_TARGET_ROAS,
         
        optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignBytes in interface RecommendationOrBuilder
        Returns:
        The bytes for campaign.
      • hasAdGroup

        public boolean hasAdGroup()
         Output only. The ad group targeted by this recommendation. This will be set
         only when the recommendation affects a single ad group.
        
         This field will be set for the following recommendation types:
         KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD
         
        optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasAdGroup in interface RecommendationOrBuilder
        Returns:
        Whether the adGroup field is set.
      • getAdGroup

        public java.lang.String getAdGroup()
         Output only. The ad group targeted by this recommendation. This will be set
         only when the recommendation affects a single ad group.
        
         This field will be set for the following recommendation types:
         KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD
         
        optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAdGroup in interface RecommendationOrBuilder
        Returns:
        The adGroup.
      • getAdGroupBytes

        public com.google.protobuf.ByteString getAdGroupBytes()
         Output only. The ad group targeted by this recommendation. This will be set
         only when the recommendation affects a single ad group.
        
         This field will be set for the following recommendation types:
         KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD,
         RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD
         
        optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAdGroupBytes in interface RecommendationOrBuilder
        Returns:
        The bytes for adGroup.
      • hasDismissed

        public boolean hasDismissed()
         Output only. Whether the recommendation is dismissed or not.
         
        optional bool dismissed = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDismissed in interface RecommendationOrBuilder
        Returns:
        Whether the dismissed field is set.
      • getDismissed

        public boolean getDismissed()
         Output only. Whether the recommendation is dismissed or not.
         
        optional bool dismissed = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDismissed in interface RecommendationOrBuilder
        Returns:
        The dismissed.
      • getCampaignsList

        public com.google.protobuf.ProtocolStringList getCampaignsList()
         Output only. The campaigns targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET,
         MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET
         
        repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignsList in interface RecommendationOrBuilder
        Returns:
        A list containing the campaigns.
      • getCampaignsCount

        public int getCampaignsCount()
         Output only. The campaigns targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET,
         MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET
         
        repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignsCount in interface RecommendationOrBuilder
        Returns:
        The count of campaigns.
      • getCampaigns

        public java.lang.String getCampaigns​(int index)
         Output only. The campaigns targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET,
         MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET
         
        repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaigns in interface RecommendationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The campaigns at the given index.
      • getCampaignsBytes

        public com.google.protobuf.ByteString getCampaignsBytes​(int index)
         Output only. The campaigns targeted by this recommendation.
        
         This field will be set for the following recommendation types:
         CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET,
         MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET
         
        repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignsBytes in interface RecommendationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the campaigns at the given index.
      • hasCampaignBudgetRecommendation

        public boolean hasCampaignBudgetRecommendation()
         Output only. The campaign budget recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation campaign_budget_recommendation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCampaignBudgetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the campaignBudgetRecommendation field is set.
      • hasForecastingCampaignBudgetRecommendation

        public boolean hasForecastingCampaignBudgetRecommendation()
         Output only. The forecasting campaign budget recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasForecastingCampaignBudgetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the forecastingCampaignBudgetRecommendation field is set.
      • hasKeywordRecommendation

        public boolean hasKeywordRecommendation()
         Output only. The keyword recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation keyword_recommendation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasKeywordRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the keywordRecommendation field is set.
      • hasTextAdRecommendation

        public boolean hasTextAdRecommendation()
         Output only. Add expanded text ad recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.TextAdRecommendation text_ad_recommendation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTextAdRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the textAdRecommendation field is set.
      • hasTargetCpaOptInRecommendation

        public boolean hasTargetCpaOptInRecommendation()
         Output only. The TargetCPA opt-in recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTargetCpaOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the targetCpaOptInRecommendation field is set.
      • hasMaximizeConversionsOptInRecommendation

        public boolean hasMaximizeConversionsOptInRecommendation()
         Output only. The MaximizeConversions Opt-In recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.MaximizeConversionsOptInRecommendation maximize_conversions_opt_in_recommendation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMaximizeConversionsOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the maximizeConversionsOptInRecommendation field is set.
      • hasEnhancedCpcOptInRecommendation

        public boolean hasEnhancedCpcOptInRecommendation()
         Output only. The Enhanced Cost-Per-Click Opt-In recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEnhancedCpcOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the enhancedCpcOptInRecommendation field is set.
      • hasSearchPartnersOptInRecommendation

        public boolean hasSearchPartnersOptInRecommendation()
         Output only. The Search Partners Opt-In recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSearchPartnersOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the searchPartnersOptInRecommendation field is set.
      • hasMaximizeClicksOptInRecommendation

        public boolean hasMaximizeClicksOptInRecommendation()
         Output only. The MaximizeClicks Opt-In recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMaximizeClicksOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the maximizeClicksOptInRecommendation field is set.
      • hasOptimizeAdRotationRecommendation

        public boolean hasOptimizeAdRotationRecommendation()
         Output only. The Optimize Ad Rotation recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasOptimizeAdRotationRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the optimizeAdRotationRecommendation field is set.
      • hasKeywordMatchTypeRecommendation

        public boolean hasKeywordMatchTypeRecommendation()
         Output only. The keyword match type recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasKeywordMatchTypeRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the keywordMatchTypeRecommendation field is set.
      • hasMoveUnusedBudgetRecommendation

        public boolean hasMoveUnusedBudgetRecommendation()
         Output only. The move unused budget recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMoveUnusedBudgetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the moveUnusedBudgetRecommendation field is set.
      • hasTargetRoasOptInRecommendation

        public boolean hasTargetRoasOptInRecommendation()
         Output only. The Target ROAS opt-in recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTargetRoasOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the targetRoasOptInRecommendation field is set.
      • hasResponsiveSearchAdRecommendation

        public boolean hasResponsiveSearchAdRecommendation()
         Output only. The add responsive search ad recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasResponsiveSearchAdRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the responsiveSearchAdRecommendation field is set.
      • hasMarginalRoiCampaignBudgetRecommendation

        public boolean hasMarginalRoiCampaignBudgetRecommendation()
         Output only. The marginal ROI campaign budget recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMarginalRoiCampaignBudgetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the marginalRoiCampaignBudgetRecommendation field is set.
      • hasUseBroadMatchKeywordRecommendation

        public boolean hasUseBroadMatchKeywordRecommendation()
         Output only. The use broad match keyword recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUseBroadMatchKeywordRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the useBroadMatchKeywordRecommendation field is set.
      • hasResponsiveSearchAdAssetRecommendation

        public boolean hasResponsiveSearchAdAssetRecommendation()
         Output only. The responsive search ad asset recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdAssetRecommendation responsive_search_ad_asset_recommendation = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasResponsiveSearchAdAssetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the responsiveSearchAdAssetRecommendation field is set.
      • hasUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation

        public boolean hasUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation()
         Output only. The upgrade a Smart Shopping campaign to a Performance Max
         campaign recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the upgradeSmartShoppingCampaignToPerformanceMaxRecommendation field is set.
      • hasResponsiveSearchAdImproveAdStrengthRecommendation

        public boolean hasResponsiveSearchAdImproveAdStrengthRecommendation()
         Output only. The responsive search ad improve ad strength recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdImproveAdStrengthRecommendation responsive_search_ad_improve_ad_strength_recommendation = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasResponsiveSearchAdImproveAdStrengthRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the responsiveSearchAdImproveAdStrengthRecommendation field is set.
      • hasDisplayExpansionOptInRecommendation

        public boolean hasDisplayExpansionOptInRecommendation()
         Output only. The Display Expansion opt-in recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.DisplayExpansionOptInRecommendation display_expansion_opt_in_recommendation = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDisplayExpansionOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the displayExpansionOptInRecommendation field is set.
      • hasUpgradeLocalCampaignToPerformanceMaxRecommendation

        public boolean hasUpgradeLocalCampaignToPerformanceMaxRecommendation()
         Output only. The upgrade a Local campaign to a Performance Max campaign
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.UpgradeLocalCampaignToPerformanceMaxRecommendation upgrade_local_campaign_to_performance_max_recommendation = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpgradeLocalCampaignToPerformanceMaxRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the upgradeLocalCampaignToPerformanceMaxRecommendation field is set.
      • hasRaiseTargetCpaBidTooLowRecommendation

        public boolean hasRaiseTargetCpaBidTooLowRecommendation()
         Output only. The raise target CPA bid too low recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaBidTooLowRecommendation raise_target_cpa_bid_too_low_recommendation = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasRaiseTargetCpaBidTooLowRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the raiseTargetCpaBidTooLowRecommendation field is set.
      • hasForecastingSetTargetRoasRecommendation

        public boolean hasForecastingSetTargetRoasRecommendation()
         Output only. The forecasting set target ROAS recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation forecasting_set_target_roas_recommendation = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasForecastingSetTargetRoasRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the forecastingSetTargetRoasRecommendation field is set.
      • hasCalloutAssetRecommendation

        public boolean hasCalloutAssetRecommendation()
         Output only. The callout asset recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.CalloutAssetRecommendation callout_asset_recommendation = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCalloutAssetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the calloutAssetRecommendation field is set.
      • hasSitelinkAssetRecommendation

        public boolean hasSitelinkAssetRecommendation()
         Output only. The sitelink asset recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.SitelinkAssetRecommendation sitelink_asset_recommendation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSitelinkAssetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the sitelinkAssetRecommendation field is set.
      • hasCallAssetRecommendation

        public boolean hasCallAssetRecommendation()
         Output only. The call asset recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.CallAssetRecommendation call_asset_recommendation = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCallAssetRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the callAssetRecommendation field is set.
      • hasShoppingAddAgeGroupRecommendation

        public boolean hasShoppingAddAgeGroupRecommendation()
         Output only. The shopping add age group recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_age_group_recommendation = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddAgeGroupRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddAgeGroupRecommendation field is set.
      • hasShoppingAddColorRecommendation

        public boolean hasShoppingAddColorRecommendation()
         Output only. The shopping add color recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_color_recommendation = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddColorRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddColorRecommendation field is set.
      • hasShoppingAddGenderRecommendation

        public boolean hasShoppingAddGenderRecommendation()
         Output only. The shopping add gender recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gender_recommendation = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddGenderRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddGenderRecommendation field is set.
      • hasShoppingAddGtinRecommendation

        public boolean hasShoppingAddGtinRecommendation()
         Output only. The shopping add GTIN recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gtin_recommendation = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddGtinRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddGtinRecommendation field is set.
      • hasShoppingAddMoreIdentifiersRecommendation

        public boolean hasShoppingAddMoreIdentifiersRecommendation()
         Output only. The shopping add more identifiers recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_more_identifiers_recommendation = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddMoreIdentifiersRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddMoreIdentifiersRecommendation field is set.
      • hasShoppingAddSizeRecommendation

        public boolean hasShoppingAddSizeRecommendation()
         Output only. The shopping add size recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_size_recommendation = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddSizeRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddSizeRecommendation field is set.
      • hasShoppingAddProductsToCampaignRecommendation

        public boolean hasShoppingAddProductsToCampaignRecommendation()
         Output only. The shopping add products to campaign recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingAddProductsToCampaignRecommendation shopping_add_products_to_campaign_recommendation = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingAddProductsToCampaignRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingAddProductsToCampaignRecommendation field is set.
      • hasShoppingFixDisapprovedProductsRecommendation

        public boolean hasShoppingFixDisapprovedProductsRecommendation()
         Output only. The shopping fix disapproved products recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingFixDisapprovedProductsRecommendation shopping_fix_disapproved_products_recommendation = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingFixDisapprovedProductsRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingFixDisapprovedProductsRecommendation field is set.
      • hasShoppingTargetAllOffersRecommendation

        public boolean hasShoppingTargetAllOffersRecommendation()
         Output only. The shopping target all offers recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingTargetAllOffersRecommendation shopping_target_all_offers_recommendation = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingTargetAllOffersRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingTargetAllOffersRecommendation field is set.
      • hasShoppingFixSuspendedMerchantCenterAccountRecommendation

        public boolean hasShoppingFixSuspendedMerchantCenterAccountRecommendation()
         Output only. The shopping fix suspended Merchant Center account
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_suspended_merchant_center_account_recommendation = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingFixSuspendedMerchantCenterAccountRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingFixSuspendedMerchantCenterAccountRecommendation field is set.
      • hasShoppingFixMerchantCenterAccountSuspensionWarningRecommendation

        public boolean hasShoppingFixMerchantCenterAccountSuspensionWarningRecommendation()
         Output only. The shopping fix Merchant Center account suspension warning
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_merchant_center_account_suspension_warning_recommendation = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingFixMerchantCenterAccountSuspensionWarningRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingFixMerchantCenterAccountSuspensionWarningRecommendation field is set.
      • hasShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation

        public boolean hasShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation()
         Output only. The shopping migrate Regular Shopping Campaign offers to
         Performance Max recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation = 53 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation field is set.
      • hasDynamicImageExtensionOptInRecommendation

        public boolean hasDynamicImageExtensionOptInRecommendation()
         Output only. Recommendation to enable dynamic image extensions on the
         account, allowing Google to find the best images from ad landing pages
         and complement text ads.
         
        .google.ads.googleads.v15.resources.Recommendation.DynamicImageExtensionOptInRecommendation dynamic_image_extension_opt_in_recommendation = 54 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDynamicImageExtensionOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the dynamicImageExtensionOptInRecommendation field is set.
      • getDynamicImageExtensionOptInRecommendation

        public Recommendation.DynamicImageExtensionOptInRecommendation getDynamicImageExtensionOptInRecommendation()
         Output only. Recommendation to enable dynamic image extensions on the
         account, allowing Google to find the best images from ad landing pages
         and complement text ads.
         
        .google.ads.googleads.v15.resources.Recommendation.DynamicImageExtensionOptInRecommendation dynamic_image_extension_opt_in_recommendation = 54 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDynamicImageExtensionOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        The dynamicImageExtensionOptInRecommendation.
      • hasRaiseTargetCpaRecommendation

        public boolean hasRaiseTargetCpaRecommendation()
         Output only. Recommendation to raise Target CPA.
         
        .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaRecommendation raise_target_cpa_recommendation = 55 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasRaiseTargetCpaRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the raiseTargetCpaRecommendation field is set.
      • hasLowerTargetRoasRecommendation

        public boolean hasLowerTargetRoasRecommendation()
         Output only. Recommendation to lower Target ROAS.
         
        .google.ads.googleads.v15.resources.Recommendation.LowerTargetRoasRecommendation lower_target_roas_recommendation = 56 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLowerTargetRoasRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the lowerTargetRoasRecommendation field is set.
      • hasPerformanceMaxOptInRecommendation

        public boolean hasPerformanceMaxOptInRecommendation()
         Output only. The Performance Max Opt In recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.PerformanceMaxOptInRecommendation performance_max_opt_in_recommendation = 57 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPerformanceMaxOptInRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the performanceMaxOptInRecommendation field is set.
      • hasImprovePerformanceMaxAdStrengthRecommendation

        public boolean hasImprovePerformanceMaxAdStrengthRecommendation()
         Output only. The improve Performance Max ad strength recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ImprovePerformanceMaxAdStrengthRecommendation improve_performance_max_ad_strength_recommendation = 58 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasImprovePerformanceMaxAdStrengthRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the improvePerformanceMaxAdStrengthRecommendation field is set.
      • hasMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation

        public boolean hasMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation()
         Output only. The Dynamic Search Ads to Performance Max migration
         recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrate_dynamic_search_ads_campaign_to_performance_max_recommendation = 59 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation field is set.
      • hasForecastingSetTargetCpaRecommendation

        public boolean hasForecastingSetTargetCpaRecommendation()
         Output only. The forecasting set target CPA recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation forecasting_set_target_cpa_recommendation = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasForecastingSetTargetCpaRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the forecastingSetTargetCpaRecommendation field is set.
      • hasSetTargetCpaRecommendation

        public boolean hasSetTargetCpaRecommendation()
         Output only. The set target CPA recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation set_target_cpa_recommendation = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSetTargetCpaRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the setTargetCpaRecommendation field is set.
      • hasSetTargetRoasRecommendation

        public boolean hasSetTargetRoasRecommendation()
         Output only. The set target ROAS recommendation.
         
        .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation set_target_roas_recommendation = 62 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSetTargetRoasRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the setTargetRoasRecommendation field is set.
      • isInitialized

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static Recommendation getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Recommendation> parser()
      • getParserForType

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

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