Hi Eugene, One point is that when using the apiUsageType "FREE_USAGE_API_UNITS_PER_MONTH" you should not specify a date range ( see http://code.google.com/apis/adwords/v2009/docs/reference/InfoService.InfoSelector.html ). I'm not sure if this the cause of your exception though. Do you have the SOAP XML request and response from this request?
Best, - Eric Koleda, AdWords API Team On Nov 17, 10:56 am, Eugene <popov...@aheadworks.com> wrote: > 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=.