Revert "Remove raise AdsAPIError."

This reverts commit 188509d0dade9f7ae8ba0a16a79ae229374ef768.