1// Copyright 2020 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// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0
18// 	protoc        v3.13.0
19// source: google/ads/googleads/v3/resources/remarketing_action.proto
20
21package resources
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	common "google.golang.org/genproto/googleapis/ads/googleads/v3/common"
29	_ "google.golang.org/genproto/googleapis/api/annotations"
30	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
33)
34
35const (
36	// Verify that this generated code is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38	// Verify that runtime/protoimpl is sufficiently up-to-date.
39	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40)
41
42// This is a compile-time assertion that a sufficiently up-to-date version
43// of the legacy proto package is being used.
44const _ = proto.ProtoPackageIsVersion4
45
46// A remarketing action. A snippet of JavaScript code that will collect the
47// product id and the type of page people visited (product page, shopping cart
48// page, purchase page, general site visit) on an advertiser's website.
49type RemarketingAction struct {
50	state         protoimpl.MessageState
51	sizeCache     protoimpl.SizeCache
52	unknownFields protoimpl.UnknownFields
53
54	// Immutable. The resource name of the remarketing action.
55	// Remarketing action resource names have the form:
56	//
57	// `customers/{customer_id}/remarketingActions/{remarketing_action_id}`
58	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
59	// Output only. Id of the remarketing action.
60	Id *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
61	// The name of the remarketing action.
62	//
63	// This field is required and should not be empty when creating new
64	// remarketing actions.
65	Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
66	// Output only. The snippets used for tracking remarketing actions.
67	TagSnippets []*common.TagSnippet `protobuf:"bytes,4,rep,name=tag_snippets,json=tagSnippets,proto3" json:"tag_snippets,omitempty"`
68}
69
70func (x *RemarketingAction) Reset() {
71	*x = RemarketingAction{}
72	if protoimpl.UnsafeEnabled {
73		mi := &file_google_ads_googleads_v3_resources_remarketing_action_proto_msgTypes[0]
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		ms.StoreMessageInfo(mi)
76	}
77}
78
79func (x *RemarketingAction) String() string {
80	return protoimpl.X.MessageStringOf(x)
81}
82
83func (*RemarketingAction) ProtoMessage() {}
84
85func (x *RemarketingAction) ProtoReflect() protoreflect.Message {
86	mi := &file_google_ads_googleads_v3_resources_remarketing_action_proto_msgTypes[0]
87	if protoimpl.UnsafeEnabled && x != nil {
88		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89		if ms.LoadMessageInfo() == nil {
90			ms.StoreMessageInfo(mi)
91		}
92		return ms
93	}
94	return mi.MessageOf(x)
95}
96
97// Deprecated: Use RemarketingAction.ProtoReflect.Descriptor instead.
98func (*RemarketingAction) Descriptor() ([]byte, []int) {
99	return file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescGZIP(), []int{0}
100}
101
102func (x *RemarketingAction) GetResourceName() string {
103	if x != nil {
104		return x.ResourceName
105	}
106	return ""
107}
108
109func (x *RemarketingAction) GetId() *wrapperspb.Int64Value {
110	if x != nil {
111		return x.Id
112	}
113	return nil
114}
115
116func (x *RemarketingAction) GetName() *wrapperspb.StringValue {
117	if x != nil {
118		return x.Name
119	}
120	return nil
121}
122
123func (x *RemarketingAction) GetTagSnippets() []*common.TagSnippet {
124	if x != nil {
125		return x.TagSnippets
126	}
127	return nil
128}
129
130var File_google_ads_googleads_v3_resources_remarketing_action_proto protoreflect.FileDescriptor
131
132var file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDesc = []byte{
133	0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f,
134	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
135	0x63, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x5f,
136	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f,
137	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
138	0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a,
139	0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
140	0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
141	0x74, 0x61, 0x67, 0x5f, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
142	0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
143	0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
144	0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
145	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67,
146	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77,
147	0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
148	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
149	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x03, 0x0a, 0x11,
150	0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f,
151	0x6e, 0x12, 0x57, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61,
152	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x2c,
153	0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
154	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6d, 0x61, 0x72,
155	0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65,
156	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x02, 0x69, 0x64,
157	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
158	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61,
159	0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04,
160	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
161	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
162	0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x52,
163	0x0a, 0x0c, 0x74, 0x61, 0x67, 0x5f, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x73, 0x18, 0x04,
164	0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64,
165	0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x63,
166	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74,
167	0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65,
168	0x74, 0x73, 0x3a, 0x6d, 0xea, 0x41, 0x6a, 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
169	0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
170	0x6d, 0x2f, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74,
171	0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b,
172	0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
173	0x65, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65,
174	0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
175	0x7d, 0x42, 0x83, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
176	0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76,
177	0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x16, 0x52, 0x65, 0x6d,
178	0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
179	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
180	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
181	0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73,
182	0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65,
183	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
184	0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
185	0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56,
186	0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 0x02, 0x21, 0x47, 0x6f,
187	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41,
188	0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xea,
189	0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47,
190	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 0x3a, 0x3a, 0x52, 0x65,
191	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
192}
193
194var (
195	file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescOnce sync.Once
196	file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescData = file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDesc
197)
198
199func file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescGZIP() []byte {
200	file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescOnce.Do(func() {
201		file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescData)
202	})
203	return file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDescData
204}
205
206var file_google_ads_googleads_v3_resources_remarketing_action_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
207var file_google_ads_googleads_v3_resources_remarketing_action_proto_goTypes = []interface{}{
208	(*RemarketingAction)(nil),      // 0: google.ads.googleads.v3.resources.RemarketingAction
209	(*wrapperspb.Int64Value)(nil),  // 1: google.protobuf.Int64Value
210	(*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue
211	(*common.TagSnippet)(nil),      // 3: google.ads.googleads.v3.common.TagSnippet
212}
213var file_google_ads_googleads_v3_resources_remarketing_action_proto_depIdxs = []int32{
214	1, // 0: google.ads.googleads.v3.resources.RemarketingAction.id:type_name -> google.protobuf.Int64Value
215	2, // 1: google.ads.googleads.v3.resources.RemarketingAction.name:type_name -> google.protobuf.StringValue
216	3, // 2: google.ads.googleads.v3.resources.RemarketingAction.tag_snippets:type_name -> google.ads.googleads.v3.common.TagSnippet
217	3, // [3:3] is the sub-list for method output_type
218	3, // [3:3] is the sub-list for method input_type
219	3, // [3:3] is the sub-list for extension type_name
220	3, // [3:3] is the sub-list for extension extendee
221	0, // [0:3] is the sub-list for field type_name
222}
223
224func init() { file_google_ads_googleads_v3_resources_remarketing_action_proto_init() }
225func file_google_ads_googleads_v3_resources_remarketing_action_proto_init() {
226	if File_google_ads_googleads_v3_resources_remarketing_action_proto != nil {
227		return
228	}
229	if !protoimpl.UnsafeEnabled {
230		file_google_ads_googleads_v3_resources_remarketing_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
231			switch v := v.(*RemarketingAction); i {
232			case 0:
233				return &v.state
234			case 1:
235				return &v.sizeCache
236			case 2:
237				return &v.unknownFields
238			default:
239				return nil
240			}
241		}
242	}
243	type x struct{}
244	out := protoimpl.TypeBuilder{
245		File: protoimpl.DescBuilder{
246			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
247			RawDescriptor: file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDesc,
248			NumEnums:      0,
249			NumMessages:   1,
250			NumExtensions: 0,
251			NumServices:   0,
252		},
253		GoTypes:           file_google_ads_googleads_v3_resources_remarketing_action_proto_goTypes,
254		DependencyIndexes: file_google_ads_googleads_v3_resources_remarketing_action_proto_depIdxs,
255		MessageInfos:      file_google_ads_googleads_v3_resources_remarketing_action_proto_msgTypes,
256	}.Build()
257	File_google_ads_googleads_v3_resources_remarketing_action_proto = out.File
258	file_google_ads_googleads_v3_resources_remarketing_action_proto_rawDesc = nil
259	file_google_ads_googleads_v3_resources_remarketing_action_proto_goTypes = nil
260	file_google_ads_googleads_v3_resources_remarketing_action_proto_depIdxs = nil
261}
262