I have a panel data with sales rank of an app on appstore over a period of 11 months. Some of the apps were promoted during this period and form the treatment groups (treated=1), while others form the control group. While there are 180 treated apps, there are close to 21k controls apps. I wish to find the nearest neighbors of the treated apps from the control apps during the pre-treatment period, so that I am essentially making an apples-to-apples comparison while estimating treatment effects. I am using psmatch2 package from Stata, however, I am confused if this package requires long or wide data format (I have found contradicting examples on internet), and the psmatch2 documentation itself does not mention anything in specific.
Propensity score matching with panel data answer suggests using wide format in general, however the author of answer is not familiar with psmatch2.
So, what format should I store my data in, wide or long?
Any help would be greatly appreciated.