asset_policy.proto 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Copyright 2021 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. syntax = "proto3";
  15. package google.ads.googleads.v7.common;
  16. import "google/ads/googleads/v7/common/policy.proto";
  17. import "google/ads/googleads/v7/enums/policy_approval_status.proto";
  18. import "google/ads/googleads/v7/enums/policy_review_status.proto";
  19. import "google/api/annotations.proto";
  20. option csharp_namespace = "Google.Ads.GoogleAds.V7.Common";
  21. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "AssetPolicyProto";
  24. option java_package = "com.google.ads.googleads.v7.common";
  25. option objc_class_prefix = "GAA";
  26. option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common";
  27. option ruby_package = "Google::Ads::GoogleAds::V7::Common";
  28. // Proto file describing asset policies.
  29. // Contains policy information for an asset inside an ad.
  30. message AdAssetPolicySummary {
  31. // The list of policy findings for this asset.
  32. repeated PolicyTopicEntry policy_topic_entries = 1;
  33. // Where in the review process this asset.
  34. google.ads.googleads.v7.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;
  35. // The overall approval status of this asset, which is calculated based on
  36. // the status of its individual policy topic entries.
  37. google.ads.googleads.v7.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;
  38. }