You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

223 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/custom_interest.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // A custom interest. This is a list of users by interest.
  20. type CustomInterest struct {
  21. // The resource name of the custom interest.
  22. // Custom interest resource names have the form:
  23. //
  24. // `customers/{customer_id}/customInterests/{custom_interest_id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // Id of the custom interest.
  27. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  28. // Status of this custom interest. Indicates whether the custom interest is
  29. // enabled or removed.
  30. Status enums.CustomInterestStatusEnum_CustomInterestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CustomInterestStatusEnum_CustomInterestStatus" json:"status,omitempty"`
  31. // Name of the custom interest. It should be unique across the same custom
  32. // affinity audience.
  33. // This field is required for create operations.
  34. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  35. // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT.
  36. // By default the type is set to CUSTOM_AFFINITY.
  37. Type enums.CustomInterestTypeEnum_CustomInterestType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.CustomInterestTypeEnum_CustomInterestType" json:"type,omitempty"`
  38. // Description of this custom interest audience.
  39. Description *wrappers.StringValue `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
  40. // List of custom interest members that this custom interest is composed of.
  41. // Members can be added during CustomInterest creation. If members are
  42. // presented in UPDATE operation, existing members will be overridden.
  43. Members []*CustomInterestMember `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"`
  44. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  45. XXX_unrecognized []byte `json:"-"`
  46. XXX_sizecache int32 `json:"-"`
  47. }
  48. func (m *CustomInterest) Reset() { *m = CustomInterest{} }
  49. func (m *CustomInterest) String() string { return proto.CompactTextString(m) }
  50. func (*CustomInterest) ProtoMessage() {}
  51. func (*CustomInterest) Descriptor() ([]byte, []int) {
  52. return fileDescriptor_custom_interest_6ad6f34cbe12a64b, []int{0}
  53. }
  54. func (m *CustomInterest) XXX_Unmarshal(b []byte) error {
  55. return xxx_messageInfo_CustomInterest.Unmarshal(m, b)
  56. }
  57. func (m *CustomInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  58. return xxx_messageInfo_CustomInterest.Marshal(b, m, deterministic)
  59. }
  60. func (dst *CustomInterest) XXX_Merge(src proto.Message) {
  61. xxx_messageInfo_CustomInterest.Merge(dst, src)
  62. }
  63. func (m *CustomInterest) XXX_Size() int {
  64. return xxx_messageInfo_CustomInterest.Size(m)
  65. }
  66. func (m *CustomInterest) XXX_DiscardUnknown() {
  67. xxx_messageInfo_CustomInterest.DiscardUnknown(m)
  68. }
  69. var xxx_messageInfo_CustomInterest proto.InternalMessageInfo
  70. func (m *CustomInterest) GetResourceName() string {
  71. if m != nil {
  72. return m.ResourceName
  73. }
  74. return ""
  75. }
  76. func (m *CustomInterest) GetId() *wrappers.Int64Value {
  77. if m != nil {
  78. return m.Id
  79. }
  80. return nil
  81. }
  82. func (m *CustomInterest) GetStatus() enums.CustomInterestStatusEnum_CustomInterestStatus {
  83. if m != nil {
  84. return m.Status
  85. }
  86. return enums.CustomInterestStatusEnum_UNSPECIFIED
  87. }
  88. func (m *CustomInterest) GetName() *wrappers.StringValue {
  89. if m != nil {
  90. return m.Name
  91. }
  92. return nil
  93. }
  94. func (m *CustomInterest) GetType() enums.CustomInterestTypeEnum_CustomInterestType {
  95. if m != nil {
  96. return m.Type
  97. }
  98. return enums.CustomInterestTypeEnum_UNSPECIFIED
  99. }
  100. func (m *CustomInterest) GetDescription() *wrappers.StringValue {
  101. if m != nil {
  102. return m.Description
  103. }
  104. return nil
  105. }
  106. func (m *CustomInterest) GetMembers() []*CustomInterestMember {
  107. if m != nil {
  108. return m.Members
  109. }
  110. return nil
  111. }
  112. // A member of custom interest audience. A member can be a keyword or url.
  113. // It is immutable, that is, it can only be created or removed but not changed.
  114. type CustomInterestMember struct {
  115. // The type of custom interest member, KEYWORD or URL.
  116. MemberType enums.CustomInterestMemberTypeEnum_CustomInterestMemberType `protobuf:"varint,1,opt,name=member_type,json=memberType,proto3,enum=google.ads.googleads.v1.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType" json:"member_type,omitempty"`
  117. // Keyword text when member_type is KEYWORD or URL string when
  118. // member_type is URL.
  119. Parameter *wrappers.StringValue `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
  120. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  121. XXX_unrecognized []byte `json:"-"`
  122. XXX_sizecache int32 `json:"-"`
  123. }
  124. func (m *CustomInterestMember) Reset() { *m = CustomInterestMember{} }
  125. func (m *CustomInterestMember) String() string { return proto.CompactTextString(m) }
  126. func (*CustomInterestMember) ProtoMessage() {}
  127. func (*CustomInterestMember) Descriptor() ([]byte, []int) {
  128. return fileDescriptor_custom_interest_6ad6f34cbe12a64b, []int{1}
  129. }
  130. func (m *CustomInterestMember) XXX_Unmarshal(b []byte) error {
  131. return xxx_messageInfo_CustomInterestMember.Unmarshal(m, b)
  132. }
  133. func (m *CustomInterestMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  134. return xxx_messageInfo_CustomInterestMember.Marshal(b, m, deterministic)
  135. }
  136. func (dst *CustomInterestMember) XXX_Merge(src proto.Message) {
  137. xxx_messageInfo_CustomInterestMember.Merge(dst, src)
  138. }
  139. func (m *CustomInterestMember) XXX_Size() int {
  140. return xxx_messageInfo_CustomInterestMember.Size(m)
  141. }
  142. func (m *CustomInterestMember) XXX_DiscardUnknown() {
  143. xxx_messageInfo_CustomInterestMember.DiscardUnknown(m)
  144. }
  145. var xxx_messageInfo_CustomInterestMember proto.InternalMessageInfo
  146. func (m *CustomInterestMember) GetMemberType() enums.CustomInterestMemberTypeEnum_CustomInterestMemberType {
  147. if m != nil {
  148. return m.MemberType
  149. }
  150. return enums.CustomInterestMemberTypeEnum_UNSPECIFIED
  151. }
  152. func (m *CustomInterestMember) GetParameter() *wrappers.StringValue {
  153. if m != nil {
  154. return m.Parameter
  155. }
  156. return nil
  157. }
  158. func init() {
  159. proto.RegisterType((*CustomInterest)(nil), "google.ads.googleads.v1.resources.CustomInterest")
  160. proto.RegisterType((*CustomInterestMember)(nil), "google.ads.googleads.v1.resources.CustomInterestMember")
  161. }
  162. func init() {
  163. proto.RegisterFile("google/ads/googleads/v1/resources/custom_interest.proto", fileDescriptor_custom_interest_6ad6f34cbe12a64b)
  164. }
  165. var fileDescriptor_custom_interest_6ad6f34cbe12a64b = []byte{
  166. // 520 bytes of a gzipped FileDescriptorProto
  167. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xd1, 0x6e, 0xd3, 0x30,
  168. 0x14, 0x55, 0xd2, 0xd2, 0x69, 0x2e, 0xf4, 0xc1, 0xf0, 0x10, 0x8d, 0x09, 0x75, 0x43, 0x93, 0x2a,
  169. 0x21, 0x39, 0xb4, 0x20, 0x86, 0x8c, 0x04, 0xca, 0x10, 0x1a, 0x43, 0x80, 0x46, 0x36, 0xf5, 0x01,
  170. 0x45, 0xaa, 0xdc, 0xc6, 0x44, 0x91, 0x6a, 0x3b, 0xb2, 0x9d, 0xa1, 0xbd, 0xf1, 0x2d, 0x3c, 0xf2,
  171. 0x27, 0xf0, 0x29, 0xf0, 0x13, 0x28, 0x76, 0x9c, 0x75, 0xac, 0xdd, 0xe8, 0xdb, 0xad, 0xef, 0x39,
  172. 0xe7, 0x1e, 0x1f, 0xdf, 0x06, 0xec, 0x67, 0x42, 0x64, 0x73, 0x1a, 0x92, 0x54, 0x85, 0xb6, 0xac,
  173. 0xaa, 0xb3, 0x61, 0x28, 0xa9, 0x12, 0xa5, 0x9c, 0x51, 0x15, 0xce, 0x4a, 0xa5, 0x05, 0x9b, 0xe4,
  174. 0x5c, 0x53, 0x49, 0x95, 0x46, 0x85, 0x14, 0x5a, 0xc0, 0x1d, 0x8b, 0x46, 0x24, 0x55, 0xa8, 0x21,
  175. 0xa2, 0xb3, 0x21, 0x6a, 0x88, 0x5b, 0xaf, 0x56, 0x69, 0x53, 0x5e, 0xb2, 0x2b, 0xba, 0x13, 0x46,
  176. 0xd9, 0x94, 0xca, 0x89, 0x3e, 0x2f, 0xa8, 0x9d, 0xb1, 0x85, 0xd7, 0x13, 0x50, 0x9a, 0xe8, 0x52,
  177. 0xd5, 0xdc, 0xe7, 0xeb, 0x71, 0x17, 0xa6, 0x3e, 0xa8, 0x99, 0xe6, 0xd7, 0xb4, 0xfc, 0x12, 0x7e,
  178. 0x95, 0xa4, 0x28, 0xa8, 0x74, 0xca, 0xdb, 0x4e, 0xb9, 0xc8, 0x43, 0xc2, 0xb9, 0xd0, 0x44, 0xe7,
  179. 0x82, 0xd7, 0xdd, 0xdd, 0x3f, 0x2d, 0xd0, 0x7b, 0x6d, 0xc4, 0x8f, 0x6a, 0x6d, 0xf8, 0x10, 0xdc,
  180. 0x71, 0xa1, 0x4c, 0x38, 0x61, 0x34, 0xf0, 0xfa, 0xde, 0x60, 0x33, 0xbe, 0xed, 0x0e, 0x3f, 0x12,
  181. 0x46, 0xe1, 0x23, 0xe0, 0xe7, 0x69, 0xe0, 0xf7, 0xbd, 0x41, 0x77, 0x74, 0xbf, 0x4e, 0x14, 0x39,
  182. 0x0b, 0xe8, 0x88, 0xeb, 0x67, 0x4f, 0xc7, 0x64, 0x5e, 0xd2, 0xd8, 0xcf, 0x53, 0x98, 0x82, 0x8e,
  183. 0xbd, 0x6c, 0xd0, 0xea, 0x7b, 0x83, 0xde, 0xe8, 0x3d, 0x5a, 0xf5, 0x1a, 0xe6, 0xb6, 0xe8, 0xb2,
  184. 0xa1, 0x13, 0x43, 0x7d, 0xc3, 0x4b, 0xb6, 0xb4, 0x11, 0xd7, 0xda, 0xf0, 0x31, 0x68, 0x1b, 0xbb,
  185. 0x6d, 0x63, 0x6a, 0xfb, 0x8a, 0xa9, 0x13, 0x2d, 0x73, 0x9e, 0x59, 0x57, 0x06, 0x09, 0x13, 0xd0,
  186. 0xae, 0x82, 0x0c, 0x6e, 0x19, 0x57, 0x6f, 0xd7, 0x72, 0x75, 0x7a, 0x5e, 0xd0, 0x25, 0x9e, 0xaa,
  187. 0xe3, 0xd8, 0xa8, 0xc2, 0x97, 0xa0, 0x9b, 0x52, 0x35, 0x93, 0x79, 0x51, 0x05, 0x1e, 0x74, 0xfe,
  188. 0xc3, 0xd6, 0x22, 0x01, 0x7e, 0x02, 0x1b, 0x76, 0xc7, 0x54, 0xb0, 0xd1, 0x6f, 0x0d, 0xba, 0xa3,
  189. 0x7d, 0x74, 0xe3, 0x12, 0xff, 0xe3, 0xe6, 0x83, 0xe1, 0xc7, 0x4e, 0x67, 0xf7, 0xa7, 0x07, 0xee,
  190. 0x2d, 0x43, 0xc0, 0x12, 0x74, 0x17, 0xf6, 0xd9, 0xbc, 0x78, 0x6f, 0x74, 0xba, 0x56, 0x20, 0x56,
  191. 0x69, 0x45, 0x2c, 0x17, 0xcd, 0x18, 0xb0, 0xa6, 0x86, 0x18, 0x6c, 0x16, 0x44, 0x12, 0x46, 0x35,
  192. 0x95, 0xf5, 0x32, 0x5d, 0x1f, 0xd0, 0x05, 0xfc, 0xe0, 0x9b, 0x0f, 0xf6, 0x66, 0x82, 0xdd, 0x9c,
  193. 0xc9, 0xc1, 0xdd, 0xcb, 0x5e, 0x8e, 0x2b, 0xe1, 0x63, 0xef, 0xf3, 0xbb, 0x9a, 0x99, 0x89, 0x39,
  194. 0xe1, 0x19, 0x12, 0x32, 0x0b, 0x33, 0xca, 0xcd, 0x58, 0xf7, 0x17, 0x2c, 0x72, 0x75, 0xcd, 0xa7,
  195. 0xe6, 0x45, 0x53, 0x7d, 0xf7, 0x5b, 0x87, 0x51, 0xf4, 0xc3, 0xdf, 0x39, 0xb4, 0x92, 0x51, 0xaa,
  196. 0x90, 0x2d, 0xab, 0x6a, 0x3c, 0x44, 0xb1, 0x43, 0xfe, 0x72, 0x98, 0x24, 0x4a, 0x55, 0xd2, 0x60,
  197. 0x92, 0xf1, 0x30, 0x69, 0x30, 0xbf, 0xfd, 0x3d, 0xdb, 0xc0, 0x38, 0x4a, 0x15, 0xc6, 0x0d, 0x0a,
  198. 0xe3, 0xf1, 0x10, 0xe3, 0x06, 0x37, 0xed, 0x18, 0xb3, 0x4f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff,
  199. 0xf9, 0xb0, 0xf7, 0x99, 0x16, 0x05, 0x00, 0x00,
  200. }