1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/account_budget.proto
package resources
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// 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
// An account-level budget. It contains information about the budget itself,
// as well as the most recently approved changes to the budget and proposed
// changes that are pending approval. The proposed changes that are pending
// approval, if any, are found in 'pending_proposal'. Effective details about
// the budget are found in fields prefixed 'approved_', 'adjusted_' and those
// without a prefix. Since some effective details may differ from what the user
// had originally requested (e.g. spending limit), these differences are
// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields.
//
// This resource is mutated using AccountBudgetProposal and cannot be mutated
// directly. A budget may have at most one pending proposal at any given time.
// It is read through pending_proposal.
//
// Once approved, a budget may be subject to adjustments, such as credit
// adjustments. Adjustments create differences between the 'approved' and
// 'adjusted' fields, which would otherwise be identical.
type AccountBudget struct {
// Output only. The resource name of the account-level budget.
// AccountBudget resource names have the form:
//
// `customers/{customer_id}/accountBudgets/{account_budget_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. The ID of the account-level budget.
Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Output only. The resource name of the billing setup associated with this account-level
// budget. BillingSetup resource names have the form:
//
// `customers/{customer_id}/billingSetups/{billing_setup_id}`
BillingSetup *wrappers.StringValue `protobuf:"bytes,3,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"`
// Output only. The status of this account-level budget.
Status enums.AccountBudgetStatusEnum_AccountBudgetStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.AccountBudgetStatusEnum_AccountBudgetStatus" json:"status,omitempty"`
// Output only. The name of the account-level budget.
Name *wrappers.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The proposed start time of the account-level budget in
// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed,
// this is the time of request.
ProposedStartDateTime *wrappers.StringValue `protobuf:"bytes,6,opt,name=proposed_start_date_time,json=proposedStartDateTime,proto3" json:"proposed_start_date_time,omitempty"`
// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss
// format.
//
// For example, if a new budget is approved after the proposed start time,
// the approved start time is the time of approval.
ApprovedStartDateTime *wrappers.StringValue `protobuf:"bytes,7,opt,name=approved_start_date_time,json=approvedStartDateTime,proto3" json:"approved_start_date_time,omitempty"`
// Output only. The total adjustments amount.
//
// An example of an adjustment is courtesy credits.
TotalAdjustmentsMicros *wrappers.Int64Value `protobuf:"bytes,18,opt,name=total_adjustments_micros,json=totalAdjustmentsMicros,proto3" json:"total_adjustments_micros,omitempty"`
// Output only. The value of Ads that have been served, in micros.
//
// This includes overdelivery costs, in which case a credit might be
// automatically applied to the budget (see total_adjustments_micros).
AmountServedMicros *wrappers.Int64Value `protobuf:"bytes,19,opt,name=amount_served_micros,json=amountServedMicros,proto3" json:"amount_served_micros,omitempty"`
// Output only. A purchase order number is a value that helps users reference this budget
// in their monthly invoices.
PurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,20,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"`
// Output only. Notes associated with the budget.
Notes *wrappers.StringValue `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"`
// Output only. The pending proposal to modify this budget, if applicable.
PendingProposal *AccountBudget_PendingAccountBudgetProposal `protobuf:"bytes,22,opt,name=pending_proposal,json=pendingProposal,proto3" json:"pending_proposal,omitempty"`
// The proposed end time of the account-level budget.
//
// Types that are valid to be assigned to ProposedEndTime:
// *AccountBudget_ProposedEndDateTime
// *AccountBudget_ProposedEndTimeType
ProposedEndTime isAccountBudget_ProposedEndTime `protobuf_oneof:"proposed_end_time"`
// The approved end time of the account-level budget.
//
// For example, if a budget's end time is updated and the proposal is approved
// after the proposed end time, the approved end time is the time of approval.
//
// Types that are valid to be assigned to ApprovedEndTime:
// *AccountBudget_ApprovedEndDateTime
// *AccountBudget_ApprovedEndTimeType
ApprovedEndTime isAccountBudget_ApprovedEndTime `protobuf_oneof:"approved_end_time"`
// The proposed spending limit.
//
// Types that are valid to be assigned to ProposedSpendingLimit:
// *AccountBudget_ProposedSpendingLimitMicros
// *AccountBudget_ProposedSpendingLimitType
ProposedSpendingLimit isAccountBudget_ProposedSpendingLimit `protobuf_oneof:"proposed_spending_limit"`
// The approved spending limit.
//
// For example, if the amount already spent by the account exceeds the
// proposed spending limit at the time the proposal is approved, the approved
// spending limit is set to the amount already spent.
//
// Types that are valid to be assigned to ApprovedSpendingLimit:
// *AccountBudget_ApprovedSpendingLimitMicros
// *AccountBudget_ApprovedSpendingLimitType
ApprovedSpendingLimit isAccountBudget_ApprovedSpendingLimit `protobuf_oneof:"approved_spending_limit"`
// The spending limit after adjustments have been applied. Adjustments are
// stored in total_adjustments_micros.
//
// This value has the final say on how much the account is allowed to spend.
//
// Types that are valid to be assigned to AdjustedSpendingLimit:
// *AccountBudget_AdjustedSpendingLimitMicros
// *AccountBudget_AdjustedSpendingLimitType
AdjustedSpendingLimit isAccountBudget_AdjustedSpendingLimit `protobuf_oneof:"adjusted_spending_limit"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AccountBudget) Reset() { *m = AccountBudget{} }
func (m *AccountBudget) String() string { return proto.CompactTextString(m) }
func (*AccountBudget) ProtoMessage() {}
func (*AccountBudget) Descriptor() ([]byte, []int) {
return fileDescriptor_4320b2be24569afc, []int{0}
}
func (m *AccountBudget) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountBudget.Unmarshal(m, b)
}
func (m *AccountBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountBudget.Marshal(b, m, deterministic)
}
func (m *AccountBudget) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountBudget.Merge(m, src)
}
func (m *AccountBudget) XXX_Size() int {
return xxx_messageInfo_AccountBudget.Size(m)
}
func (m *AccountBudget) XXX_DiscardUnknown() {
xxx_messageInfo_AccountBudget.DiscardUnknown(m)
}
var xxx_messageInfo_AccountBudget proto.InternalMessageInfo
func (m *AccountBudget) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *AccountBudget) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *AccountBudget) GetBillingSetup() *wrappers.StringValue {
if m != nil {
return m.BillingSetup
}
return nil
}
func (m *AccountBudget) GetStatus() enums.AccountBudgetStatusEnum_AccountBudgetStatus {
if m != nil {
return m.Status
}
return enums.AccountBudgetStatusEnum_UNSPECIFIED
}
func (m *AccountBudget) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *AccountBudget) GetProposedStartDateTime() *wrappers.StringValue {
if m != nil {
return m.ProposedStartDateTime
}
return nil
}
func (m *AccountBudget) GetApprovedStartDateTime() *wrappers.StringValue {
if m != nil {
return m.ApprovedStartDateTime
}
return nil
}
func (m *AccountBudget) GetTotalAdjustmentsMicros() *wrappers.Int64Value {
if m != nil {
return m.TotalAdjustmentsMicros
}
return nil
}
func (m *AccountBudget) GetAmountServedMicros() *wrappers.Int64Value {
if m != nil {
return m.AmountServedMicros
}
return nil
}
func (m *AccountBudget) GetPurchaseOrderNumber() *wrappers.StringValue {
if m != nil {
return m.PurchaseOrderNumber
}
return nil
}
func (m *AccountBudget) GetNotes() *wrappers.StringValue {
if m != nil {
return m.Notes
}
return nil
}
func (m *AccountBudget) GetPendingProposal() *AccountBudget_PendingAccountBudgetProposal {
if m != nil {
return m.PendingProposal
}
return nil
}
type isAccountBudget_ProposedEndTime interface {
isAccountBudget_ProposedEndTime()
}
type AccountBudget_ProposedEndDateTime struct {
ProposedEndDateTime *wrappers.StringValue `protobuf:"bytes,8,opt,name=proposed_end_date_time,json=proposedEndDateTime,proto3,oneof"`
}
type AccountBudget_ProposedEndTimeType struct {
ProposedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,9,opt,name=proposed_end_time_type,json=proposedEndTimeType,proto3,enum=google.ads.googleads.v1.enums.TimeTypeEnum_TimeType,oneof"`
}
func (*AccountBudget_ProposedEndDateTime) isAccountBudget_ProposedEndTime() {}
func (*AccountBudget_ProposedEndTimeType) isAccountBudget_ProposedEndTime() {}
func (m *AccountBudget) GetProposedEndTime() isAccountBudget_ProposedEndTime {
if m != nil {
return m.ProposedEndTime
}
return nil
}
func (m *AccountBudget) GetProposedEndDateTime() *wrappers.StringValue {
if x, ok := m.GetProposedEndTime().(*AccountBudget_ProposedEndDateTime); ok {
return x.ProposedEndDateTime
}
return nil
}
func (m *AccountBudget) GetProposedEndTimeType() enums.TimeTypeEnum_TimeType {
if x, ok := m.GetProposedEndTime().(*AccountBudget_ProposedEndTimeType); ok {
return x.ProposedEndTimeType
}
return enums.TimeTypeEnum_UNSPECIFIED
}
type isAccountBudget_ApprovedEndTime interface {
isAccountBudget_ApprovedEndTime()
}
type AccountBudget_ApprovedEndDateTime struct {
ApprovedEndDateTime *wrappers.StringValue `protobuf:"bytes,10,opt,name=approved_end_date_time,json=approvedEndDateTime,proto3,oneof"`
}
type AccountBudget_ApprovedEndTimeType struct {
ApprovedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,11,opt,name=approved_end_time_type,json=approvedEndTimeType,proto3,enum=google.ads.googleads.v1.enums.TimeTypeEnum_TimeType,oneof"`
}
func (*AccountBudget_ApprovedEndDateTime) isAccountBudget_ApprovedEndTime() {}
func (*AccountBudget_ApprovedEndTimeType) isAccountBudget_ApprovedEndTime() {}
func (m *AccountBudget) GetApprovedEndTime() isAccountBudget_ApprovedEndTime {
if m != nil {
return m.ApprovedEndTime
}
return nil
}
func (m *AccountBudget) GetApprovedEndDateTime() *wrappers.StringValue {
if x, ok := m.GetApprovedEndTime().(*AccountBudget_ApprovedEndDateTime); ok {
return x.ApprovedEndDateTime
}
return nil
}
func (m *AccountBudget) GetApprovedEndTimeType() enums.TimeTypeEnum_TimeType {
if x, ok := m.GetApprovedEndTime().(*AccountBudget_ApprovedEndTimeType); ok {
return x.ApprovedEndTimeType
}
return enums.TimeTypeEnum_UNSPECIFIED
}
type isAccountBudget_ProposedSpendingLimit interface {
isAccountBudget_ProposedSpendingLimit()
}
type AccountBudget_ProposedSpendingLimitMicros struct {
ProposedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,12,opt,name=proposed_spending_limit_micros,json=proposedSpendingLimitMicros,proto3,oneof"`
}
type AccountBudget_ProposedSpendingLimitType struct {
ProposedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,13,opt,name=proposed_spending_limit_type,json=proposedSpendingLimitType,proto3,enum=google.ads.googleads.v1.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"`
}
func (*AccountBudget_ProposedSpendingLimitMicros) isAccountBudget_ProposedSpendingLimit() {}
func (*AccountBudget_ProposedSpendingLimitType) isAccountBudget_ProposedSpendingLimit() {}
func (m *AccountBudget) GetProposedSpendingLimit() isAccountBudget_ProposedSpendingLimit {
if m != nil {
return m.ProposedSpendingLimit
}
return nil
}
func (m *AccountBudget) GetProposedSpendingLimitMicros() *wrappers.Int64Value {
if x, ok := m.GetProposedSpendingLimit().(*AccountBudget_ProposedSpendingLimitMicros); ok {
return x.ProposedSpendingLimitMicros
}
return nil
}
func (m *AccountBudget) GetProposedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType {
if x, ok := m.GetProposedSpendingLimit().(*AccountBudget_ProposedSpendingLimitType); ok {
return x.ProposedSpendingLimitType
}
return enums.SpendingLimitTypeEnum_UNSPECIFIED
}
type isAccountBudget_ApprovedSpendingLimit interface {
isAccountBudget_ApprovedSpendingLimit()
}
type AccountBudget_ApprovedSpendingLimitMicros struct {
ApprovedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,14,opt,name=approved_spending_limit_micros,json=approvedSpendingLimitMicros,proto3,oneof"`
}
type AccountBudget_ApprovedSpendingLimitType struct {
ApprovedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,15,opt,name=approved_spending_limit_type,json=approvedSpendingLimitType,proto3,enum=google.ads.googleads.v1.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"`
}
func (*AccountBudget_ApprovedSpendingLimitMicros) isAccountBudget_ApprovedSpendingLimit() {}
func (*AccountBudget_ApprovedSpendingLimitType) isAccountBudget_ApprovedSpendingLimit() {}
func (m *AccountBudget) GetApprovedSpendingLimit() isAccountBudget_ApprovedSpendingLimit {
if m != nil {
return m.ApprovedSpendingLimit
}
return nil
}
func (m *AccountBudget) GetApprovedSpendingLimitMicros() *wrappers.Int64Value {
if x, ok := m.GetApprovedSpendingLimit().(*AccountBudget_ApprovedSpendingLimitMicros); ok {
return x.ApprovedSpendingLimitMicros
}
return nil
}
func (m *AccountBudget) GetApprovedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType {
if x, ok := m.GetApprovedSpendingLimit().(*AccountBudget_ApprovedSpendingLimitType); ok {
return x.ApprovedSpendingLimitType
}
return enums.SpendingLimitTypeEnum_UNSPECIFIED
}
type isAccountBudget_AdjustedSpendingLimit interface {
isAccountBudget_AdjustedSpendingLimit()
}
type AccountBudget_AdjustedSpendingLimitMicros struct {
AdjustedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,16,opt,name=adjusted_spending_limit_micros,json=adjustedSpendingLimitMicros,proto3,oneof"`
}
type AccountBudget_AdjustedSpendingLimitType struct {
AdjustedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,17,opt,name=adjusted_spending_limit_type,json=adjustedSpendingLimitType,proto3,enum=google.ads.googleads.v1.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"`
}
func (*AccountBudget_AdjustedSpendingLimitMicros) isAccountBudget_AdjustedSpendingLimit() {}
func (*AccountBudget_AdjustedSpendingLimitType) isAccountBudget_AdjustedSpendingLimit() {}
func (m *AccountBudget) GetAdjustedSpendingLimit() isAccountBudget_AdjustedSpendingLimit {
if m != nil {
return m.AdjustedSpendingLimit
}
return nil
}
func (m *AccountBudget) GetAdjustedSpendingLimitMicros() *wrappers.Int64Value {
if x, ok := m.GetAdjustedSpendingLimit().(*AccountBudget_AdjustedSpendingLimitMicros); ok {
return x.AdjustedSpendingLimitMicros
}
return nil
}
func (m *AccountBudget) GetAdjustedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType {
if x, ok := m.GetAdjustedSpendingLimit().(*AccountBudget_AdjustedSpendingLimitType); ok {
return x.AdjustedSpendingLimitType
}
return enums.SpendingLimitTypeEnum_UNSPECIFIED
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AccountBudget) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AccountBudget_ProposedEndDateTime)(nil),
(*AccountBudget_ProposedEndTimeType)(nil),
(*AccountBudget_ApprovedEndDateTime)(nil),
(*AccountBudget_ApprovedEndTimeType)(nil),
(*AccountBudget_ProposedSpendingLimitMicros)(nil),
(*AccountBudget_ProposedSpendingLimitType)(nil),
(*AccountBudget_ApprovedSpendingLimitMicros)(nil),
(*AccountBudget_ApprovedSpendingLimitType)(nil),
(*AccountBudget_AdjustedSpendingLimitMicros)(nil),
(*AccountBudget_AdjustedSpendingLimitType)(nil),
}
}
// A pending proposal associated with the enclosing account-level budget,
// if applicable.
type AccountBudget_PendingAccountBudgetProposal struct {
// Output only. The resource name of the proposal.
// AccountBudgetProposal resource names have the form:
//
// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
AccountBudgetProposal *wrappers.StringValue `protobuf:"bytes,1,opt,name=account_budget_proposal,json=accountBudgetProposal,proto3" json:"account_budget_proposal,omitempty"`
// Output only. The type of this proposal, e.g. END to end the budget associated
// with this proposal.
ProposalType enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType `protobuf:"varint,2,opt,name=proposal_type,json=proposalType,proto3,enum=google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType" json:"proposal_type,omitempty"`
// Output only. The name to assign to the account-level budget.
Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The start time in yyyy-MM-dd HH:mm:ss format.
StartDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=start_date_time,json=startDateTime,proto3" json:"start_date_time,omitempty"`
// Output only. A purchase order number is a value that helps users reference this budget
// in their monthly invoices.
PurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,9,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"`
// Output only. Notes associated with this budget.
Notes *wrappers.StringValue `protobuf:"bytes,10,opt,name=notes,proto3" json:"notes,omitempty"`
// Output only. The time when this account-level budget proposal was created.
// Formatted as yyyy-MM-dd HH:mm:ss.
CreationDateTime *wrappers.StringValue `protobuf:"bytes,11,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"`
// The end time of the account-level budget.
//
// Types that are valid to be assigned to EndTime:
// *AccountBudget_PendingAccountBudgetProposal_EndDateTime
// *AccountBudget_PendingAccountBudgetProposal_EndTimeType
EndTime isAccountBudget_PendingAccountBudgetProposal_EndTime `protobuf_oneof:"end_time"`
// The spending limit.
//
// Types that are valid to be assigned to SpendingLimit:
// *AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros
// *AccountBudget_PendingAccountBudgetProposal_SpendingLimitType
SpendingLimit isAccountBudget_PendingAccountBudgetProposal_SpendingLimit `protobuf_oneof:"spending_limit"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AccountBudget_PendingAccountBudgetProposal) Reset() {
*m = AccountBudget_PendingAccountBudgetProposal{}
}
func (m *AccountBudget_PendingAccountBudgetProposal) String() string {
return proto.CompactTextString(m)
}
func (*AccountBudget_PendingAccountBudgetProposal) ProtoMessage() {}
func (*AccountBudget_PendingAccountBudgetProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_4320b2be24569afc, []int{0, 0}
}
func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Unmarshal(m, b)
}
func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Marshal(b, m, deterministic)
}
func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Merge(m, src)
}
func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Size() int {
return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Size(m)
}
func (m *AccountBudget_PendingAccountBudgetProposal) XXX_DiscardUnknown() {
xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.DiscardUnknown(m)
}
var xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal proto.InternalMessageInfo
func (m *AccountBudget_PendingAccountBudgetProposal) GetAccountBudgetProposal() *wrappers.StringValue {
if m != nil {
return m.AccountBudgetProposal
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetProposalType() enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType {
if m != nil {
return m.ProposalType
}
return enums.AccountBudgetProposalTypeEnum_UNSPECIFIED
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetStartDateTime() *wrappers.StringValue {
if m != nil {
return m.StartDateTime
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetPurchaseOrderNumber() *wrappers.StringValue {
if m != nil {
return m.PurchaseOrderNumber
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetNotes() *wrappers.StringValue {
if m != nil {
return m.Notes
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetCreationDateTime() *wrappers.StringValue {
if m != nil {
return m.CreationDateTime
}
return nil
}
type isAccountBudget_PendingAccountBudgetProposal_EndTime interface {
isAccountBudget_PendingAccountBudgetProposal_EndTime()
}
type AccountBudget_PendingAccountBudgetProposal_EndDateTime struct {
EndDateTime *wrappers.StringValue `protobuf:"bytes,5,opt,name=end_date_time,json=endDateTime,proto3,oneof"`
}
type AccountBudget_PendingAccountBudgetProposal_EndTimeType struct {
EndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,6,opt,name=end_time_type,json=endTimeType,proto3,enum=google.ads.googleads.v1.enums.TimeTypeEnum_TimeType,oneof"`
}
func (*AccountBudget_PendingAccountBudgetProposal_EndDateTime) isAccountBudget_PendingAccountBudgetProposal_EndTime() {
}
func (*AccountBudget_PendingAccountBudgetProposal_EndTimeType) isAccountBudget_PendingAccountBudgetProposal_EndTime() {
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetEndTime() isAccountBudget_PendingAccountBudgetProposal_EndTime {
if m != nil {
return m.EndTime
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetEndDateTime() *wrappers.StringValue {
if x, ok := m.GetEndTime().(*AccountBudget_PendingAccountBudgetProposal_EndDateTime); ok {
return x.EndDateTime
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetEndTimeType() enums.TimeTypeEnum_TimeType {
if x, ok := m.GetEndTime().(*AccountBudget_PendingAccountBudgetProposal_EndTimeType); ok {
return x.EndTimeType
}
return enums.TimeTypeEnum_UNSPECIFIED
}
type isAccountBudget_PendingAccountBudgetProposal_SpendingLimit interface {
isAccountBudget_PendingAccountBudgetProposal_SpendingLimit()
}
type AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros struct {
SpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=spending_limit_micros,json=spendingLimitMicros,proto3,oneof"`
}
type AccountBudget_PendingAccountBudgetProposal_SpendingLimitType struct {
SpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,8,opt,name=spending_limit_type,json=spendingLimitType,proto3,enum=google.ads.googleads.v1.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"`
}
func (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros) isAccountBudget_PendingAccountBudgetProposal_SpendingLimit() {
}
func (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType) isAccountBudget_PendingAccountBudgetProposal_SpendingLimit() {
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimit() isAccountBudget_PendingAccountBudgetProposal_SpendingLimit {
if m != nil {
return m.SpendingLimit
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimitMicros() *wrappers.Int64Value {
if x, ok := m.GetSpendingLimit().(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros); ok {
return x.SpendingLimitMicros
}
return nil
}
func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType {
if x, ok := m.GetSpendingLimit().(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType); ok {
return x.SpendingLimitType
}
return enums.SpendingLimitTypeEnum_UNSPECIFIED
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AccountBudget_PendingAccountBudgetProposal) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AccountBudget_PendingAccountBudgetProposal_EndDateTime)(nil),
(*AccountBudget_PendingAccountBudgetProposal_EndTimeType)(nil),
(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros)(nil),
(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType)(nil),
}
}
func init() {
proto.RegisterType((*AccountBudget)(nil), "google.ads.googleads.v1.resources.AccountBudget")
proto.RegisterType((*AccountBudget_PendingAccountBudgetProposal)(nil), "google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/account_budget.proto", fileDescriptor_4320b2be24569afc)
}
var fileDescriptor_4320b2be24569afc = []byte{
// 1131 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdf, 0x6e, 0xdb, 0xb6,
0x17, 0xfe, 0xc9, 0x76, 0xd2, 0x84, 0x89, 0xf3, 0x47, 0xae, 0x53, 0x39, 0x0e, 0xfa, 0x4b, 0x07,
0x64, 0xcb, 0x4d, 0xa5, 0x3a, 0xcb, 0x52, 0xcc, 0xbb, 0x99, 0x8c, 0x75, 0x69, 0x8b, 0xb5, 0x0d,
0xe4, 0xce, 0x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