Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / resources / ad_group_ad.proto
1 // Copyright 2019 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v1.resources;
19
20 import "google/ads/googleads/v1/common/policy.proto";
21 import "google/ads/googleads/v1/enums/ad_group_ad_status.proto";
22 import "google/ads/googleads/v1/enums/ad_strength.proto";
23 import "google/ads/googleads/v1/enums/policy_approval_status.proto";
24 import "google/ads/googleads/v1/enums/policy_review_status.proto";
25 import "google/ads/googleads/v1/resources/ad.proto";
26 import "google/protobuf/wrappers.proto";
27 import "google/api/annotations.proto";
28
29 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
30 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
31 option java_multiple_files = true;
32 option java_outer_classname = "AdGroupAdProto";
33 option java_package = "com.google.ads.googleads.v1.resources";
34 option objc_class_prefix = "GAA";
35 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
36 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
37 // Proto file describing the ad group ad resource.
38
39 // An ad group ad.
40 message AdGroupAd {
41   // The resource name of the ad.
42   // Ad group ad resource names have the form:
43   //
44   // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`
45   string resource_name = 1;
46
47   // The status of the ad.
48   google.ads.googleads.v1.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;
49
50   // The ad group to which the ad belongs.
51   google.protobuf.StringValue ad_group = 4;
52
53   // The ad.
54   Ad ad = 5;
55
56   // Policy information for the ad.
57   AdGroupAdPolicySummary policy_summary = 6;
58
59   // Overall ad strength for this ad group ad.
60   google.ads.googleads.v1.enums.AdStrengthEnum.AdStrength ad_strength = 7;
61 }
62
63 // Contains policy information for an ad.
64 message AdGroupAdPolicySummary {
65   // The list of policy findings for this ad.
66   repeated google.ads.googleads.v1.common.PolicyTopicEntry policy_topic_entries = 1;
67
68   // Where in the review process this ad is.
69   google.ads.googleads.v1.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;
70
71   // The overall approval status of this ad, calculated based on the status of
72   // its individual policy topic entries.
73   google.ads.googleads.v1.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;
74 }