| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/common/ad_asset.proto |
| |
| package common |
| |
| 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 text asset used inside an ad. |
| type AdTextAsset struct { |
| // Asset text. |
| Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| // The pinned field of the asset. This restricts the asset to only serve |
| // within this field. Multiple assets can be pinned to the same field. An |
| // asset that is unpinned or pinned to a different field will not serve in a |
| // field where some other asset has been pinned. |
| PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v3.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AdTextAsset) Reset() { *m = AdTextAsset{} } |
| func (m *AdTextAsset) String() string { return proto.CompactTextString(m) } |
| func (*AdTextAsset) ProtoMessage() {} |
| func (*AdTextAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0fa6efb5f889d94f, []int{0} |
| } |
| |
| func (m *AdTextAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AdTextAsset.Unmarshal(m, b) |
| } |
| func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic) |
| } |
| func (m *AdTextAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AdTextAsset.Merge(m, src) |
| } |
| func (m *AdTextAsset) XXX_Size() int { |
| return xxx_messageInfo_AdTextAsset.Size(m) |
| } |
| func (m *AdTextAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_AdTextAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo |
| |
| func (m *AdTextAsset) GetText() *wrappers.StringValue { |
| if m != nil { |
| return m.Text |
| } |
| return nil |
| } |
| |
| func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType { |
| if m != nil { |
| return m.PinnedField |
| } |
| return enums.ServedAssetFieldTypeEnum_UNSPECIFIED |
| } |
| |
| // An image asset used inside an ad. |
| type AdImageAsset struct { |
| // The Asset resource name of this image. |
| Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AdImageAsset) Reset() { *m = AdImageAsset{} } |
| func (m *AdImageAsset) String() string { return proto.CompactTextString(m) } |
| func (*AdImageAsset) ProtoMessage() {} |
| func (*AdImageAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0fa6efb5f889d94f, []int{1} |
| } |
| |
| func (m *AdImageAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AdImageAsset.Unmarshal(m, b) |
| } |
| func (m *AdImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AdImageAsset.Marshal(b, m, deterministic) |
| } |
| func (m *AdImageAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AdImageAsset.Merge(m, src) |
| } |
| func (m *AdImageAsset) XXX_Size() int { |
| return xxx_messageInfo_AdImageAsset.Size(m) |
| } |
| func (m *AdImageAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_AdImageAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AdImageAsset proto.InternalMessageInfo |
| |
| func (m *AdImageAsset) GetAsset() *wrappers.StringValue { |
| if m != nil { |
| return m.Asset |
| } |
| return nil |
| } |
| |
| // A video asset used inside an ad. |
| type AdVideoAsset struct { |
| // The Asset resource name of this video. |
| Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AdVideoAsset) Reset() { *m = AdVideoAsset{} } |
| func (m *AdVideoAsset) String() string { return proto.CompactTextString(m) } |
| func (*AdVideoAsset) ProtoMessage() {} |
| func (*AdVideoAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0fa6efb5f889d94f, []int{2} |
| } |
| |
| func (m *AdVideoAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AdVideoAsset.Unmarshal(m, b) |
| } |
| func (m *AdVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AdVideoAsset.Marshal(b, m, deterministic) |
| } |
| func (m *AdVideoAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AdVideoAsset.Merge(m, src) |
| } |
| func (m *AdVideoAsset) XXX_Size() int { |
| return xxx_messageInfo_AdVideoAsset.Size(m) |
| } |
| func (m *AdVideoAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_AdVideoAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AdVideoAsset proto.InternalMessageInfo |
| |
| func (m *AdVideoAsset) GetAsset() *wrappers.StringValue { |
| if m != nil { |
| return m.Asset |
| } |
| return nil |
| } |
| |
| // A media bundle asset used inside an ad. |
| type AdMediaBundleAsset struct { |
| // The Asset resource name of this media bundle. |
| Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AdMediaBundleAsset) Reset() { *m = AdMediaBundleAsset{} } |
| func (m *AdMediaBundleAsset) String() string { return proto.CompactTextString(m) } |
| func (*AdMediaBundleAsset) ProtoMessage() {} |
| func (*AdMediaBundleAsset) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0fa6efb5f889d94f, []int{3} |
| } |
| |
| func (m *AdMediaBundleAsset) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AdMediaBundleAsset.Unmarshal(m, b) |
| } |
| func (m *AdMediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AdMediaBundleAsset.Marshal(b, m, deterministic) |
| } |
| func (m *AdMediaBundleAsset) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AdMediaBundleAsset.Merge(m, src) |
| } |
| func (m *AdMediaBundleAsset) XXX_Size() int { |
| return xxx_messageInfo_AdMediaBundleAsset.Size(m) |
| } |
| func (m *AdMediaBundleAsset) XXX_DiscardUnknown() { |
| xxx_messageInfo_AdMediaBundleAsset.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AdMediaBundleAsset proto.InternalMessageInfo |
| |
| func (m *AdMediaBundleAsset) GetAsset() *wrappers.StringValue { |
| if m != nil { |
| return m.Asset |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v3.common.AdTextAsset") |
| proto.RegisterType((*AdImageAsset)(nil), "google.ads.googleads.v3.common.AdImageAsset") |
| proto.RegisterType((*AdVideoAsset)(nil), "google.ads.googleads.v3.common.AdVideoAsset") |
| proto.RegisterType((*AdMediaBundleAsset)(nil), "google.ads.googleads.v3.common.AdMediaBundleAsset") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/common/ad_asset.proto", fileDescriptor_0fa6efb5f889d94f) |
| } |
| |
| var fileDescriptor_0fa6efb5f889d94f = []byte{ |
| // 400 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6a, 0xdc, 0x30, |
| 0x10, 0xc7, 0xf1, 0xf6, 0xe3, 0xa0, 0x5d, 0x7a, 0xf0, 0x29, 0x84, 0x10, 0x82, 0x4f, 0xb9, 0x54, |
| 0x2a, 0xeb, 0x9b, 0x72, 0x92, 0xfb, 0x91, 0x16, 0x5a, 0x08, 0x49, 0xf0, 0xa1, 0x18, 0x16, 0x25, |
| 0x9a, 0x08, 0x81, 0x2d, 0x09, 0x4b, 0xde, 0x26, 0xaf, 0xd3, 0x63, 0x4f, 0x7d, 0x8e, 0xbe, 0x48, |
| 0xa1, 0x4f, 0x51, 0xac, 0xb1, 0xf7, 0xd4, 0x2d, 0x21, 0xa7, 0x9d, 0x95, 0x7e, 0xfe, 0xcd, 0x7f, |
| 0xc4, 0x90, 0xd7, 0xda, 0x39, 0xdd, 0x02, 0x93, 0x2a, 0x30, 0x2c, 0xc7, 0x6a, 0x5b, 0xb2, 0x5b, |
| 0xd7, 0x75, 0xce, 0x32, 0xa9, 0x36, 0x32, 0x04, 0x88, 0xd4, 0xf7, 0x2e, 0xba, 0xfc, 0x18, 0x19, |
| 0x2a, 0x55, 0xa0, 0x3b, 0x9c, 0x6e, 0x4b, 0x8a, 0xf8, 0xe1, 0xd9, 0x3e, 0x1d, 0xd8, 0xa1, 0x0b, |
| 0x2c, 0x40, 0xbf, 0x85, 0xc9, 0xb8, 0xb9, 0x33, 0xd0, 0xaa, 0x4d, 0x7c, 0xf0, 0x80, 0xf2, 0xc3, |
| 0x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