|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v0/resources/customer.proto
-
- package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import wrappers "github.com/golang/protobuf/ptypes/wrappers"
-
- // 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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // A customer.
- type Customer struct {
- // The resource name of the customer.
- // Customer resource names have the form:
- //
- // `customers/{customer_id}`
- ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
- // The ID of the customer.
- Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
- // Optional, non-unique descriptive name of the customer.
- DescriptiveName *wrappers.StringValue `protobuf:"bytes,4,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"`
- // The currency in which the account operates.
- // A subset of the currency codes from the ISO 4217 standard is
- // supported.
- CurrencyCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
- // The local timezone ID of the customer.
- TimeZone *wrappers.StringValue `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
- // The URL template for constructing a tracking URL out of parameters.
- TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,7,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"`
- // The URL template for appending params to the final URL
- FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,11,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"`
- // Whether auto-tagging is enabled for the customer.
- AutoTaggingEnabled *wrappers.BoolValue `protobuf:"bytes,8,opt,name=auto_tagging_enabled,json=autoTaggingEnabled,proto3" json:"auto_tagging_enabled,omitempty"`
- // Whether the Customer has a Partners program badge. If the Customer is not
- // associated with the Partners program, this will be false. For more
- // information, see https://support.google.com/partners/answer/3125774.
- HasPartnersBadge *wrappers.BoolValue `protobuf:"bytes,9,opt,name=has_partners_badge,json=hasPartnersBadge,proto3" json:"has_partners_badge,omitempty"`
- // Whether the customer is a manager.
- Manager *wrappers.BoolValue `protobuf:"bytes,12,opt,name=manager,proto3" json:"manager,omitempty"`
- // Whether the customer is a test account.
- TestAccount *wrappers.BoolValue `protobuf:"bytes,13,opt,name=test_account,json=testAccount,proto3" json:"test_account,omitempty"`
- // Call reporting setting for a customer.
- CallReportingSetting *CallReportingSetting `protobuf:"bytes,10,opt,name=call_reporting_setting,json=callReportingSetting,proto3" json:"call_reporting_setting,omitempty"`
- // Conversion tracking setting for a customer.
- ConversionTrackingSetting *ConversionTrackingSetting `protobuf:"bytes,14,opt,name=conversion_tracking_setting,json=conversionTrackingSetting,proto3" json:"conversion_tracking_setting,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *Customer) Reset() { *m = Customer{} }
- func (m *Customer) String() string { return proto.CompactTextString(m) }
- func (*Customer) ProtoMessage() {}
- func (*Customer) Descriptor() ([]byte, []int) {
- return fileDescriptor_customer_0ab473c999471a98, []int{0}
- }
- func (m *Customer) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Customer.Unmarshal(m, b)
- }
- func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Customer.Marshal(b, m, deterministic)
- }
- func (dst *Customer) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Customer.Merge(dst, src)
- }
- func (m *Customer) XXX_Size() int {
- return xxx_messageInfo_Customer.Size(m)
- }
- func (m *Customer) XXX_DiscardUnknown() {
- xxx_messageInfo_Customer.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_Customer proto.InternalMessageInfo
-
- func (m *Customer) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- func (m *Customer) GetId() *wrappers.Int64Value {
- if m != nil {
- return m.Id
- }
- return nil
- }
-
- func (m *Customer) GetDescriptiveName() *wrappers.StringValue {
- if m != nil {
- return m.DescriptiveName
- }
- return nil
- }
-
- func (m *Customer) GetCurrencyCode() *wrappers.StringValue {
- if m != nil {
- return m.CurrencyCode
- }
- return nil
- }
-
- func (m *Customer) GetTimeZone() *wrappers.StringValue {
- if m != nil {
- return m.TimeZone
- }
- return nil
- }
-
- func (m *Customer) GetTrackingUrlTemplate() *wrappers.StringValue {
- if m != nil {
- return m.TrackingUrlTemplate
- }
- return nil
- }
-
- func (m *Customer) GetFinalUrlSuffix() *wrappers.StringValue {
- if m != nil {
- return m.FinalUrlSuffix
- }
- return nil
- }
-
- func (m *Customer) GetAutoTaggingEnabled() *wrappers.BoolValue {
- if m != nil {
- return m.AutoTaggingEnabled
- }
- return nil
- }
-
- func (m *Customer) GetHasPartnersBadge() *wrappers.BoolValue {
- if m != nil {
- return m.HasPartnersBadge
- }
- return nil
- }
-
- func (m *Customer) GetManager() *wrappers.BoolValue {
- if m != nil {
- return m.Manager
- }
- return nil
- }
-
- func (m *Customer) GetTestAccount() *wrappers.BoolValue {
- if m != nil {
- return m.TestAccount
- }
- return nil
- }
-
- func (m *Customer) GetCallReportingSetting() *CallReportingSetting {
- if m != nil {
- return m.CallReportingSetting
- }
- return nil
- }
-
- func (m *Customer) GetConversionTrackingSetting() *ConversionTrackingSetting {
- if m != nil {
- return m.ConversionTrackingSetting
- }
- return nil
- }
-
- // Call reporting setting for a customer.
- type CallReportingSetting struct {
- // Enable reporting of phone call events by redirecting them via Google
- // System.
- CallReportingEnabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=call_reporting_enabled,json=callReportingEnabled,proto3" json:"call_reporting_enabled,omitempty"`
- // Whether to enable call conversion reporting.
- CallConversionReportingEnabled *wrappers.BoolValue `protobuf:"bytes,2,opt,name=call_conversion_reporting_enabled,json=callConversionReportingEnabled,proto3" json:"call_conversion_reporting_enabled,omitempty"`
- // Customer-level call conversion action to attribute a call conversion to.
- // If not set a default conversion action is used. Only in effect when
- // call_conversion_reporting_enabled is set to true.
- CallConversionAction *wrappers.StringValue `protobuf:"bytes,9,opt,name=call_conversion_action,json=callConversionAction,proto3" json:"call_conversion_action,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *CallReportingSetting) Reset() { *m = CallReportingSetting{} }
- func (m *CallReportingSetting) String() string { return proto.CompactTextString(m) }
- func (*CallReportingSetting) ProtoMessage() {}
- func (*CallReportingSetting) Descriptor() ([]byte, []int) {
- return fileDescriptor_customer_0ab473c999471a98, []int{1}
- }
- func (m *CallReportingSetting) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CallReportingSetting.Unmarshal(m, b)
- }
- func (m *CallReportingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CallReportingSetting.Marshal(b, m, deterministic)
- }
- func (dst *CallReportingSetting) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CallReportingSetting.Merge(dst, src)
- }
- func (m *CallReportingSetting) XXX_Size() int {
- return xxx_messageInfo_CallReportingSetting.Size(m)
- }
- func (m *CallReportingSetting) XXX_DiscardUnknown() {
- xxx_messageInfo_CallReportingSetting.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_CallReportingSetting proto.InternalMessageInfo
-
- func (m *CallReportingSetting) GetCallReportingEnabled() *wrappers.BoolValue {
- if m != nil {
- return m.CallReportingEnabled
- }
- return nil
- }
-
- func (m *CallReportingSetting) GetCallConversionReportingEnabled() *wrappers.BoolValue {
- if m != nil {
- return m.CallConversionReportingEnabled
- }
- return nil
- }
-
- func (m *CallReportingSetting) GetCallConversionAction() *wrappers.StringValue {
- if m != nil {
- return m.CallConversionAction
- }
- return nil
- }
-
- // A collection of customer-wide settings related to Google Ads Conversion
- // Tracking.
- type ConversionTrackingSetting struct {
- // The conversion tracking id used for this account. This id is automatically
- // assigned after any conversion tracking feature is used. If the customer
- // doesn't use conversion tracking, this is 0. This field is read-only.
- ConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=conversion_tracking_id,json=conversionTrackingId,proto3" json:"conversion_tracking_id,omitempty"`
- // The conversion tracking id of the customer's manager. This is set when the
- // customer is opted into cross account conversion tracking, and it overrides
- // conversion_tracking_id. This field can only be managed through the Google
- // Ads UI. This field is read-only.
- CrossAccountConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cross_account_conversion_tracking_id,json=crossAccountConversionTrackingId,proto3" json:"cross_account_conversion_tracking_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ConversionTrackingSetting) Reset() { *m = ConversionTrackingSetting{} }
- func (m *ConversionTrackingSetting) String() string { return proto.CompactTextString(m) }
- func (*ConversionTrackingSetting) ProtoMessage() {}
- func (*ConversionTrackingSetting) Descriptor() ([]byte, []int) {
- return fileDescriptor_customer_0ab473c999471a98, []int{2}
- }
- func (m *ConversionTrackingSetting) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConversionTrackingSetting.Unmarshal(m, b)
- }
- func (m *ConversionTrackingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConversionTrackingSetting.Marshal(b, m, deterministic)
- }
- func (dst *ConversionTrackingSetting) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConversionTrackingSetting.Merge(dst, src)
- }
- func (m *ConversionTrackingSetting) XXX_Size() int {
- return xxx_messageInfo_ConversionTrackingSetting.Size(m)
- }
- func (m *ConversionTrackingSetting) XXX_DiscardUnknown() {
- xxx_messageInfo_ConversionTrackingSetting.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ConversionTrackingSetting proto.InternalMessageInfo
-
- func (m *ConversionTrackingSetting) GetConversionTrackingId() *wrappers.Int64Value {
- if m != nil {
- return m.ConversionTrackingId
- }
- return nil
- }
-
- func (m *ConversionTrackingSetting) GetCrossAccountConversionTrackingId() *wrappers.Int64Value {
- if m != nil {
- return m.CrossAccountConversionTrackingId
- }
- return nil
- }
-
- func init() {
- proto.RegisterType((*Customer)(nil), "google.ads.googleads.v0.resources.Customer")
- proto.RegisterType((*CallReportingSetting)(nil), "google.ads.googleads.v0.resources.CallReportingSetting")
- proto.RegisterType((*ConversionTrackingSetting)(nil), "google.ads.googleads.v0.resources.ConversionTrackingSetting")
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v0/resources/customer.proto", fileDescriptor_customer_0ab473c999471a98)
- }
-
- var fileDescriptor_customer_0ab473c999471a98 = []byte{
- // 710 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdd, 0x6e, 0xd3, 0x3c,
- 0x18, 0xc7, 0x95, 0xec, 0x7d, 0xf7, 0xe1, 0xb5, 0x63, 0x32, 0x65, 0xca, 0x36,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