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.
 
 
 

235 lines
11 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/change_status.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. // Describes the status of returned resource.
  20. type ChangeStatus struct {
  21. // The resource name of the change status.
  22. // Change status resource names have the form:
  23. //
  24. // `customers/{customer_id}/changeStatus/{change_status_id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // Time at which the most recent change has occurred on this resource.
  27. LastChangeDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=last_change_date_time,json=lastChangeDateTime,proto3" json:"last_change_date_time,omitempty"`
  28. // Represents the type of the changed resource. This dictates what fields
  29. // will be set. For example, for AD_GROUP, campaign and ad_group fields will
  30. // be set.
  31. ResourceType enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType `protobuf:"varint,4,opt,name=resource_type,json=resourceType,proto3,enum=google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType" json:"resource_type,omitempty"`
  32. // The Campaign affected by this change.
  33. Campaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=campaign,proto3" json:"campaign,omitempty"`
  34. // The AdGroup affected by this change.
  35. AdGroup *wrappers.StringValue `protobuf:"bytes,6,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"`
  36. // Represents the status of the changed resource.
  37. ResourceStatus enums.ChangeStatusOperationEnum_ChangeStatusOperation `protobuf:"varint,8,opt,name=resource_status,json=resourceStatus,proto3,enum=google.ads.googleads.v1.enums.ChangeStatusOperationEnum_ChangeStatusOperation" json:"resource_status,omitempty"`
  38. // The AdGroupAd affected by this change.
  39. AdGroupAd *wrappers.StringValue `protobuf:"bytes,9,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"`
  40. // The AdGroupCriterion affected by this change.
  41. AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,10,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"`
  42. // The CampaignCriterion affected by this change.
  43. CampaignCriterion *wrappers.StringValue `protobuf:"bytes,11,opt,name=campaign_criterion,json=campaignCriterion,proto3" json:"campaign_criterion,omitempty"`
  44. // The Feed affected by this change.
  45. Feed *wrappers.StringValue `protobuf:"bytes,12,opt,name=feed,proto3" json:"feed,omitempty"`
  46. // The FeedItem affected by this change.
  47. FeedItem *wrappers.StringValue `protobuf:"bytes,13,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"`
  48. // The AdGroupFeed affected by this change.
  49. AdGroupFeed *wrappers.StringValue `protobuf:"bytes,14,opt,name=ad_group_feed,json=adGroupFeed,proto3" json:"ad_group_feed,omitempty"`
  50. // The CampaignFeed affected by this change.
  51. CampaignFeed *wrappers.StringValue `protobuf:"bytes,15,opt,name=campaign_feed,json=campaignFeed,proto3" json:"campaign_feed,omitempty"`
  52. // The AdGroupBidModifier affected by this change.
  53. AdGroupBidModifier *wrappers.StringValue `protobuf:"bytes,16,opt,name=ad_group_bid_modifier,json=adGroupBidModifier,proto3" json:"ad_group_bid_modifier,omitempty"`
  54. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  55. XXX_unrecognized []byte `json:"-"`
  56. XXX_sizecache int32 `json:"-"`
  57. }
  58. func (m *ChangeStatus) Reset() { *m = ChangeStatus{} }
  59. func (m *ChangeStatus) String() string { return proto.CompactTextString(m) }
  60. func (*ChangeStatus) ProtoMessage() {}
  61. func (*ChangeStatus) Descriptor() ([]byte, []int) {
  62. return fileDescriptor_change_status_4b8ba8609dc5f4b8, []int{0}
  63. }
  64. func (m *ChangeStatus) XXX_Unmarshal(b []byte) error {
  65. return xxx_messageInfo_ChangeStatus.Unmarshal(m, b)
  66. }
  67. func (m *ChangeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  68. return xxx_messageInfo_ChangeStatus.Marshal(b, m, deterministic)
  69. }
  70. func (dst *ChangeStatus) XXX_Merge(src proto.Message) {
  71. xxx_messageInfo_ChangeStatus.Merge(dst, src)
  72. }
  73. func (m *ChangeStatus) XXX_Size() int {
  74. return xxx_messageInfo_ChangeStatus.Size(m)
  75. }
  76. func (m *ChangeStatus) XXX_DiscardUnknown() {
  77. xxx_messageInfo_ChangeStatus.DiscardUnknown(m)
  78. }
  79. var xxx_messageInfo_ChangeStatus proto.InternalMessageInfo
  80. func (m *ChangeStatus) GetResourceName() string {
  81. if m != nil {
  82. return m.ResourceName
  83. }
  84. return ""
  85. }
  86. func (m *ChangeStatus) GetLastChangeDateTime() *wrappers.StringValue {
  87. if m != nil {
  88. return m.LastChangeDateTime
  89. }
  90. return nil
  91. }
  92. func (m *ChangeStatus) GetResourceType() enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType {
  93. if m != nil {
  94. return m.ResourceType
  95. }
  96. return enums.ChangeStatusResourceTypeEnum_UNSPECIFIED
  97. }
  98. func (m *ChangeStatus) GetCampaign() *wrappers.StringValue {
  99. if m != nil {
  100. return m.Campaign
  101. }
  102. return nil
  103. }
  104. func (m *ChangeStatus) GetAdGroup() *wrappers.StringValue {
  105. if m != nil {
  106. return m.AdGroup
  107. }
  108. return nil
  109. }
  110. func (m *ChangeStatus) GetResourceStatus() enums.ChangeStatusOperationEnum_ChangeStatusOperation {
  111. if m != nil {
  112. return m.ResourceStatus
  113. }
  114. return enums.ChangeStatusOperationEnum_UNSPECIFIED
  115. }
  116. func (m *ChangeStatus) GetAdGroupAd() *wrappers.StringValue {
  117. if m != nil {
  118. return m.AdGroupAd
  119. }
  120. return nil
  121. }
  122. func (m *ChangeStatus) GetAdGroupCriterion() *wrappers.StringValue {
  123. if m != nil {
  124. return m.AdGroupCriterion
  125. }
  126. return nil
  127. }
  128. func (m *ChangeStatus) GetCampaignCriterion() *wrappers.StringValue {
  129. if m != nil {
  130. return m.CampaignCriterion
  131. }
  132. return nil
  133. }
  134. func (m *ChangeStatus) GetFeed() *wrappers.StringValue {
  135. if m != nil {
  136. return m.Feed
  137. }
  138. return nil
  139. }
  140. func (m *ChangeStatus) GetFeedItem() *wrappers.StringValue {
  141. if m != nil {
  142. return m.FeedItem
  143. }
  144. return nil
  145. }
  146. func (m *ChangeStatus) GetAdGroupFeed() *wrappers.StringValue {
  147. if m != nil {
  148. return m.AdGroupFeed
  149. }
  150. return nil
  151. }
  152. func (m *ChangeStatus) GetCampaignFeed() *wrappers.StringValue {
  153. if m != nil {
  154. return m.CampaignFeed
  155. }
  156. return nil
  157. }
  158. func (m *ChangeStatus) GetAdGroupBidModifier() *wrappers.StringValue {
  159. if m != nil {
  160. return m.AdGroupBidModifier
  161. }
  162. return nil
  163. }
  164. func init() {
  165. proto.RegisterType((*ChangeStatus)(nil), "google.ads.googleads.v1.resources.ChangeStatus")
  166. }
  167. func init() {
  168. proto.RegisterFile("google/ads/googleads/v1/resources/change_status.proto", fileDescriptor_change_status_4b8ba8609dc5f4b8)
  169. }
  170. var fileDescriptor_change_status_4b8ba8609dc5f4b8 = []byte{
  171. // 603 bytes of a gzipped FileDescriptorProto
  172. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6a, 0xdb, 0x3e,
  173.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40,
  184. 0xf7, 0xc8, 0x78, 0x5c, 0x18, 0x0b, 0xf8, 0x08, 0xf4, 0xbc, 0x0b, 0xc7, 0x39, 0x0d, 0x83, 0xed,
  185. 0x60, 0xaf, 0x3d, 0xe8, 0xba, 0x3f, 0x4f, 0x71, 0x4e, 0xe1, 0x19, 0xd8, 0x98, 0x60, 0xa5, 0x53,
  186. 0x9b, 0x8e, 0x60, 0x4d, 0x53, 0xcd, 0x72, 0x1a, 0x2e, 0x6e, 0x07, 0x7b, 0x9d, 0xfd, 0x2d, 0xbb,
  187. 0x29, 0xe4, 0x32, 0xa1, 0x0b, 0x2d, 0x19, 0xcf, 0x86, 0x78, 0x52, 0xd2, 0x01, 0xac, 0xa8, 0xb5,
  188. 0xe7, 0x1b, 0xac, 0xe9, 0x25, 0xcb, 0x29, 0x9c, 0xce, 0xb8, 0x56, 0xb3, 0x85, 0x4b, 0xdb, 0xc1,
  189. 0xde, 0xca, 0xfe, 0x25, 0x9a, 0xb7, 0x7d, 0xb3, 0x1d, 0x34, 0x9b, 0x7c, 0x60, 0xf9, 0x97, 0xd3,
  190. 0x82, 0xbe, 0xe5, 0x65, 0x3e, 0xb7, 0x79, 0x37, 0x4b, 0xf5, 0x04, 0x9f, 0x83, 0xd6, 0x18, 0xe7,
  191. 0x05, 0x66, 0x19, 0x0f, 0xff, 0x6b, 0x10, 0xdf, 0xa3, 0xe1, 0x33, 0xd0, 0xc2, 0x24, 0xcd, 0xa4,
  192. 0x28, 0x8b, 0x70, 0xb9, 0x01, 0xf3, 0x7f, 0x4c, 0x8e, 0x2b, 0x30, 0xbc, 0x05, 0xab, 0x7e, 0xda,
  193. 0xfa, 0x64, 0xc3, 0x96, 0x99, 0xf7, 0xf4, 0x1e, 0xf3, 0x9e, 0xb9, 0x17, 0xe9, 0x8f, 0x61, 0x7d,
  194. 0x67, 0xb0, 0xe2, 0x6c, 0xec, 0xe1, 0xbe, 0x04, 0x1d, 0x97, 0x38, 0xc5, 0x24, 0x6c, 0x37, 0x08,
  195. 0xdd, 0xb6, 0xa1, 0x13, 0x02, 0x4f, 0x00, 0xf4, 0xec, 0xb1, 0x64, 0x9a, 0x4a, 0x26, 0x78, 0x08,
  196. 0x1a, 0x88, 0xac, 0x59, 0x91, 0x23, 0xc7, 0x82, 0x1f, 0x00, 0x74, 0x7b, 0x9c, 0xd1, 0xea, 0x34,
  197. 0xd0, 0x5a, 0x77, 0xbc, 0x3b, 0xb1, 0xc7, 0x60, 0xe9, 0x9a, 0x52, 0x12, 0x76, 0x1b, 0xd0, 0x0d,
  198. 0x12, 0xbe, 0x00, 0xed, 0xea, 0x37, 0x65, 0x9a, 0xe6, 0x61, 0xaf, 0xc9, 0xa9, 0x57, 0xf0, 0xf7,
  199. 0x9a, 0xe6, 0xf0, 0x35, 0xe8, 0xf9, 0x2d, 0x18, 0xd7, 0x95, 0x06, 0xf4, 0x8e, 0x5d, 0xc0, 0xbb,
  200. 0xca, 0x3c, 0x01, 0x3d, 0x3f, 0xbb, 0x51, 0x58, 0x6d, 0xa0, 0xd0, 0x75, 0x14, 0x23, 0x71, 0x06,
  201. 0x36, 0x7c, 0x88, 0x2b, 0x46, 0xd2, 0x5c, 0x10, 0x76, 0xcd, 0xa8, 0x0c, 0xd7, 0x9a, 0x7c, 0x80,
  202. 0x36, 0xcc, 0x21, 0x23, 0x1f, 0x2d, 0xef, 0xf0, 0x67, 0x00, 0x76, 0xc7, 0x22, 0x47, 0xff, 0xbc,
  203. 0xed, 0x0e, 0xd7, 0x67, 0x5f, 0xb5, 0xf3, 0x4a, 0xff, 0x3c, 0xf8, 0x74, 0x62, 0x79, 0x99, 0x98,
  204. 0x60, 0x9e, 0x21, 0x21, 0xb3, 0x28, 0xa3, 0xdc, 0xb8, 0xbb, 0x5b, 0xad, 0x60, 0xea, 0x2f, 0x77,
  205. 0xef, 0x81, 0xaf, 0xbe, 0x2e, 0x2c, 0x1e, 0x27, 0xc9, 0xb7, 0x85, 0x9d, 0xe3, 0x5a, 0x32, 0x21,
  206. 0x0a, 0xd5, 0x65, 0x55, 0x0d, 0xfb, 0xc8, 0x7d, 0xcb, 0xea, 0xbb, 0xc3, 0x8c, 0x12, 0xa2, 0x46,
  207. 0x1e, 0x33, 0x1a, 0xf6, 0x47, 0x1e, 0xf3, 0x63, 0x61, 0xb7, 0x6e, 0xc4, 0x71, 0x42, 0x54, 0x1c,
  208. 0x7b, 0x54, 0x1c, 0x0f, 0xfb, 0x71, 0xec, 0x71, 0x57, 0xcb, 0x26, 0xec, 0x93, 0x5f, 0x01, 0x00,
  209. 0x00, 0xff, 0xff, 0xe0, 0xa2, 0x09, 0x27, 0x27, 0x06, 0x00, 0x00,
  210. }