// CreativeSet to return reports of CreativeSet
CreativeSet to return reports of CreativeSet
// CreativeSet to return reports of CreativeSet
func (s *ReportService) CreativeSet(ctx context.Context, campaignID int64, filter *ReportFilter) (*CreativeSetReport, *Response, error) {
	if campaignID == 0 {
		return nil, nil, fmt.Errorf("campaignID can not be 0")
	}
	u := fmt.Sprintf("reports/campaigns/%d/creativesets", campaignID)
	req, err := s.client.NewRequest("POST", u, filter)
	if err != nil {
		return nil, nil, err
	}
	report := new(CreativeSetReport)
	resp, err := s.client.Do(ctx, req, &report)
	if err != nil {
		return nil, resp, err
	}
	return report, resp, nil
}
func ( s * ReportService ) CreativeSet ( ctx context . Context , campaignID int64 , filter * ReportFilter ) ( * CreativeSetReport , * Response , error ) { if campaignID == 0 { return nil , nil , fmt . Errorf ( " " ) } u := fmt . Sprintf ( " " , campaignID ) req , err := s . client . NewRequest ( " " , u , filter ) if err != nil { return nil , nil , err } report := new ( CreativeSetReport ) resp , err := s . client . Do ( ctx , req , & report ) if err != nil { return nil , resp , err } return report , resp , nil }
CreativeSet to return reports of CreativeSet
CreativeSet to return reports of CreativeSet