1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/common/tag_snippet.proto
3
4package common
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// The site tag and event snippet pair for a TrackingCodeType.
28type TagSnippet struct {
29	// The type of the generated tag snippets for tracking conversions.
30	Type enums.TrackingCodeTypeEnum_TrackingCodeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.TrackingCodeTypeEnum_TrackingCodeType" json:"type,omitempty"`
31	// The format of the web page where the tracking tag and snippet will be
32	// installed, e.g. HTML.
33	PageFormat enums.TrackingCodePageFormatEnum_TrackingCodePageFormat `protobuf:"varint,2,opt,name=page_format,json=pageFormat,proto3,enum=google.ads.googleads.v1.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat" json:"page_format,omitempty"`
34	// The site tag that adds visitors to your basic remarketing lists and sets
35	// new cookies on your domain.
36	GlobalSiteTag *wrappers.StringValue `protobuf:"bytes,3,opt,name=global_site_tag,json=globalSiteTag,proto3" json:"global_site_tag,omitempty"`
37	// The event snippet that works with the site tag to track actions that
38	// should be counted as conversions.
39	EventSnippet         *wrappers.StringValue `protobuf:"bytes,4,opt,name=event_snippet,json=eventSnippet,proto3" json:"event_snippet,omitempty"`
40	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
41	XXX_unrecognized     []byte                `json:"-"`
42	XXX_sizecache        int32                 `json:"-"`
43}
44
45func (m *TagSnippet) Reset()         { *m = TagSnippet{} }
46func (m *TagSnippet) String() string { return proto.CompactTextString(m) }
47func (*TagSnippet) ProtoMessage()    {}
48func (*TagSnippet) Descriptor() ([]byte, []int) {
49	return fileDescriptor_24cd5966e9dfdab2, []int{0}
50}
51
52func (m *TagSnippet) XXX_Unmarshal(b []byte) error {
53	return xxx_messageInfo_TagSnippet.Unmarshal(m, b)
54}
55func (m *TagSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
56	return xxx_messageInfo_TagSnippet.Marshal(b, m, deterministic)
57}
58func (m *TagSnippet) XXX_Merge(src proto.Message) {
59	xxx_messageInfo_TagSnippet.Merge(m, src)
60}
61func (m *TagSnippet) XXX_Size() int {
62	return xxx_messageInfo_TagSnippet.Size(m)
63}
64func (m *TagSnippet) XXX_DiscardUnknown() {
65	xxx_messageInfo_TagSnippet.DiscardUnknown(m)
66}
67
68var xxx_messageInfo_TagSnippet proto.InternalMessageInfo
69
70func (m *TagSnippet) GetType() enums.TrackingCodeTypeEnum_TrackingCodeType {
71	if m != nil {
72		return m.Type
73	}
74	return enums.TrackingCodeTypeEnum_UNSPECIFIED
75}
76
77func (m *TagSnippet) GetPageFormat() enums.TrackingCodePageFormatEnum_TrackingCodePageFormat {
78	if m != nil {
79		return m.PageFormat
80	}
81	return enums.TrackingCodePageFormatEnum_UNSPECIFIED
82}
83
84func (m *TagSnippet) GetGlobalSiteTag() *wrappers.StringValue {
85	if m != nil {
86		return m.GlobalSiteTag
87	}
88	return nil
89}
90
91func (m *TagSnippet) GetEventSnippet() *wrappers.StringValue {
92	if m != nil {
93		return m.EventSnippet
94	}
95	return nil
96}
97
98func init() {
99	proto.RegisterType((*TagSnippet)(nil), "google.ads.googleads.v1.common.TagSnippet")
100}
101
102func init() {
103	proto.RegisterFile("google/ads/googleads/v1/common/tag_snippet.proto", fileDescriptor_24cd5966e9dfdab2)
104}
105
106var fileDescriptor_24cd5966e9dfdab2 = []byte{
107	// 421 bytes of a gzipped FileDescriptorProto
108	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x6b, 0xdb, 0x30,
109	0x14, 0xc7, 0x6e, 0xd9, 0x41, 0x5d, 0x57, 0xf0, 0x29, 0x94, 0x52, 0x4a, 0x4e, 0x3d, 0x49, 0x73,
110	0x07, 0x3b, 0x68, 0xec, 0xe0, 0x36, 0x5b, 0xaf, 0x21, 0x09, 0x61, 0x8c, 0x80, 0x79, 0x89, 0x5f,
111	0x85, 0x98, 0x2d, 0x69, 0x96, 0x92, 0xd1, 0xaf, 0xb3, 0xe3, 0x3e, 0xca, 0x3e, 0xc6, 0x8e, 0xfd,
112	0x14, 0xc3, 0x92, 0xec, 0x0e, 0x4a, 0x46, 0x7b, 0xf2, 0xcf, 0x7a, 0xbf, 0x3f, 0xef, 0x49, 0x8f,
113	0xbc, 0x15, 0x5a, 0x8b, 0x1a, 0x19, 0x54, 0x96, 0x05, 0xd8, 0xa1, 0x5d, 0xce, 0x36, 0xba, 0x69,
114	0xb4, 0x62, 0x0e, 0x44, 0x69, 0x95, 0x34, 0x06, 0x1d, 0x35, 0xad, 0x76, 0x3a, 0x3b, 0x0f, 0x34,
115	0x0a, 0x95, 0xa5, 0x83, 0x82, 0xee, 0x72, 0x1a, 0x14, 0xa7, 0x1f, 0xf7, 0x39, 0xa2, 0xda, 0x36,
116	0x96, 0xb9, 0x16, 0x36, 0xdf, 0xa4, 0x12, 0xe5, 0x46, 0x57, 0x58, 0x1a, 0x10, 0x58, 0xde, 0xe9,
117	0xb6, 0x81, 0x68, 0x7f, 0xfa, 0xfe, 0x25, 0x72, 0x77, 0x6f, 0x30, 0xea, 0xce, 0x7a, 0x9d, 0x91,
118	0x0c, 0x94, 0xd2, 0x0e, 0x9c, 0xd4, 0xca, 0xc6, 0x6a, 0x6c, 0x9a, 0xf9, 0xbf, 0xf5, 0xf6, 0x8e,
119	0xfd, 0x68, 0xc1, 0x18, 0x6c, 0x63, 0x7d, 0xfc, 0x27, 0x25, 0x64, 0x01, 0x62, 0x1e, 0x26, 0xcd,
120	0xbe, 0x90, 0xc3, 0xce, 0x7a, 0x94, 0x5c, 0x24, 0x97, 0x6f, 0xae, 0x26, 0x74, 0xdf, 0xc8, 0xbe,
121	0x27, 0xba, 0x88, 0x3d, 0xdd, 0xe8, 0x0a, 0x17, 0xf7, 0x06, 0x3f, 0xa9, 0x6d, 0xf3, 0xe4, 0x70,
122	0xe6, 0x1d, 0xb3, 0xef, 0xe4, 0xe8, 0x9f, 0x99, 0x47, 0xa9, 0x0f, 0x98, 0xbe, 0x20, 0x60, 0x0a,
123	0x02, 0x3f, 0x7b, 0xf1, 0x93, 0x98, 0xc7, 0xd2, 0x8c, 0x98, 0x01, 0x67, 0x13, 0x72, 0x22, 0x6a,
124	0xbd, 0x86, 0xba, 0xb4, 0xd2, 0x61, 0xe9, 0x40, 0x8c, 0x0e, 0x2e, 0x92, 0xcb, 0xa3, 0xab, 0xb3,
125	0x3e, 0xb6, 0xbf, 0x15, 0x3a, 0x77, 0xad, 0x54, 0x62, 0x09, 0xf5, 0x16, 0x67, 0xc7, 0x41, 0x34,
126	0x97, 0x0e, 0x17, 0x20, 0xb2, 0x82, 0x1c, 0xe3, 0x0e, 0x95, 0xeb, 0xb7, 0x61, 0x74, 0xf8, 0x0c,
127	0x8f, 0xd7, 0x5e, 0x12, 0x6f, 0xf5, 0xfa, 0x21, 0x21, 0xe3, 0x8d, 0x6e, 0xe8, 0xff, 0x17, 0xe8,
128	0xfa, 0xe4, 0xf1, 0x21, 0xa6, 0x9d, 0xe9, 0x34, 0xf9, 0x3a, 0x89, 0x12, 0xa1, 0x6b, 0x50, 0x82,
129	0xea, 0x56, 0x30, 0x81, 0xca, 0x47, 0xf6, 0x4b, 0x62, 0xa4, 0xdd, 0xb7, 0xc4, 0x1f, 0xc2, 0xe7,
130	0x67, 0x7a, 0x70, 0x5b, 0x14, 0xbf, 0xd2, 0xf3, 0xdb, 0x60, 0x56, 0x54, 0x96, 0x06, 0xd8, 0xa1,
131	0x65, 0x4e, 0x6f, 0x3c, 0xed, 0x77, 0x4f, 0x58, 0x15, 0x95, 0x5d, 0x0d, 0x84, 0xd5, 0x32, 0x5f,
132	0x05, 0xc2, 0x43, 0x3a, 0x0e, 0xa7, 0x9c, 0x17, 0x95, 0xe5, 0x7c, 0xa0, 0x70, 0xbe, 0xcc, 0x39,
133	0x0f, 0xa4, 0xf5, 0x2b, 0xdf, 0xdd, 0xbb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x5f, 0xe8,
134	0x51, 0x61, 0x03, 0x00, 0x00,
135}
136