Make bulk updates to your ad units without the need for an API by using the Bulk CSV Ad Unit Manager tool.
Export your current ad units as CSV, make adjustments, and import the file back into MAX.
You can access this feature from the MAX Dashboard by selecting MAX > Mediation > CSV Tools > Ad Unit Manager.