// 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.admanager.v1;

option csharp_namespace = "Google.Ads.AdManager.V1";
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
option java_multiple_files = true;
option java_outer_classname = "SiteEnumsProto";
option java_package = "com.google.ads.admanager.v1";
option php_namespace = "Google\\Ads\\AdManager\\V1";
option ruby_package = "Google::Ads::AdManager::V1";

// Wrapper message for
// [SiteDisapprovalReason][google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason]
message SiteDisapprovalReasonEnum {
  // The list of possible policy violation types for a Site.
  enum SiteDisapprovalReason {
    // Default value. This value is unused.
    SITE_DISAPPROVAL_REASON_UNSPECIFIED = 0;

    // The site has content that violates policy.
    CONTENT = 1;

    // Generic error type.
    OTHER = 2;

    // The parent must be an authorized seller of the child network's inventory.
    OWNERSHIP = 3;
  }
}

// Wrapper message for
// [SiteApprovalStatus][google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus]
message SiteApprovalStatusEnum {
  // Represents the approval status of a site.
  enum SiteApprovalStatus {
    // Default value. This value is unused.
    SITE_APPROVAL_STATUS_UNSPECIFIED = 0;

    // The site has been approved to serve ads.
    APPROVED = 1;

    // The site has been disapproved from serving ads.
    DISAPPROVED = 2;

    // The default status with which a site is created.
    DRAFT = 3;

    // The site has been deactivated and is not serving ads due to dormancy. It
    // must be resubmitted for approval.
    REQUIRES_REVIEW = 4;

    // Once the site is submitted for approval, its status changes from draft to
    // unchecked. It will be reviwed with an estimated turn-around time of 24h.
    // Such a site cannot serve ads.
    UNCHECKED = 5;
  }
}
