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
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/campaign_draft.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/v3/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
// A campaign draft.
type CampaignDraft struct {
// Immutable. The resource name of the campaign draft.
// Campaign draft resource names have the form:
//
// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. The ID of the draft.
//
// This field is read-only.
DraftId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"`
// Immutable. The base campaign to which the draft belongs.
BaseCampaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,omitempty"`
// The name of the campaign draft.
//
// This field is required and should not be empty when creating new
// campaign drafts.
//
// It must not contain any null (code point 0x0), NL line feed
// (code point 0xA) or carriage return (code point 0xD) characters.
Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Resource name of the Campaign that results from overlaying the draft
// changes onto the base campaign.
//
// This field is read-only.
DraftCampaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=draft_campaign,json=draftCampaign,proto3" json:"draft_campaign,omitempty"`
// Output only. The status of the campaign draft. This field is read-only.
//
// When a new campaign draft is added, the status defaults to PROPOSED.
Status enums.CampaignDraftStatusEnum_CampaignDraftStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.CampaignDraftStatusEnum_CampaignDraftStatus" json:"status,omitempty"`
// Output only. Whether there is an experiment based on this draft currently serving.
HasExperimentRunning *wrappers.BoolValue `protobuf:"bytes,7,opt,name=has_experiment_running,json=hasExperimentRunning,proto3" json:"has_experiment_running,omitempty"`
// Output only. The resource name of the long-running operation that can be used to poll
// for completion of draft promotion. This is only set if the draft promotion
// is in progress or finished.
LongRunningOperation *wrappers.StringValue `protobuf:"bytes,8,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CampaignDraft) Reset() { *m = CampaignDraft{} }
func (m *CampaignDraft) String() string { return proto.CompactTextString(m) }
func (*CampaignDraft) ProtoMessage() {}
func (*CampaignDraft) Descriptor() ([]byte, []int) {
return fileDescriptor_8ba592967968d7ea, []int{0}
}
func (m *CampaignDraft) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CampaignDraft.Unmarshal(m, b)
}
func (m *CampaignDraft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CampaignDraft.Marshal(b, m, deterministic)
}
func (m *CampaignDraft) XXX_Merge(src proto.Message) {
xxx_messageInfo_CampaignDraft.Merge(m, src)
}
func (m *CampaignDraft) XXX_Size() int {
return xxx_messageInfo_CampaignDraft.Size(m)
}
func (m *CampaignDraft) XXX_DiscardUnknown() {
xxx_messageInfo_CampaignDraft.DiscardUnknown(m)
}
var xxx_messageInfo_CampaignDraft proto.InternalMessageInfo
func (m *CampaignDraft) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *CampaignDraft) GetDraftId() *wrappers.Int64Value {
if m != nil {
return m.DraftId
}
return nil
}
func (m *CampaignDraft) GetBaseCampaign() *wrappers.StringValue {
if m != nil {
return m.BaseCampaign
}
return nil
}
func (m *CampaignDraft) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *CampaignDraft) GetDraftCampaign() *wrappers.StringValue {
if m != nil {
return m.DraftCampaign
}
return nil
}
func (m *CampaignDraft) GetStatus() enums.CampaignDraftStatusEnum_CampaignDraftStatus {
if m != nil {
return m.Status
}
return enums.CampaignDraftStatusEnum_UNSPECIFIED
}
func (m *CampaignDraft) GetHasExperimentRunning() *wrappers.BoolValue {
if m != nil {
return m.HasExperimentRunning
}
return nil
}
func (m *CampaignDraft) GetLongRunningOperation() *wrappers.StringValue {
if m != nil {
return m.LongRunningOperation
}
return nil
}
func init() {
proto.RegisterType((*CampaignDraft)(nil), "google.ads.googleads.v3.resources.CampaignDraft")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/resources/campaign_draft.proto", fileDescriptor_8ba592967968d7ea)
}
var fileDescriptor_8ba592967968d7ea = []byte{
// 586 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xc1, 0x6e, 0xd3, 0x30,
0x18, 0xc7, 0x95, 0x76, 0xeb, 0x86, 0x59, 0x77, 0x88, 0xd0, 0x14, 0xc6, 0x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