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.
 
 
 

159 lines
7.6 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/campaign_feed.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 common "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
  9. import enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // This is a compile-time assertion to ensure that this generated file
  16. // is compatible with the proto package it is being compiled against.
  17. // A compilation error at this line likely means your copy of the
  18. // proto package needs to be updated.
  19. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  20. // A campaign feed.
  21. type CampaignFeed struct {
  22. // The resource name of the campaign feed.
  23. // Campaign feed resource names have the form:
  24. //
  25. // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}
  26. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  27. // The feed to which the CampaignFeed belongs.
  28. Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"`
  29. // The campaign to which the CampaignFeed belongs.
  30. Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"`
  31. // Indicates which placeholder types the feed may populate under the connected
  32. // campaign. Required.
  33. PlaceholderTypes []enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,4,rep,packed,name=placeholder_types,json=placeholderTypes,proto3,enum=google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_types,omitempty"`
  34. // Matching function associated with the CampaignFeed.
  35. // The matching function is used to filter the set of feed items selected.
  36. // Required.
  37. MatchingFunction *common.MatchingFunction `protobuf:"bytes,5,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"`
  38. // Status of the campaign feed.
  39. // This field is read-only.
  40. Status enums.FeedLinkStatusEnum_FeedLinkStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.FeedLinkStatusEnum_FeedLinkStatus" json:"status,omitempty"`
  41. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  42. XXX_unrecognized []byte `json:"-"`
  43. XXX_sizecache int32 `json:"-"`
  44. }
  45. func (m *CampaignFeed) Reset() { *m = CampaignFeed{} }
  46. func (m *CampaignFeed) String() string { return proto.CompactTextString(m) }
  47. func (*CampaignFeed) ProtoMessage() {}
  48. func (*CampaignFeed) Descriptor() ([]byte, []int) {
  49. return fileDescriptor_campaign_feed_059fb8e27cec7d36, []int{0}
  50. }
  51. func (m *CampaignFeed) XXX_Unmarshal(b []byte) error {
  52. return xxx_messageInfo_CampaignFeed.Unmarshal(m, b)
  53. }
  54. func (m *CampaignFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  55. return xxx_messageInfo_CampaignFeed.Marshal(b, m, deterministic)
  56. }
  57. func (dst *CampaignFeed) XXX_Merge(src proto.Message) {
  58. xxx_messageInfo_CampaignFeed.Merge(dst, src)
  59. }
  60. func (m *CampaignFeed) XXX_Size() int {
  61. return xxx_messageInfo_CampaignFeed.Size(m)
  62. }
  63. func (m *CampaignFeed) XXX_DiscardUnknown() {
  64. xxx_messageInfo_CampaignFeed.DiscardUnknown(m)
  65. }
  66. var xxx_messageInfo_CampaignFeed proto.InternalMessageInfo
  67. func (m *CampaignFeed) GetResourceName() string {
  68. if m != nil {
  69. return m.ResourceName
  70. }
  71. return ""
  72. }
  73. func (m *CampaignFeed) GetFeed() *wrappers.StringValue {
  74. if m != nil {
  75. return m.Feed
  76. }
  77. return nil
  78. }
  79. func (m *CampaignFeed) GetCampaign() *wrappers.StringValue {
  80. if m != nil {
  81. return m.Campaign
  82. }
  83. return nil
  84. }
  85. func (m *CampaignFeed) GetPlaceholderTypes() []enums.PlaceholderTypeEnum_PlaceholderType {
  86. if m != nil {
  87. return m.PlaceholderTypes
  88. }
  89. return nil
  90. }
  91. func (m *CampaignFeed) GetMatchingFunction() *common.MatchingFunction {
  92. if m != nil {
  93. return m.MatchingFunction
  94. }
  95. return nil
  96. }
  97. func (m *CampaignFeed) GetStatus() enums.FeedLinkStatusEnum_FeedLinkStatus {
  98. if m != nil {
  99. return m.Status
  100. }
  101. return enums.FeedLinkStatusEnum_UNSPECIFIED
  102. }
  103. func init() {
  104. proto.RegisterType((*CampaignFeed)(nil), "google.ads.googleads.v1.resources.CampaignFeed")
  105. }
  106. func init() {
  107. proto.RegisterFile("google/ads/googleads/v1/resources/campaign_feed.proto", fileDescriptor_campaign_feed_059fb8e27cec7d36)
  108. }
  109. var fileDescriptor_campaign_feed_059fb8e27cec7d36 = []byte{
  110. // 485 bytes of a gzipped FileDescriptorProto
  111. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40,
  112. 0x14, 0xc7, 0xc9, 0x6e, 0x5d, 0x74, 0xac, 0xa5, 0x9b, 0xab, 0x50, 0x8a, 0x6c, 0x95, 0xc2, 0x5e,
  113. 0xcd, 0x34, 0xeb, 0x07, 0x12, 0x6f, 0xcc, 0x8a, 0x2d, 0x88, 0xca, 0x92, 0xca, 0x22, 0xb2, 0x12,
  114. 0xa6, 0xc9, 0xd9, 0x69, 0x68, 0xe6, 0x83, 0x4c, 0x52, 0xe9, 0xeb, 0x78, 0xe9, 0x9b, 0xe8, 0xa3,
  115. 0xf8, 0x10, 0x22, 0x49, 0x66, 0xa2, 0x5d, 0xd9, 0x76, 0xef, 0xce, 0x9e, 0xf9, 0xff, 0xce, 0x9e,
  116. 0x73, 0xfe, 0x27, 0xe8, 0x19, 0x93, 0x92, 0xe5, 0x40, 0x68, 0xaa, 0x49, 0x1b, 0xd6, 0xd1, 0xa5,
  117. 0x4f, 0x0a, 0xd0, 0xb2, 0x2a, 0x12, 0xd0, 0x24, 0xa1, 0x5c, 0xd1, 0x8c, 0x89, 0x78, 0x09, 0x90,
  118. 0x62, 0x55, 0xc8, 0x52, 0xba, 0x07, 0xad, 0x16, 0xd3, 0x54, 0xe3, 0x0e, 0xc3, 0x97, 0x3e, 0xee,
  119. 0xb0, 0xbd, 0xe7, 0xeb, 0x2a, 0x27, 0x92, 0x73, 0x29, 0x08, 0xa7, 0x65, 0x72, 0x9e, 0x09, 0x16,
  120. 0x2f, 0x2b, 0x91, 0x94, 0x99, 0x14, 0x6d, 0xe9, 0xbd, 0xa7, 0xeb, 0x38, 0x10, 0x15, 0xd7, 0xa4,
  121. 0x6e, 0x22, 0xce, 0x33, 0x71, 0x11, 0xeb, 0x92, 0x96, 0x95, 0xde, 0x8c, 0x52, 0x39, 0x4d, 0xe0,
  122. 0x5c, 0xe6, 0x29, 0x14, 0x71, 0x79, 0xa5, 0xc0, 0x50, 0x0f, 0x0d, 0xd5, 0xfc, 0x3a, 0xab, 0x96,
  123. 0xe4, 0x6b, 0x41, 0x95, 0x82, 0xc2, 0x56, 0xdd, 0xb7, 0x55, 0x55, 0x46, 0xa8, 0x10, 0xb2, 0xa4,
  124. 0x75, 0xa3, 0xe6, 0xf5, 0xd1, 0x8f, 0x3e, 0xda, 0x7e, 0x6d, 0x96, 0x73, 0x0c, 0x90, 0xba, 0x8f,
  125. 0xd1, 0x03, 0x3b, 0x7f, 0x2c, 0x28, 0x07, 0xcf, 0x19, 0x39, 0xe3, 0x7b, 0xd1, 0xb6, 0x4d, 0x7e,
  126. 0xa0, 0x1c, 0xdc, 0x23, 0xb4, 0x55, 0xcf, 0xe0, 0xf5, 0x46, 0xce, 0xf8, 0xfe, 0x64, 0xdf, 0xac,
  127. 0x0f, 0xdb, 0x16, 0xf0, 0x69, 0x59, 0x64, 0x82, 0xcd, 0x69, 0x5e, 0x41, 0xd4, 0x28, 0xdd, 0x17,
  128. 0xe8, 0xae, 0xf5, 0xc0, 0xeb, 0x6f, 0x40, 0x75, 0x6a, 0x57, 0xa2, 0xe1, 0xea, 0xe4, 0xda, 0xdb,
  129. 0x1a, 0xf5, 0xc7, 0x3b, 0x93, 0x29, 0x5e, 0x67, 0x61, 0xb3, 0x31, 0x3c, 0xfb, 0xcb, 0x7d, 0xbc,
  130. 0x52, 0xf0, 0x46, 0x54, 0x7c, 0x35, 0x17, 0xed, 0xaa, 0xeb, 0x09, 0xed, 0x7e, 0x41, 0xc3, 0xff,
  131. 0x7c, 0xf5, 0xee, 0x34, 0x3d, 0x1f, 0xad, 0xfd, 0xc3, 0xf6, 0x20, 0xf0, 0x7b, 0x03, 0x1e, 0x1b,
  132. 0x2e, 0xda, 0xe5, 0x2b, 0x19, 0xf7, 0x13, 0x1a, 0xb4, 0xae, 0x7b, 0x83, 0x91, 0x33, 0xde, 0x99,
  133. 0xbc, 0xba, 0x65, 0x88, 0xda, 0x95, 0x77, 0x99, 0xb8, 0x38, 0x6d, 0xa0, 0x66, 0x86, 0xeb, 0xa9,
  134. 0xc8, 0xd4, 0x9b, 0xfe, 0x76, 0xd0, 0x61, 0x22, 0x39, 0xbe, 0xf5, 0xae, 0xa7, 0xc3, 0x7f, 0x2d,
  135. 0x9f, 0xd5, 0xfb, 0x9f, 0x39, 0x9f, 0xdf, 0x1a, 0x8e, 0xc9, 0x9c, 0x0a, 0x86, 0x65, 0xc1, 0x08,
  136. 0x03, 0xd1, 0xb8, 0x63, 0xcf, 0x51, 0x65, 0xfa, 0x86, 0xaf, 0xec, 0x65, 0x17, 0x7d, 0xeb, 0xf5,
  137. 0x4f, 0xc2, 0xf0, 0x7b, 0xef, 0xe0, 0xa4, 0x2d, 0x19, 0xa6, 0x1a, 0xb7, 0x61, 0x1d, 0xcd, 0x7d,
  138. 0x1c, 0x59, 0xe5, 0x4f, 0xab, 0x59, 0x84, 0xa9, 0x5e, 0x74, 0x9a, 0xc5, 0xdc, 0x5f, 0x74, 0x9a,
  139. 0x5f, 0xbd, 0xc3, 0xf6, 0x21, 0x08, 0xc2, 0x54, 0x07, 0x41, 0xa7, 0x0a, 0x82, 0xb9, 0x1f, 0x04,
  140. 0x9d, 0xee, 0x6c, 0xd0, 0x34, 0xfb, 0xe4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xf6, 0xe4,
  141. 0x5c, 0x11, 0x04, 0x00, 0x00,
  142. }