File: keyword_plan_error.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (187 lines) | stat: -rw-r--r-- 9,657 bytes parent folder | download | duplicates (2)
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/keyword_plan_error.proto

package errors

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "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

// Enum describing possible errors from applying a keyword plan.
type KeywordPlanErrorEnum_KeywordPlanError int32

const (
	// Enum unspecified.
	KeywordPlanErrorEnum_UNSPECIFIED KeywordPlanErrorEnum_KeywordPlanError = 0
	// The received error code is not known in this version.
	KeywordPlanErrorEnum_UNKNOWN KeywordPlanErrorEnum_KeywordPlanError = 1
	// The plan's bid multiplier value is outside the valid range.
	KeywordPlanErrorEnum_BID_MULTIPLIER_OUT_OF_RANGE KeywordPlanErrorEnum_KeywordPlanError = 2
	// The plan's bid value is too high.
	KeywordPlanErrorEnum_BID_TOO_HIGH KeywordPlanErrorEnum_KeywordPlanError = 3
	// The plan's bid value is too low.
	KeywordPlanErrorEnum_BID_TOO_LOW KeywordPlanErrorEnum_KeywordPlanError = 4
	// The plan's cpc bid is not a multiple of the minimum billable unit.
	KeywordPlanErrorEnum_BID_TOO_MANY_FRACTIONAL_DIGITS KeywordPlanErrorEnum_KeywordPlanError = 5
	// The plan's daily budget value is too low.
	KeywordPlanErrorEnum_DAILY_BUDGET_TOO_LOW KeywordPlanErrorEnum_KeywordPlanError = 6
	// The plan's daily budget is not a multiple of the minimum billable unit.
	KeywordPlanErrorEnum_DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS KeywordPlanErrorEnum_KeywordPlanError = 7
	// The input has an invalid value.
	KeywordPlanErrorEnum_INVALID_VALUE KeywordPlanErrorEnum_KeywordPlanError = 8
	// The plan has no keyword.
	KeywordPlanErrorEnum_KEYWORD_PLAN_HAS_NO_KEYWORDS KeywordPlanErrorEnum_KeywordPlanError = 9
	// The plan is not enabled and API cannot provide mutation, forecast or
	// stats.
	KeywordPlanErrorEnum_KEYWORD_PLAN_NOT_ENABLED KeywordPlanErrorEnum_KeywordPlanError = 10
	// The requested plan cannot be found for providing forecast or stats.
	KeywordPlanErrorEnum_KEYWORD_PLAN_NOT_FOUND KeywordPlanErrorEnum_KeywordPlanError = 11
	// The plan is missing a cpc bid.
	KeywordPlanErrorEnum_MISSING_BID KeywordPlanErrorEnum_KeywordPlanError = 13
	// The plan is missing required forecast_period field.
	KeywordPlanErrorEnum_MISSING_FORECAST_PERIOD KeywordPlanErrorEnum_KeywordPlanError = 14
	// The plan's forecast_period has invalid forecast date range.
	KeywordPlanErrorEnum_INVALID_FORECAST_DATE_RANGE KeywordPlanErrorEnum_KeywordPlanError = 15
	// The plan's name is invalid.
	KeywordPlanErrorEnum_INVALID_NAME KeywordPlanErrorEnum_KeywordPlanError = 16
)

var KeywordPlanErrorEnum_KeywordPlanError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "BID_MULTIPLIER_OUT_OF_RANGE",
	3:  "BID_TOO_HIGH",
	4:  "BID_TOO_LOW",
	5:  "BID_TOO_MANY_FRACTIONAL_DIGITS",
	6:  "DAILY_BUDGET_TOO_LOW",
	7:  "DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS",
	8:  "INVALID_VALUE",
	9:  "KEYWORD_PLAN_HAS_NO_KEYWORDS",
	10: "KEYWORD_PLAN_NOT_ENABLED",
	11: "KEYWORD_PLAN_NOT_FOUND",
	13: "MISSING_BID",
	14: "MISSING_FORECAST_PERIOD",
	15: "INVALID_FORECAST_DATE_RANGE",
	16: "INVALID_NAME",
}

var KeywordPlanErrorEnum_KeywordPlanError_value = map[string]int32{
	"UNSPECIFIED":                             0,
	"UNKNOWN":                                 1,
	"BID_MULTIPLIER_OUT_OF_RANGE":             2,
	"BID_TOO_HIGH":                            3,
	"BID_TOO_LOW":                             4,
	"BID_TOO_MANY_FRACTIONAL_DIGITS":          5,
	"DAILY_BUDGET_TOO_LOW":                    6,
	"DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS": 7,
	"INVALID_VALUE":                           8,
	"KEYWORD_PLAN_HAS_NO_KEYWORDS":            9,
	"KEYWORD_PLAN_NOT_ENABLED":                10,
	"KEYWORD_PLAN_NOT_FOUND":                  11,
	"MISSING_BID":                             13,
	"MISSING_FORECAST_PERIOD":                 14,
	"INVALID_FORECAST_DATE_RANGE":             15,
	"INVALID_NAME":                            16,
}

func (x KeywordPlanErrorEnum_KeywordPlanError) String() string {
	return proto.EnumName(KeywordPlanErrorEnum_KeywordPlanError_name, int32(x))
}

func (KeywordPlanErrorEnum_KeywordPlanError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_93fd9cdbc08c3d07, []int{0, 0}
}

// Container for enum describing possible errors from applying a keyword plan
// resource (keyword plan, keyword plan campaign, keyword plan ad group or
// keyword plan keyword) or KeywordPlanService RPC.
type KeywordPlanErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *KeywordPlanErrorEnum) Reset()         { *m = KeywordPlanErrorEnum{} }
func (m *KeywordPlanErrorEnum) String() string { return proto.CompactTextString(m) }
func (*KeywordPlanErrorEnum) ProtoMessage()    {}
func (*KeywordPlanErrorEnum) Descriptor() ([]byte, []int) {
	return fileDescriptor_93fd9cdbc08c3d07, []int{0}
}

func (m *KeywordPlanErrorEnum) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_KeywordPlanErrorEnum.Unmarshal(m, b)
}
func (m *KeywordPlanErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_KeywordPlanErrorEnum.Marshal(b, m, deterministic)
}
func (m *KeywordPlanErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_KeywordPlanErrorEnum.Merge(m, src)
}
func (m *KeywordPlanErrorEnum) XXX_Size() int {
	return xxx_messageInfo_KeywordPlanErrorEnum.Size(m)
}
func (m *KeywordPlanErrorEnum) XXX_DiscardUnknown() {
	xxx_messageInfo_KeywordPlanErrorEnum.DiscardUnknown(m)
}

var xxx_messageInfo_KeywordPlanErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.KeywordPlanErrorEnum_KeywordPlanError", KeywordPlanErrorEnum_KeywordPlanError_name, KeywordPlanErrorEnum_KeywordPlanError_value)
	proto.RegisterType((*KeywordPlanErrorEnum)(nil), "google.ads.googleads.v3.errors.KeywordPlanErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/errors/keyword_plan_error.proto", fileDescriptor_93fd9cdbc08c3d07)
}

var fileDescriptor_93fd9cdbc08c3d07 = []byte{
	// 506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