Hi Luis,
We had a number of accounts deactivated by Google over the weekend. I was surprised to find that they continue to be returned by the ManagedCustomerService, although they are not active accounts. I've also found that we've continued to harvest performance reports for those accounts, and no error was thrown - I was expecting a CUSTOMER_NOT_ACTIVE error or something similar.
The problem is that I'm responsible for monitoring accounts and collecting performance data, and for inactive accounts I don't want to record anything. The script I've built is designed to skip any accounts that are not returned by the ManagedCustomerService or that throw an error like CUSTOMER_NOT_ACTIVE when requesting the performance data. Instead I've ended up with a load of false data (all zeros of course) rather than what I wanted - no data.
Do you have any suggestions about how we can avoid collecting erroneous performance data from the API when you (Google) deactivate our accounts?
Cheers,
Tom