xref: /aosp_15_r20/external/googleapis/google/ads/googleads/v15/common/policy_summary.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.ads.googleads.v15.common;
18
19import "google/ads/googleads/v15/common/policy.proto";
20import "google/ads/googleads/v15/enums/policy_approval_status.proto";
21import "google/ads/googleads/v15/enums/policy_review_status.proto";
22
23option csharp_namespace = "Google.Ads.GoogleAds.V15.Common";
24option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/common;common";
25option java_multiple_files = true;
26option java_outer_classname = "PolicySummaryProto";
27option java_package = "com.google.ads.googleads.v15.common";
28option objc_class_prefix = "GAA";
29option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common";
30option ruby_package = "Google::Ads::GoogleAds::V15::Common";
31
32// Proto file describing policy summary.
33
34// Contains policy summary information.
35message PolicySummary {
36  // The list of policy findings.
37  repeated PolicyTopicEntry policy_topic_entries = 1;
38
39  // Where in the review process the resource is.
40  google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus
41      review_status = 2;
42
43  // The overall approval status, which is calculated based on
44  // the status of its individual policy topic entries.
45  google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus
46      approval_status = 3;
47}
48