--- v18/errors/campaign_error.proto 2025-08-05 14:36:12.000000000 +0000 +++ v19/errors/campaign_error.proto 2025-08-05 14:36:15.000000000 +0000 @@ -337,5 +337,38 @@ // only when there are assets that are linked to the campaign's asset // groups. REQUIRED_LOGO_ASSET_NOT_LINKED = 96; + + // This campaign does not support brand targeting overrides. Brand targeting + // overrides are only supported for Performance Max campaigns that have a + // product feed. + BRAND_TARGETING_OVERRIDES_NOT_SUPPORTED = 97; + + // Brand Guideline fields can only be set for campaigns that have Brand + // Guidelines enabled. + BRAND_GUIDELINES_NOT_ENABLED_FOR_CAMPAIGN = 98; + + // When a Brand Guidelines color field is set, both main color and accent + // color are required. + BRAND_GUIDELINES_MAIN_AND_ACCENT_COLORS_REQUIRED = 99; + + // Brand Guidelines colors must be hex colors matching the regular + // expression '#[0-9a-fA-F]{6}', for example '#abc123' + BRAND_GUIDELINES_COLOR_INVALID_FORMAT = 100; + + // Brand Guidelines font family must be one of the supported Google Fonts. + // See Campaign.brand_guidelines.predefined_font_family for the list of + // supported fonts. + BRAND_GUIDELINES_UNSUPPORTED_FONT_FAMILY = 101; + + // Brand Guidelines cannot be set for this channel type. Brand Guidelines + // supports Performance Max campaigns. + BRAND_GUIDELINES_UNSUPPORTED_CHANNEL = 102; + + // Brand Guidelines cannot be enabled for Performance Max for travel goals + // campaigns. + CANNOT_ENABLE_BRAND_GUIDELINES_FOR_TRAVEL_GOALS = 103; + + // This customer is not allowlisted for enabling Brand Guidelines. + CUSTOMER_NOT_ALLOWLISTED_FOR_BRAND_GUIDELINES = 104; } }
/errors/campaign_error.proto
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/21 (UTC).
[null,null,["Dernière mise à jour le 2025/08/21 (UTC)."],[],[],null,["# /errors/campaign_error.proto\n\n```diff\n--- v18/errors/campaign_error.proto 2025-08-05 14:36:12.000000000 +0000\n+++ v19/errors/campaign_error.proto 2025-08-05 14:36:15.000000000 +0000\n@@ -337,5 +337,38 @@\n // only when there are assets that are linked to the campaign's asset\n // groups.\n REQUIRED_LOGO_ASSET_NOT_LINKED = 96;\n+\n+ // This campaign does not support brand targeting overrides. Brand targeting\n+ // overrides are only supported for Performance Max campaigns that have a\n+ // product feed.\n+ BRAND_TARGETING_OVERRIDES_NOT_SUPPORTED = 97;\n+\n+ // Brand Guideline fields can only be set for campaigns that have Brand\n+ // Guidelines enabled.\n+ BRAND_GUIDELINES_NOT_ENABLED_FOR_CAMPAIGN = 98;\n+\n+ // When a Brand Guidelines color field is set, both main color and accent\n+ // color are required.\n+ BRAND_GUIDELINES_MAIN_AND_ACCENT_COLORS_REQUIRED = 99;\n+\n+ // Brand Guidelines colors must be hex colors matching the regular\n+ // expression '#[0-9a-fA-F]{6}', for example '#abc123'\n+ BRAND_GUIDELINES_COLOR_INVALID_FORMAT = 100;\n+\n+ // Brand Guidelines font family must be one of the supported Google Fonts.\n+ // See Campaign.brand_guidelines.predefined_font_family for the list of\n+ // supported fonts.\n+ BRAND_GUIDELINES_UNSUPPORTED_FONT_FAMILY = 101;\n+\n+ // Brand Guidelines cannot be set for this channel type. Brand Guidelines\n+ // supports Performance Max campaigns.\n+ BRAND_GUIDELINES_UNSUPPORTED_CHANNEL = 102;\n+\n+ // Brand Guidelines cannot be enabled for Performance Max for travel goals\n+ // campaigns.\n+ CANNOT_ENABLE_BRAND_GUIDELINES_FOR_TRAVEL_GOALS = 103;\n+\n+ // This customer is not allowlisted for enabling Brand Guidelines.\n+ CUSTOMER_NOT_ALLOWLISTED_FOR_BRAND_GUIDELINES = 104;\n }\n }\n```"]]