您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

136 行
6.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/campaign_shared_set.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. // CampaignSharedSets are used for managing the shared sets associated with a
  20. // campaign.
  21. type CampaignSharedSet struct {
  22. // The resource name of the campaign shared set.
  23. // Campaign shared set resource names have the form:
  24. //
  25. // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}`
  26. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  27. // The campaign to which the campaign shared set belongs.
  28. Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"`
  29. // The shared set associated with the campaign. This may be a negative keyword
  30. // shared set of another customer. This customer should be a manager of the
  31. // other customer, otherwise the campaign shared set will exist but have no
  32. // serving effect. Only negative keyword shared sets can be associated with
  33. // Shopping campaigns. Only negative placement shared sets can be associated
  34. // with Display mobile app campaigns.
  35. SharedSet *wrappers.StringValue `protobuf:"bytes,4,opt,name=shared_set,json=sharedSet,proto3" json:"shared_set,omitempty"`
  36. // The status of this campaign shared set. Read only.
  37. Status enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus" json:"status,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *CampaignSharedSet) Reset() { *m = CampaignSharedSet{} }
  43. func (m *CampaignSharedSet) String() string { return proto.CompactTextString(m) }
  44. func (*CampaignSharedSet) ProtoMessage() {}
  45. func (*CampaignSharedSet) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_campaign_shared_set_241472d00297112e, []int{0}
  47. }
  48. func (m *CampaignSharedSet) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_CampaignSharedSet.Unmarshal(m, b)
  50. }
  51. func (m *CampaignSharedSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_CampaignSharedSet.Marshal(b, m, deterministic)
  53. }
  54. func (dst *CampaignSharedSet) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_CampaignSharedSet.Merge(dst, src)
  56. }
  57. func (m *CampaignSharedSet) XXX_Size() int {
  58. return xxx_messageInfo_CampaignSharedSet.Size(m)
  59. }
  60. func (m *CampaignSharedSet) XXX_DiscardUnknown() {
  61. xxx_messageInfo_CampaignSharedSet.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_CampaignSharedSet proto.InternalMessageInfo
  64. func (m *CampaignSharedSet) GetResourceName() string {
  65. if m != nil {
  66. return m.ResourceName
  67. }
  68. return ""
  69. }
  70. func (m *CampaignSharedSet) GetCampaign() *wrappers.StringValue {
  71. if m != nil {
  72. return m.Campaign
  73. }
  74. return nil
  75. }
  76. func (m *CampaignSharedSet) GetSharedSet() *wrappers.StringValue {
  77. if m != nil {
  78. return m.SharedSet
  79. }
  80. return nil
  81. }
  82. func (m *CampaignSharedSet) GetStatus() enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus {
  83. if m != nil {
  84. return m.Status
  85. }
  86. return enums.CampaignSharedSetStatusEnum_UNSPECIFIED
  87. }
  88. func init() {
  89. proto.RegisterType((*CampaignSharedSet)(nil), "google.ads.googleads.v1.resources.CampaignSharedSet")
  90. }
  91. func init() {
  92. proto.RegisterFile("google/ads/googleads/v1/resources/campaign_shared_set.proto", fileDescriptor_campaign_shared_set_241472d00297112e)
  93. }
  94. var fileDescriptor_campaign_shared_set_241472d00297112e = []byte{
  95. // 386 bytes of a gzipped FileDescriptorProto
  96. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0x6a, 0xe3, 0x30,
  97. 0x18, 0xc4, 0xce, 0x12, 0x36, 0xda, 0x1f, 0x58, 0x1f, 0x16, 0x13, 0xc2, 0x92, 0x6c, 0x09, 0xe4,
  98. 0x24, 0xe3, 0xf4, 0x52, 0x14, 0x28, 0x38, 0xa5, 0x04, 0x7a, 0x28, 0xc1, 0x06, 0x1f, 0x8a, 0xc1,
  99. 0x28, 0xb1, 0xaa, 0xba, 0xc4, 0x92, 0x91, 0xe4, 0xf4, 0x01, 0xfa, 0x18, 0xbd, 0xf5, 0xd8, 0x47,
  100. 0xe9, 0xa3, 0xf4, 0x29, 0x4a, 0x6c, 0x4b, 0x3d, 0xa4, 0x69, 0x7b, 0x1b, 0xfb, 0x9b, 0x99, 0x6f,
  101. 0x46, 0x12, 0x98, 0x51, 0xce, 0xe9, 0x86, 0x78, 0x38, 0x93, 0x5e, 0x03, 0x77, 0x68, 0xeb, 0x7b,
  102. 0x82, 0x48, 0x5e, 0x89, 0x35, 0x91, 0xde, 0x1a, 0x17, 0x25, 0xce, 0x29, 0x4b, 0xe5, 0x0d, 0x16,
  103. 0x24, 0x4b, 0x25, 0x51, 0xb0, 0x14, 0x5c, 0x71, 0x67, 0xd4, 0x28, 0x20, 0xce, 0x24, 0x34, 0x62,
  104. 0xb8, 0xf5, 0xa1, 0x11, 0xf7, 0x4f, 0x0f, 0xf9, 0x13, 0x56, 0x15, 0xef, 0x7a, 0xa7, 0x52, 0x61,
  105. 0x55, 0xc9, 0x66, 0x45, 0xff, 0x5f, 0xab, 0xaf, 0xbf, 0x56, 0xd5, 0xb5, 0x77, 0x27, 0x70, 0x59,
  106. 0x12, 0xa1, 0xe7, 0x03, 0xed, 0x5f, 0xe6, 0x1e, 0x66, 0x8c, 0x2b, 0xac, 0x72, 0xce, 0xda, 0xe9,
  107. 0xff, 0x07, 0x1b, 0xfc, 0x39, 0x6b, 0x57, 0x44, 0xf5, 0x86, 0x88, 0x28, 0xe7, 0x08, 0xfc, 0xd2,
  108. 0x01, 0x53, 0x86, 0x0b, 0xe2, 0x5a, 0x43, 0x6b, 0xd2, 0x0b, 0x7f, 0xea, 0x9f, 0x97, 0xb8, 0x20,
  109. 0xce, 0x09, 0xf8, 0xae, 0xc3, 0xb9, 0x9d, 0xa1, 0x35, 0xf9, 0x31, 0x1d, 0xb4, 0x1d, 0xa1, 0xce,
  110. 0x02, 0x23, 0x25, 0x72, 0x46, 0x63, 0xbc, 0xa9, 0x48, 0x68, 0xd8, 0xce, 0x0c, 0x80, 0xb7, 0x36,
  111. 0xee, 0xb7, 0x2f, 0x68, 0x7b, 0xd2, 0x64, 0xbb, 0x05, 0xdd, 0xa6, 0xbf, 0x6b, 0x0f, 0xad, 0xc9,
  112. 0xef, 0x69, 0x08, 0x0f, 0x9d, 0x71, 0x7d, 0x80, 0x70, 0xaf, 0x5d, 0x54, 0xab, 0xcf, 0x59, 0x55,
  113. 0x1c, 0x9a, 0x85, 0xed, 0x86, 0xf9, 0xbd, 0x0d, 0xc6, 0x6b, 0x5e, 0xc0, 0x4f, 0x6f, 0x71, 0xfe,
  114. 0x77, 0xcf, 0x6a, 0xb9, 0xeb, 0xb1, 0xb4, 0xae, 0x2e, 0x5a, 0x31, 0xe5, 0x1b, 0xcc, 0x28, 0xe4,
  115. 0x82, 0x7a, 0x94, 0xb0, 0xba, 0xa5, 0xbe, 0xef, 0x32, 0x97, 0x1f, 0x3c, 0xaf, 0x99, 0x41, 0x8f,
  116. 0x76, 0x67, 0x11, 0x04, 0x4f, 0xf6, 0x68, 0xd1, 0x58, 0x06, 0x99, 0x84, 0x0d, 0xdc, 0xa1, 0xd8,
  117. 0x87, 0xa1, 0x66, 0x3e, 0x6b, 0x4e, 0x12, 0x64, 0x32, 0x31, 0x9c, 0x24, 0xf6, 0x13, 0xc3, 0x79,
  118. 0xb1, 0xc7, 0xcd, 0x00, 0xa1, 0x20, 0x93, 0x08, 0x19, 0x16, 0x42, 0xb1, 0x8f, 0x90, 0xe1, 0xad,
  119. 0xba, 0x75, 0xd8, 0xe3, 0xd7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x31, 0x93, 0x1c, 0xd9, 0x0a, 0x03,
  120. 0x00, 0x00,
  121. }