// Fetches campaigns with selector operators.
Fetches campaigns with selector operators.
// Fetches campaigns with selector operators .
func (s *CampaignService) Find(ctx context.Context, sel *Selector) ([]*Campaign, *Response, error) {
	req, err := s.client.NewRequest("POST", "campaigns/find", sel)
	if err != nil {
		return nil, nil, err
	}
	campaigns := []*Campaign{}
	resp, err := s.client.Do(ctx, req, &campaigns)
	if err != nil {
		return nil, resp, err
	}
	return campaigns, resp, nil
}
func ( s * CampaignService ) Find ( ctx context . Context , sel * Selector ) ( [ ] * Campaign , * Response , error ) { req , err := s . client . NewRequest ( " " , " " , sel ) if err != nil { return nil , nil , err } campaigns := [ ] * Campaign { } resp , err := s . client . Do ( ctx , req , & campaigns ) if err != nil { return nil , resp , err } return campaigns , resp , nil }
Fetches campaigns with selector operators.
Fetches campaigns with selector operators .