Hi Michael,
Thank you for reaching support. It is possible to apply placement exclusion list programmatically at account level using CustomerNegativeCriterionService that allows you to exclude specific criteria across all campaigns in an account. To exclude a criteria at adgroup level, you will need to set the negative field to true. Let us know if you need additional information.
Regards,
Nikisha Patel, Google Ads API Team