--- v17/errors/recommendation_error.proto 2024-10-17 03:48:50.000000000 +0000 +++ v18/errors/recommendation_error.proto 2024-10-17 03:48:55.000000000 +0000 @@ -98,5 +98,71 @@ // One or more recommendation_types need to be passed into the generate // recommendations request. RECOMMENDATION_TYPES_CANNOT_BE_EMPTY = 21; + + // Bidding info is required for the CAMPAIGN_BUDGET recommendation type. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_BIDDING_INFO = 22; + + // Bidding strategy type is required for the CAMPAIGN_BUDGET + // recommendation type. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_BIDDING_STRATEGY_TYPE = 23; + + // Asset group info is required for the campaign budget recommendation type. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_ASSET_GROUP_INFO = 24; + + // Asset group info with final url is required for the CAMPAIGN_BUDGET + // recommendation type. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_ASSET_GROUP_INFO_WITH_FINAL_URL = + 25; + + // Country codes are required for the CAMPAIGN_BUDGET recommendation type + // for SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_COUNTRY_CODES_FOR_SEARCH_CHANNEL = + 26; + + // Country code is invalid for the CAMPAIGN_BUDGET recommendation type for + // SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_INVALID_COUNTRY_CODE_FOR_SEARCH_CHANNEL = + 27; + + // Language codes are required for the CAMPAIGN_BUDGET recommendation type + // for SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_LANGUAGE_CODES_FOR_SEARCH_CHANNEL = + 28; + + // Either positive or negative location ids are required for the + // CAMPAIGN_BUDGET recommendation type for SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_EITHER_POSITIVE_OR_NEGATIVE_LOCATION_IDS_FOR_SEARCH_CHANNEL = + 29; + + // Ad group info is required for the CAMPAIGN_BUDGET recommendation type for + // SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_AD_GROUP_INFO_FOR_SEARCH_CHANNEL = + 30; + + // Keywords are required for the CAMPAIGN_BUDGET recommendation type for + // SEARCH channel. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRES_KEYWORDS_FOR_SEARCH_CHANNEL = + 31; + + // Location is required for the CAMPAIGN_BUDGET recommendation type for + // bidding strategy type TARGET_IMPRESSION_SHARE. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_WITH_CHANNEL_TYPE_SEARCH_AND_BIDDING_STRATEGY_TYPE_TARGET_IMPRESSION_SHARE_REQUIRES_LOCATION = + 32; + + // Target impression share micros are required for the CAMPAIGN_BUDGET + // recommendation type for bidding strategy type TARGET_IMPRESSION_SHARE. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_WITH_CHANNEL_TYPE_SEARCH_AND_BIDDING_STRATEGY_TYPE_TARGET_IMPRESSION_SHARE_REQUIRES_TARGET_IMPRESSION_SHARE_MICROS = + 33; + + // Target impression share micros are required to be between 1 and 1000000 + // for the CAMPAIGN_BUDGET recommendation type for bidding strategy type + // TARGET_IMPRESSION_SHARE. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_TARGET_IMPRESSION_SHARE_MICROS_BETWEEN_1_AND_1000000 = + 34; + + // Target impression share info is required for the CAMPAIGN_BUDGET + // recommendation type for bidding strategy type TARGET_IMPRESSION_SHARE. + CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_WITH_CHANNEL_TYPE_SEARCH_AND_BIDDING_STRATEGY_TYPE_TARGET_IMPRESSION_SHARE_REQUIRES_TARGET_IMPRESSION_SHARE_INFO = + 35; } }
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-17 UTC.
[null,null,["Last updated 2024-10-17 UTC."],[[["This update introduces several new error codes related to the `CAMPAIGN_BUDGET` recommendation type."],["Using this recommendation type requires providing bidding info, bidding strategy type, and asset group info with a final URL."],["For Search campaigns, country and language codes, location IDs, ad group info, and keywords are also necessary."],["If using the `TARGET_IMPRESSION_SHARE` bidding strategy, location and target impression share micros (between 1 and 1000000) are required."],["These new error codes help ensure that requests for `CAMPAIGN_BUDGET` recommendations include all necessary information for successful generation."]]],[]]