Hi, I try to get clientId wtih give the clientEmail from Info service. Code was working but this morning i try again i got this error ;
ApiUsageError.INVALID_CLIENT_EMAIL@ selector; trigger:'x...@xxx.com' I try to comment out dateRange row but results is some. what is wrong ? my getClientId function : $infoService = $user->GetService('InfoService', 'v201109'); $clientEmail = 'x...@xxx.com'; // Create selector. $selector = new InfoSelector(); $selector->clientEmails = array($clientEmail); $selector->includeSubAccounts = TRUE; $selector->apiUsageType = 'UNIT_COUNT_FOR_CLIENTS'; $selector->dateRange = new DateRange(date('Ymd'), date('Ymd')); // Make the get request. $info = $infoService->get($selector); // Display result. $record = $info->apiUsageRecords[0]; echo 'Client id is: '. $record->clientCustomerId; -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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=en