I've taken adGroup id's from a report generated in the MCC. It
clearly shows impressions and clicks for ad group id's, but when I
insert one of these id's into the $adGroupId variable in
getAllAds.php, and run getAllAds.php, I receive the reply No Ads were
found.
I'm using v201101.
Not sure why
Found the answer.
I'm running a platform managing many clients and I had to make sure
that:
$user-SetClientId('');
was set properly, because the default value of the client id of that
object is set by the auth.ini file.
On Oct 3, 12:13 pm, iateadonut orienta@gmail.com wrote:
I've taken
Hi,
AdWordsUser also has an overloaded constructor in case you don't want the
credentials from auth.ini to be picked up. See
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php#63
for
details.
Cheers,
Anash P. Oommen,
AdWords API