Sample API: People would put various types of request parameters to call an API. If you want to create an ad group with a few default parameters only, call this API first and then call the Create an ad group API by using the values from the API response.
Type information API: Available types differ depending on the campaign objective. Use this API to check which types are available for a specific objective.
This API is associated with the feature where multiple ad groups can be updated to the same budget, bid price, or cost simultaneously as you see in the screenshot below.