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.
 
 
 

110 lines
5.4 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/common/ad_asset.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
  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. // A text asset used inside an ad.
  20. type AdTextAsset struct {
  21. // Asset text.
  22. Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
  23. // The pinned field of the asset. This restricts the asset to only serve
  24. // within this field. Multiple assets can be pinned to the same field. An
  25. // asset that is unpinned or pinned to a different field will not serve in a
  26. // field where some other asset has been pinned.
  27. PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *AdTextAsset) Reset() { *m = AdTextAsset{} }
  33. func (m *AdTextAsset) String() string { return proto.CompactTextString(m) }
  34. func (*AdTextAsset) ProtoMessage() {}
  35. func (*AdTextAsset) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_ad_asset_979a9f1959b97248, []int{0}
  37. }
  38. func (m *AdTextAsset) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_AdTextAsset.Unmarshal(m, b)
  40. }
  41. func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic)
  43. }
  44. func (dst *AdTextAsset) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_AdTextAsset.Merge(dst, src)
  46. }
  47. func (m *AdTextAsset) XXX_Size() int {
  48. return xxx_messageInfo_AdTextAsset.Size(m)
  49. }
  50. func (m *AdTextAsset) XXX_DiscardUnknown() {
  51. xxx_messageInfo_AdTextAsset.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo
  54. func (m *AdTextAsset) GetText() *wrappers.StringValue {
  55. if m != nil {
  56. return m.Text
  57. }
  58. return nil
  59. }
  60. func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType {
  61. if m != nil {
  62. return m.PinnedField
  63. }
  64. return enums.ServedAssetFieldTypeEnum_UNSPECIFIED
  65. }
  66. func init() {
  67. proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v1.common.AdTextAsset")
  68. }
  69. func init() {
  70. proto.RegisterFile("google/ads/googleads/v1/common/ad_asset.proto", fileDescriptor_ad_asset_979a9f1959b97248)
  71. }
  72. var fileDescriptor_ad_asset_979a9f1959b97248 = []byte{
  73. // 354 bytes of a gzipped FileDescriptorProto
  74. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x6e, 0xea, 0x30,
  75. 0x14, 0x87, 0x95, 0xdc, 0xab, 0x0e, 0x01, 0x75, 0x60, 0x42, 0x08, 0x21, 0xc4, 0xc4, 0x52, 0xbb,
  76. 0xa1, 0x9b, 0x99, 0x4c, 0xff, 0xb0, 0x74, 0x40, 0x80, 0x32, 0x54, 0x91, 0x90, 0xc1, 0x87, 0x28,
  77. 0x52, 0x62, 0x5b, 0xb1, 0x43, 0xe1, 0x75, 0x3a, 0x76, 0xea, 0x73, 0xf4, 0x45, 0x2a, 0xf5, 0x29,
  78. 0xaa, 0xd8, 0x09, 0x53, 0xe9, 0x94, 0x13, 0x9f, 0x2f, 0x9f, 0xcf, 0xef, 0x24, 0xb8, 0x49, 0xa4,
  79. 0x4c, 0x32, 0xc0, 0x8c, 0x6b, 0xec, 0xca, 0xaa, 0x3a, 0x84, 0x78, 0x27, 0xf3, 0x5c, 0x0a, 0xcc,
  80. 0xf8, 0x86, 0x69, 0x0d, 0x06, 0xa9, 0x42, 0x1a, 0xd9, 0x19, 0x38, 0x06, 0x31, 0xae, 0xd1, 0x19,
  81. 0x47, 0x87, 0x10, 0x39, 0xbc, 0x37, 0xbd, 0xa4, 0x03, 0x51, 0xe6, 0x1a, 0x6b, 0x28, 0x0e, 0x50,
  82. 0x1b, 0x37, 0xfb, 0x14, 0x32, 0xbe, 0x31, 0x27, 0x05, 0x4e, 0xde, 0xab, 0xe5, 0xd8, 0xbe, 0x6d,
  83. 0xcb, 0x3d, 0x7e, 0x2d, 0x98, 0x52, 0x50, 0xe8, 0xba, 0xdf, 0x6f, 0xe4, 0x2a, 0xc5, 0x4c, 0x08,
  84. 0x69, 0x98, 0x49, 0xa5, 0xa8, 0xbb, 0xa3, 0x0f, 0x2f, 0x68, 0x51, 0xbe, 0x86, 0xa3, 0xa1, 0x95,
  85. 0xbe, 0x73, 0x1b, 0xfc, 0x37, 0x70, 0x34, 0x5d, 0x6f, 0xe8, 0x8d, 0x5b, 0x93, 0x7e, 0x3d, 0x2e,
  86. 0x6a, 0xe4, 0x68, 0x65, 0x8a, 0x54, 0x24, 0x11, 0xcb, 0x4a, 0x58, 0x5a, 0xb2, 0x23, 0x83, 0xb6,
  87. 0x4a, 0x85, 0x00, 0xee, 0x46, 0xeb, 0xfa, 0x43, 0x6f, 0x7c, 0x3d, 0x79, 0x46, 0x97, 0x32, 0xdb,
  88. 0x4c, 0x68, 0x65, 0x33, 0xd9, 0x3b, 0x9f, 0xaa, 0xcf, 0xd6, 0x27, 0x05, 0x8f, 0xa2, 0xcc, 0x7f,
  89. 0x6d, 0x2c, 0x5b, 0xee, 0x06, 0x7b, 0x30, 0xfb, 0xf2, 0x82, 0xd1, 0x4e, 0xe6, 0xe8, 0xef, 0xa5,
  90. 0xce, 0xda, 0xd4, 0x59, 0x16, 0xd5, 0xe8, 0x0b, 0xef, 0xe5, 0xa1, 0xe6, 0x13, 0x99, 0x31, 0x91,
  91. 0x20, 0x59, 0x24, 0x38, 0x01, 0x61, 0x83, 0x35, 0x4b, 0x57, 0xa9, 0xbe, 0xf4, 0x4b, 0xa7, 0xee,
  92. 0xf1, 0xe6, 0xff, 0x9b, 0x53, 0xfa, 0xee, 0x0f, 0xe6, 0x4e, 0x46, 0xb9, 0x46, 0xae, 0xac, 0xaa,
  93. 0x28, 0x44, 0xf7, 0x16, 0xfb, 0x6c, 0x80, 0x98, 0x72, 0x1d, 0x9f, 0x81, 0x38, 0x0a, 0x63, 0x07,
  94. 0x7c, 0xfb, 0x23, 0x77, 0x4a, 0x08, 0xe5, 0x9a, 0x90, 0x33, 0x42, 0x48, 0x14, 0x12, 0xe2, 0xa0,
  95. 0xed, 0x95, 0x9d, 0xee, 0xee, 0x27, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x01, 0x9e, 0xd4, 0x6f, 0x02,
  96. 0x00, 0x00,
  97. }