Thanks to a bug report from Maciej Marczuk, I could finally reproduce
the "This account is empty" error which some users reported. The
problem is based on the way PHP treats empty or unset variables in the
Linux and Windows version of PHP. In some very specific cases (OS, PHP
configuration and especially the particular AdWords account contents),
this behaviour caused APIlity to think an account was empty, even if it
was not, and made the script stop.
A hotfix of the library file concerned is available.
- Download the file
- Delete the existing file Campaign.php in the ./lib/ directory
- Copy the downloaded file in the ./lib directory
- Rename it to Campaign.php
To avoid further confusions, I have improved the error message in case
of the attempt to access an "empty" account (where "empty" means that
an account contains no, or only deleted Campaigns). I apologize for the
inconvenieces this bug has caused. Mea maxima culpa... This hotfix
outdates the FAQ response given before.
Hope this helps and finally fixes the problem. If not, please let me
Image from adwords.google.com