This code: $infoService = $user->GetInfoService(); $is = new InfoSelector(); $is->dateRange = new DateRange( date("Ymd", mktime(date("H"), date("i"), date("s"), date("m"), date ("d")-1, date("Y"))), date("Ymd", mktime(date("H"), date("i"), date("s"), date("m"), date ("d")-1, date("Y"))) ); $is->apiUsageType = FREE_USAGE_API_UNITS_PER_MONTH;
$infoPage = $infoService->get($is); results in: Fatal error: Uncaught SoapFault exception: [soap:Server] [EntityNotFound.INVALID_ID @ selector] in /var/www/tjs/lib/v2009/src/ Google/Api/Ads/Common/Lib/AdsSoapClient.php:160 Stack trace: #0 /var/ www/tjs/lib/v2009/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php (160): SoapClient->__soapCall('get', Array, NULL, NULL, Array) #1 /var/ www/tjs/lib/v2009/src/Google/Api/Ads/AdWords/v200909/info/ InfoService.php(1850): AdsSoapClient->__soapCall('get', Array) #2 /var/ www/tjs/user/stats.inc.php(41): InfoService->get(Object(InfoSelector)) #3 /var/www/tjs/index.php(30): require_once('/var/www/tjs/us...') #4 {main} thrown in /var/www/tjs/lib/v2009/src/Google/Api/Ads/Common/Lib/ AdsSoapClient.php on line 160 Any ideas? -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=.