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.v10.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
      • CALLOUT_EXTENSION_RECOMMENDATION_FIELD_NUMBER

        public static final int CALLOUT_EXTENSION_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SITELINK_EXTENSION_RECOMMENDATION_FIELD_NUMBER

        public static final int SITELINK_EXTENSION_RECOMMENDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_EXTENSION_RECOMMENDATION_FIELD_NUMBER

        public static final int CALL_EXTENSION_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
    • Method Detail

      • newInstance

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

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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.v10.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.v10.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.v10.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 will be set only when
         the recommendation affects a single campaign.
         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,
         MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, SEARCH_PARTNERS_OPT_IN,
         SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD
         
        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 will be set only when
         the recommendation affects a single campaign.
         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,
         MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, SEARCH_PARTNERS_OPT_IN,
         SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD
         
        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 will be set only when
         the recommendation affects a single campaign.
         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,
         MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
         RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, SEARCH_PARTNERS_OPT_IN,
         SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD
         
        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.
      • hasCampaignBudgetRecommendation

        public boolean hasCampaignBudgetRecommendation()
         Output only. The campaign budget recommendation.
         
        .google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.
      • hasCalloutExtensionRecommendation

        public boolean hasCalloutExtensionRecommendation()
         Output only. The Callout extension recommendation.
         
        .google.ads.googleads.v10.resources.Recommendation.CalloutExtensionRecommendation callout_extension_recommendation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCalloutExtensionRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the calloutExtensionRecommendation field is set.
      • hasSitelinkExtensionRecommendation

        public boolean hasSitelinkExtensionRecommendation()
         Output only. The Sitelink extension recommendation.
         
        .google.ads.googleads.v10.resources.Recommendation.SitelinkExtensionRecommendation sitelink_extension_recommendation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSitelinkExtensionRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the sitelinkExtensionRecommendation field is set.
      • hasCallExtensionRecommendation

        public boolean hasCallExtensionRecommendation()
         Output only. The Call extension recommendation.
         
        .google.ads.googleads.v10.resources.Recommendation.CallExtensionRecommendation call_extension_recommendation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCallExtensionRecommendation in interface RecommendationOrBuilder
        Returns:
        Whether the callExtensionRecommendation field is set.
      • hasKeywordMatchTypeRecommendation

        public boolean hasKeywordMatchTypeRecommendation()
         Output only. The keyword match type recommendation.
         
        .google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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 add responsive search ad asset recommendation.
         
        .google.ads.googleads.v10.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.
      • 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