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.
 
 
 

108 lines
5.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/common/matching_function.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/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. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Matching function associated with a
  18. // CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used
  19. // to filter the set of feed items selected.
  20. type MatchingFunction struct {
  21. // String representation of the Function.
  22. //
  23. // Examples:
  24. // 1) IDENTITY(true) or IDENTITY(false). All or none feed items serve.
  25. // 2) EQUALS(CONTEXT.DEVICE,"Mobile")
  26. // 3) IN(FEED_ITEM_ID,{1000001,1000002,1000003})
  27. // 4) CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"})
  28. // 5) AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile"))
  29. // See
  30. // https:
  31. // //developers.google.com/adwords/api/docs/guides/feed-matching-functions
  32. //
  33. // Note that because multiple strings may represent the same underlying
  34. // function (whitespace and single versus double quotation marks, for
  35. // example), the value returned may not be identical to the string sent in a
  36. // mutate request.
  37. FunctionString *wrappers.StringValue `protobuf:"bytes,1,opt,name=function_string,json=functionString,proto3" json:"function_string,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *MatchingFunction) Reset() { *m = MatchingFunction{} }
  43. func (m *MatchingFunction) String() string { return proto.CompactTextString(m) }
  44. func (*MatchingFunction) ProtoMessage() {}
  45. func (*MatchingFunction) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_matching_function_95e7b72e8e7503bc, []int{0}
  47. }
  48. func (m *MatchingFunction) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_MatchingFunction.Unmarshal(m, b)
  50. }
  51. func (m *MatchingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_MatchingFunction.Marshal(b, m, deterministic)
  53. }
  54. func (dst *MatchingFunction) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_MatchingFunction.Merge(dst, src)
  56. }
  57. func (m *MatchingFunction) XXX_Size() int {
  58. return xxx_messageInfo_MatchingFunction.Size(m)
  59. }
  60. func (m *MatchingFunction) XXX_DiscardUnknown() {
  61. xxx_messageInfo_MatchingFunction.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_MatchingFunction proto.InternalMessageInfo
  64. func (m *MatchingFunction) GetFunctionString() *wrappers.StringValue {
  65. if m != nil {
  66. return m.FunctionString
  67. }
  68. return nil
  69. }
  70. func init() {
  71. proto.RegisterType((*MatchingFunction)(nil), "google.ads.googleads.v0.common.MatchingFunction")
  72. }
  73. func init() {
  74. proto.RegisterFile("google/ads/googleads/v0/common/matching_function.proto", fileDescriptor_matching_function_95e7b72e8e7503bc)
  75. }
  76. var fileDescriptor_matching_function_95e7b72e8e7503bc = []byte{
  77. // 283 bytes of a gzipped FileDescriptorProto
  78. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xc4, 0x30,
  79. 0x10, 0xc6, 0xe9, 0x0a, 0x1e, 0x2a, 0xa8, 0x2c, 0x08, 0x22, 0xb2, 0x48, 0x4f, 0x9e, 0x26, 0x45,
  80. 0xc1, 0x43, 0x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