// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.ads.googleads.v19.errors;

option csharp_namespace = "Google.Ads.GoogleAds.V19.Errors";
option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v19/errors;errors";
option java_multiple_files = true;
option java_outer_classname = "BrandGuidelinesMigrationErrorProto";
option java_package = "com.google.ads.googleads.v19.errors";
option objc_class_prefix = "GAA";
option php_namespace = "Google\\Ads\\GoogleAds\\V19\\Errors";
option ruby_package = "Google::Ads::GoogleAds::V19::Errors";

// Proto file describing brand guidelines migration errors.

// Container for enum describing brand guidelines migration errors.
message BrandGuidelinesMigrationErrorEnum {
  // Enum describing brand guidelines migration errors.
  enum BrandGuidelinesMigrationError {
    // Enum unspecified.
    UNSPECIFIED = 0;

    // The received error code is not known in this version.
    UNKNOWN = 1;

    // This campaign is already enabled for Brand Guidelines.
    BRAND_GUIDELINES_ALREADY_ENABLED = 2;

    // Brand Guidelines can only be enabled for active or suspended campaigns.
    CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN = 3;

    // Maximum of 5 square and landscape logos can be specified for Brand
    // Guidelines.
    BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED = 4;

    // Either auto_populate_brand_assets must be true or brand_assets must be
    // provided, but not both.
    CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDED = 5;

    // Either auto_populate_brand_assets can be false or brand_assets can be
    // omitted, but not both.
    AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED = 6;

    // A maximum of 10 enable operations can be executed in a request.
    TOO_MANY_ENABLE_OPERATIONS = 7;
  }
}
