| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/enums/targeting_dimension.proto |
| |
| package enums |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| math "math" |
| ) |
| |
| // 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 |
| |
| // Enum describing possible targeting dimensions. |
| type TargetingDimensionEnum_TargetingDimension int32 |
| |
| const ( |
| // Not specified. |
| TargetingDimensionEnum_UNSPECIFIED TargetingDimensionEnum_TargetingDimension = 0 |
| // Used for return value only. Represents value unknown in this version. |
| TargetingDimensionEnum_UNKNOWN TargetingDimensionEnum_TargetingDimension = 1 |
| // Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid |
| // dimension. Keywords are always a targeting dimension, so may not be set |
| // as a target "ALL" dimension with TargetRestriction. |
| TargetingDimensionEnum_KEYWORD TargetingDimensionEnum_TargetingDimension = 2 |
| // Audience criteria, which include user list, user interest, custom |
| // affinity, and custom in market. |
| TargetingDimensionEnum_AUDIENCE TargetingDimensionEnum_TargetingDimension = 3 |
| // Topic criteria for targeting categories of content, e.g. |
| // 'category::Animals>Pets' Used for Display and Video targeting. |
| TargetingDimensionEnum_TOPIC TargetingDimensionEnum_TargetingDimension = 4 |
| // Criteria for targeting gender. |
| TargetingDimensionEnum_GENDER TargetingDimensionEnum_TargetingDimension = 5 |
| // Criteria for targeting age ranges. |
| TargetingDimensionEnum_AGE_RANGE TargetingDimensionEnum_TargetingDimension = 6 |
| // Placement criteria, which include websites like 'www.flowers4sale.com', |
| // as well as mobile applications, mobile app categories, YouTube videos, |
| // and YouTube channels. |
| TargetingDimensionEnum_PLACEMENT TargetingDimensionEnum_TargetingDimension = 7 |
| // Criteria for parental status targeting. |
| TargetingDimensionEnum_PARENTAL_STATUS TargetingDimensionEnum_TargetingDimension = 8 |
| // Criteria for income range targeting. |
| TargetingDimensionEnum_INCOME_RANGE TargetingDimensionEnum_TargetingDimension = 9 |
| ) |
| |
| var TargetingDimensionEnum_TargetingDimension_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "KEYWORD", |
| 3: "AUDIENCE", |
| 4: "TOPIC", |
| 5: "GENDER", |
| 6: "AGE_RANGE", |
| 7: "PLACEMENT", |
| 8: "PARENTAL_STATUS", |
| 9: "INCOME_RANGE", |
| } |
| |
| var TargetingDimensionEnum_TargetingDimension_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "KEYWORD": 2, |
| "AUDIENCE": 3, |
| "TOPIC": 4, |
| "GENDER": 5, |
| "AGE_RANGE": 6, |
| "PLACEMENT": 7, |
| "PARENTAL_STATUS": 8, |
| "INCOME_RANGE": 9, |
| } |
| |
| func (x TargetingDimensionEnum_TargetingDimension) String() string { |
| return proto.EnumName(TargetingDimensionEnum_TargetingDimension_name, int32(x)) |
| } |
| |
| func (TargetingDimensionEnum_TargetingDimension) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_022a85399765aea5, []int{0, 0} |
| } |
| |
| // The dimensions that can be targeted. |
| type TargetingDimensionEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TargetingDimensionEnum) Reset() { *m = TargetingDimensionEnum{} } |
| func (m *TargetingDimensionEnum) String() string { return proto.CompactTextString(m) } |
| func (*TargetingDimensionEnum) ProtoMessage() {} |
| func (*TargetingDimensionEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_022a85399765aea5, []int{0} |
| } |
| |
| func (m *TargetingDimensionEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TargetingDimensionEnum.Unmarshal(m, b) |
| } |
| func (m *TargetingDimensionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TargetingDimensionEnum.Marshal(b, m, deterministic) |
| } |
| func (m *TargetingDimensionEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TargetingDimensionEnum.Merge(m, src) |
| } |
| func (m *TargetingDimensionEnum) XXX_Size() int { |
| return xxx_messageInfo_TargetingDimensionEnum.Size(m) |
| } |
| func (m *TargetingDimensionEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_TargetingDimensionEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TargetingDimensionEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v2.enums.TargetingDimensionEnum_TargetingDimension", TargetingDimensionEnum_TargetingDimension_name, TargetingDimensionEnum_TargetingDimension_value) |
| proto.RegisterType((*TargetingDimensionEnum)(nil), "google.ads.googleads.v2.enums.TargetingDimensionEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/enums/targeting_dimension.proto", fileDescriptor_022a85399765aea5) |
| } |
| |
| var fileDescriptor_022a85399765aea5 = []byte{ |
| // 378 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdf, 0xaa, 0xd3, 0x30, |
| 0x1c, 0xb6, 0x3d, 0x9e, 0x9d, 0xb3, 0x6c, 0xb2, 0x10, 0x41, 0x41, 0xdc, 0xc5, 0xf6, 0x00, 0x29, |
| 0xd4, 0x0b, 0x21, 0x5e, 0x65, 0x6d, 0x2c, 0x65, 0x5b, 0x5a, 0xba, 0x76, 0x43, 0x29, 0x8c, 0x6a, |
| 0x4b, 0x28, 0xac, 0xc9, 0x58, 0xba, 0x3d, 0x90, 0x77, 0xfa, 0x1c, 0x5e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