Requirements for animated GIF creatives are generally found within the image ad guidelines for an ad platform. Check the appropriate set of guidelines for your ad.
Google Ads
Google AdMob
Display & Video 360
Campaign Manager 360
Google Ad Manager