| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/resources/geographic_view.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v2/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 geographic view. |
| // |
| // Geographic View includes all metrics aggregated at the country level, |
| // one row per country. It reports metrics at either actual physical location of |
| // the user or an area of interest. If other segment fields are used, you may |
| // get more than one row per country. |
| type GeographicView struct { |
| // Output only. The resource name of the geographic view. |
| // Geographic view resource names have the form: |
| // |
| // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. Type of the geo targeting of the campaign. |
| LocationType enums.GeoTargetingTypeEnum_GeoTargetingType `protobuf:"varint,3,opt,name=location_type,json=locationType,proto3,enum=google.ads.googleads.v2.enums.GeoTargetingTypeEnum_GeoTargetingType" json:"location_type,omitempty"` |
| // Output only. Criterion Id for the country. |
| CountryCriterionId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=country_criterion_id,json=countryCriterionId,proto3" json:"country_criterion_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GeographicView) Reset() { *m = GeographicView{} } |
| func (m *GeographicView) String() string { return proto.CompactTextString(m) } |
| func (*GeographicView) ProtoMessage() {} |
| func (*GeographicView) Descriptor() ([]byte, []int) { |
| return fileDescriptor_5ad4b40c93cab90e, []int{0} |
| } |
| |
| func (m *GeographicView) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GeographicView.Unmarshal(m, b) |
| } |
| func (m *GeographicView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GeographicView.Marshal(b, m, deterministic) |
| } |
| func (m *GeographicView) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GeographicView.Merge(m, src) |
| } |
| func (m *GeographicView) XXX_Size() int { |
| return xxx_messageInfo_GeographicView.Size(m) |
| } |
| func (m *GeographicView) XXX_DiscardUnknown() { |
| xxx_messageInfo_GeographicView.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GeographicView proto.InternalMessageInfo |
| |
| func (m *GeographicView) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *GeographicView) GetLocationType() enums.GeoTargetingTypeEnum_GeoTargetingType { |
| if m != nil { |
| return m.LocationType |
| } |
| return enums.GeoTargetingTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *GeographicView) GetCountryCriterionId() *wrappers.Int64Value { |
| if m != nil { |
| return m.CountryCriterionId |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*GeographicView)(nil), "google.ads.googleads.v2.resources.GeographicView") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/resources/geographic_view.proto", fileDescriptor_5ad4b40c93cab90e) |
| } |
| |
| var fileDescriptor_5ad4b40c93cab90e = []byte{ |
| // 480 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcf, 0x6a, 0xd4, 0x40, |
| 0x18, 0x27, 0x1b, 0x11, 0x8c, 0x6d, 0x0f, 0xd1, 0x43, 0xad, 0xa2, 0x5b, 0xa1, 0xb8, 0x5e, 0x66, |
| 0x20, 0xca, 0x0a, 0xf1, 0x94, 0x55, 0x59, 0xea, 0x41, 0xca, 0xb2, 0xe4, 0x20, 0x0b, 0x61, 0x36, |
| 0xf3, 0x75, 0x3a, 0x90, 0xcc, 0x84, 0x99, 0xc9, 0x2e, 0x4b, 0x29, 0xf8, 0x08, 0x3e, 0x83, 0x47, |
| 0x1f, 0xc5, 0xa7, 0xe8, 0xb9, 0x8f, 0xe0, 0x49, 0x92, 0xcc, 0xa4, 0x5b, 0xa5, 0xea, 0xed, 0x97, |
| 0xf9, 0x7e, 0x7f, 0xe6, 0xf7, 0x31, 0x09, 0xde, 0x30, 0x29, 0x59, 0x01, 0x98, 0x50, 0x8d, 0x3b, |
| 0xd8, 0xa0, 0x55, 0x84, 0x15, 0x68, 0x59, 0xab, 0x1c, 0x34, 0x66, 0x20, 0x99, 0x22, 0xd5, 0x19, |
| 0xcf, 0xb3, 0x15, 0x87, 0x35, 0xaa, 0x94, 0x34, 0x32, 0x3c, 0xec, 0xd8, 0x88, 0x50, 0x8d, 0x7a, |
| 0x21, 0x5a, 0x45, 0xa8, 0x17, 0x1e, 0x8c, 0x6f, 0xf3, 0x06, 0x51, 0x97, 0xad, 0x6f, 0x66, 0x88, |
| 0x62, 0x60, 0xb8, 0x60, 0x99, 0xd9, 0x54, 0xd0, 0x59, 0x1f, 0x3c, 0x73, 0xba, 0x8a, 0xe3, 0x53, |
| 0x0e, 0x05, 0xcd, 0x96, 0x70, 0x46, 0x56, 0x5c, 0x2a, 0x4b, 0x78, 0xb4, 0x45, 0x70, 0x71, 0x76, |
| 0xf4, 0xd4, 0x8e, 0xda, 0xaf, 0x65, 0x7d, 0x8a, 0xd7, 0x8a, 0x54, 0x15, 0x28, 0x6d, 0xe7, 0x4f, |
| 0xb6, 0xa4, 0x44, 0x08, 0x69, 0x88, 0xe1, 0x52, 0xd8, 0xe9, 0xf3, 0xaf, 0x7e, 0xb0, 0x37, 0xed, |
| 0x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