| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/resources/campaign_feed.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v1/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 feed. |
| type CampaignFeed struct { |
| // The resource name of the campaign feed. |
| // Campaign feed resource names have the form: |
| // |
| // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // The feed to which the CampaignFeed belongs. |
| Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` |
| // The campaign to which the CampaignFeed belongs. |
| Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"` |
| // Indicates which placeholder types the feed may populate under the connected |
| // campaign. Required. |
| PlaceholderTypes []enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,4,rep,packed,name=placeholder_types,json=placeholderTypes,proto3,enum=google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_types,omitempty"` |
| // Matching function associated with the CampaignFeed. |
| // The matching function is used to filter the set of feed items selected. |
| // Required. |
| MatchingFunction *common.MatchingFunction `protobuf:"bytes,5,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` |
| // Status of the campaign feed. |
| // This field is read-only. |
| Status enums.FeedLinkStatusEnum_FeedLinkStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.FeedLinkStatusEnum_FeedLinkStatus" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CampaignFeed) Reset() { *m = CampaignFeed{} } |
| func (m *CampaignFeed) String() string { return proto.CompactTextString(m) } |
| func (*CampaignFeed) ProtoMessage() {} |
| func (*CampaignFeed) Descriptor() ([]byte, []int) { |
| return fileDescriptor_10f784f3692d2150, []int{0} |
| } |
| |
| func (m *CampaignFeed) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CampaignFeed.Unmarshal(m, b) |
| } |
| func (m *CampaignFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CampaignFeed.Marshal(b, m, deterministic) |
| } |
| func (m *CampaignFeed) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CampaignFeed.Merge(m, src) |
| } |
| func (m *CampaignFeed) XXX_Size() int { |
| return xxx_messageInfo_CampaignFeed.Size(m) |
| } |
| func (m *CampaignFeed) XXX_DiscardUnknown() { |
| xxx_messageInfo_CampaignFeed.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CampaignFeed proto.InternalMessageInfo |
| |
| func (m *CampaignFeed) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *CampaignFeed) GetFeed() *wrappers.StringValue { |
| if m != nil { |
| return m.Feed |
| } |
| return nil |
| } |
| |
| func (m *CampaignFeed) GetCampaign() *wrappers.StringValue { |
| if m != nil { |
| return m.Campaign |
| } |
| return nil |
| } |
| |
| func (m *CampaignFeed) GetPlaceholderTypes() []enums.PlaceholderTypeEnum_PlaceholderType { |
| if m != nil { |
| return m.PlaceholderTypes |
| } |
| return nil |
| } |
| |
| func (m *CampaignFeed) GetMatchingFunction() *common.MatchingFunction { |
| if m != nil { |
| return m.MatchingFunction |
| } |
| return nil |
| } |
| |
| func (m *CampaignFeed) GetStatus() enums.FeedLinkStatusEnum_FeedLinkStatus { |
| if m != nil { |
| return m.Status |
| } |
| return enums.FeedLinkStatusEnum_UNSPECIFIED |
| } |
| |
| func init() { |
| proto.RegisterType((*CampaignFeed)(nil), "google.ads.googleads.v1.resources.CampaignFeed") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/campaign_feed.proto", fileDescriptor_10f784f3692d2150) |
| } |
| |
| var fileDescriptor_10f784f3692d2150 = []byte{ |
| // 485 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40, |
| 0x14, 0xc7, 0xc9, 0x6e, 0x5d, 0x74, 0xac, 0xa5, 0x9b, 0xab, 0x50, 0x8a, 0x6c, 0x95, 0xc2, 0x5e, |
| 0xcd, 0x34, 0xeb, 0x07, 0x12, 0x6f, 0xcc, 0x8a, 0x2d, 0x88, 0xca, 0x92, 0xca, 0x22, 0xb2, 0x12, |
| 0xa6, 0xc9, 0xd9, 0x69, 0x68, 0xe6, 0x83, 0x4c, 0x52, 0xe9, 0xeb, 0x78, 0xe9, 0x9b, 0xe8, 0xa3, |
| 0xf8, 0x10, 0x22, 0x49, 0x66, 0xa2, 0x5d, 0xd9, 0x76, 0xef, 0xce, 0x9e, 0xf9, 0xff, 0xce, 0x9e, |
| 0x73, 0xfe, 0x27, 0xe8, 0x19, 0x93, 0x92, 0xe5, 0x40, 0x68, 0xaa, 0x49, 0x1b, 0xd6, 0xd1, 0xa5, |
| 0x4f, 0x0a, 0xd0, 0xb2, 0x2a, 0x12, 0xd0, 0x24, 0xa1, 0x5c, 0xd1, 0x8c, 0x89, 0x78, 0x09, 0x90, |
| 0x62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