File: ad_group_ad_asset_view.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (234 lines) | stat: -rw-r--r-- 12,587 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/ad_group_ad_asset_view.proto

package resources

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	common "google.golang.org/genproto/googleapis/ads/googleads/v3/common"
	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// A link between an AdGroupAd and an Asset.
type AdGroupAdAssetView struct {
	// Output only. The resource name of the ad group ad asset view.
	// Ad group ad asset view resource names have the form:
	//
	// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.asset_field_type}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. The ad group ad to which the asset is linked.
	AdGroupAd *wrappers.StringValue `protobuf:"bytes,5,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"`
	// Output only. The asset which is linked to the ad group ad.
	Asset *wrappers.StringValue `protobuf:"bytes,6,opt,name=asset,proto3" json:"asset,omitempty"`
	// Output only. Role that the asset takes in the ad.
	FieldType enums.AssetFieldTypeEnum_AssetFieldType `protobuf:"varint,2,opt,name=field_type,json=fieldType,proto3,enum=google.ads.googleads.v3.enums.AssetFieldTypeEnum_AssetFieldType" json:"field_type,omitempty"`
	// Output only. Policy information for the ad group ad asset.
	PolicySummary *AdGroupAdAssetPolicySummary `protobuf:"bytes,3,opt,name=policy_summary,json=policySummary,proto3" json:"policy_summary,omitempty"`
	// Output only. Performance of an asset linkage.
	PerformanceLabel     enums.AssetPerformanceLabelEnum_AssetPerformanceLabel `protobuf:"varint,4,opt,name=performance_label,json=performanceLabel,proto3,enum=google.ads.googleads.v3.enums.AssetPerformanceLabelEnum_AssetPerformanceLabel" json:"performance_label,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (m *AdGroupAdAssetView) Reset()         { *m = AdGroupAdAssetView{} }
func (m *AdGroupAdAssetView) String() string { return proto.CompactTextString(m) }
func (*AdGroupAdAssetView) ProtoMessage()    {}
func (*AdGroupAdAssetView) Descriptor() ([]byte, []int) {
	return fileDescriptor_ebd5d6a40ca3c8d6, []int{0}
}

func (m *AdGroupAdAssetView) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AdGroupAdAssetView.Unmarshal(m, b)
}
func (m *AdGroupAdAssetView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AdGroupAdAssetView.Marshal(b, m, deterministic)
}
func (m *AdGroupAdAssetView) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AdGroupAdAssetView.Merge(m, src)
}
func (m *AdGroupAdAssetView) XXX_Size() int {
	return xxx_messageInfo_AdGroupAdAssetView.Size(m)
}
func (m *AdGroupAdAssetView) XXX_DiscardUnknown() {
	xxx_messageInfo_AdGroupAdAssetView.DiscardUnknown(m)
}

var xxx_messageInfo_AdGroupAdAssetView proto.InternalMessageInfo

func (m *AdGroupAdAssetView) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *AdGroupAdAssetView) GetAdGroupAd() *wrappers.StringValue {
	if m != nil {
		return m.AdGroupAd
	}
	return nil
}

func (m *AdGroupAdAssetView) GetAsset() *wrappers.StringValue {
	if m != nil {
		return m.Asset
	}
	return nil
}

func (m *AdGroupAdAssetView) GetFieldType() enums.AssetFieldTypeEnum_AssetFieldType {
	if m != nil {
		return m.FieldType
	}
	return enums.AssetFieldTypeEnum_UNSPECIFIED
}

func (m *AdGroupAdAssetView) GetPolicySummary() *AdGroupAdAssetPolicySummary {
	if m != nil {
		return m.PolicySummary
	}
	return nil
}

func (m *AdGroupAdAssetView) GetPerformanceLabel() enums.AssetPerformanceLabelEnum_AssetPerformanceLabel {
	if m != nil {
		return m.PerformanceLabel
	}
	return enums.AssetPerformanceLabelEnum_UNSPECIFIED
}

// Contains policy information for an ad group ad asset.
type AdGroupAdAssetPolicySummary struct {
	// Output only. The list of policy findings for the ad group ad asset.
	PolicyTopicEntries []*common.PolicyTopicEntry `protobuf:"bytes,1,rep,name=policy_topic_entries,json=policyTopicEntries,proto3" json:"policy_topic_entries,omitempty"`
	// Output only. Where in the review process this ad group ad asset is.
	ReviewStatus enums.PolicyReviewStatusEnum_PolicyReviewStatus `protobuf:"varint,2,opt,name=review_status,json=reviewStatus,proto3,enum=google.ads.googleads.v3.enums.PolicyReviewStatusEnum_PolicyReviewStatus" json:"review_status,omitempty"`
	// Output only. The overall approval status of this ad group ad asset, calculated based on
	// the status of its individual policy topic entries.
	ApprovalStatus       enums.PolicyApprovalStatusEnum_PolicyApprovalStatus `protobuf:"varint,3,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v3.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus" json:"approval_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                            `json:"-"`
	XXX_unrecognized     []byte                                              `json:"-"`
	XXX_sizecache        int32                                               `json:"-"`
}

func (m *AdGroupAdAssetPolicySummary) Reset()         { *m = AdGroupAdAssetPolicySummary{} }
func (m *AdGroupAdAssetPolicySummary) String() string { return proto.CompactTextString(m) }
func (*AdGroupAdAssetPolicySummary) ProtoMessage()    {}
func (*AdGroupAdAssetPolicySummary) Descriptor() ([]byte, []int) {
	return fileDescriptor_ebd5d6a40ca3c8d6, []int{1}
}

func (m *AdGroupAdAssetPolicySummary) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AdGroupAdAssetPolicySummary.Unmarshal(m, b)
}
func (m *AdGroupAdAssetPolicySummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AdGroupAdAssetPolicySummary.Marshal(b, m, deterministic)
}
func (m *AdGroupAdAssetPolicySummary) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AdGroupAdAssetPolicySummary.Merge(m, src)
}
func (m *AdGroupAdAssetPolicySummary) XXX_Size() int {
	return xxx_messageInfo_AdGroupAdAssetPolicySummary.Size(m)
}
func (m *AdGroupAdAssetPolicySummary) XXX_DiscardUnknown() {
	xxx_messageInfo_AdGroupAdAssetPolicySummary.DiscardUnknown(m)
}

var xxx_messageInfo_AdGroupAdAssetPolicySummary proto.InternalMessageInfo

func (m *AdGroupAdAssetPolicySummary) GetPolicyTopicEntries() []*common.PolicyTopicEntry {
	if m != nil {
		return m.PolicyTopicEntries
	}
	return nil
}

func (m *AdGroupAdAssetPolicySummary) GetReviewStatus() enums.PolicyReviewStatusEnum_PolicyReviewStatus {
	if m != nil {
		return m.ReviewStatus
	}
	return enums.PolicyReviewStatusEnum_UNSPECIFIED
}

func (m *AdGroupAdAssetPolicySummary) GetApprovalStatus() enums.PolicyApprovalStatusEnum_PolicyApprovalStatus {
	if m != nil {
		return m.ApprovalStatus
	}
	return enums.PolicyApprovalStatusEnum_UNSPECIFIED
}

func init() {
	proto.RegisterType((*AdGroupAdAssetView)(nil), "google.ads.googleads.v3.resources.AdGroupAdAssetView")
	proto.RegisterType((*AdGroupAdAssetPolicySummary)(nil), "google.ads.googleads.v3.resources.AdGroupAdAssetPolicySummary")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/resources/ad_group_ad_asset_view.proto", fileDescriptor_ebd5d6a40ca3c8d6)
}

var fileDescriptor_ebd5d6a40ca3c8d6 = []byte{
	// 729 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xdf, 0x6a, 0x13, 0x4f,
	0x14, 0x26, 0xc9, 0xaf, 0x85, 0x4e, 0xdb, 0xfc, 0x74, 0x11, 0x8c, 0xb5, 0xd4, 0xb4, 0x58, 0x09,
	0x16, 0x67, 0x24, 0xf1, 0x42, 0xb6, 0x58, 0xdc, 0x40, 0xad, 0x48, 0x29, 0x21, 0x2d, 0x41, 0x4a,
	0x60, 0x99, 0xec, 0x4e, 0xb6, 0x2b, 0xbb, 0x3b, 0xc3, 0xcc, 0x6e, 0x4a, 0x2c, 0x05, 0x2f, 0x7c,
	0x12, 0x2f, 0x7d, 0x14, 0x9f, 0xa2, 0xd7, 0x7d, 0x00, 0x2f, 0x7a, 0x25, 0x3b,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