Hey Guys I really cant find an answer to this anywhere.. but it seems in the targeted Ideas API i call these selectors
$selector->requestedAttributeTypes = array('KEYWORD','GLOBAL_MONTHLY_SEARCHES','TARGETED_MONTHLY_SEARCHES','AVERAGE_TARGETED_MONTHLY_SEARCHES'); GLOBAL_MONTHLY_SEARCHES AVERAGE_TARGETED_MONTHLY_SEARCHES Always return the same value .. How do i get the LMS (Local Monthly Searches)? I tried to target the US as so // Create language service. $languageService = new LanguageTarget(); $languageService->languageCode='en'; $languageService->TargetType='en'; $languageTargetSearchParameter = new LanguageTargetSearchParameter(); $languageTargetSearchParameter->languageTargets = array($languageService); // Create country service. $countryService = new CountryTargetSearchParameter(); $countryService->countryTargets = array(new CountryTarget('US')); But that did not make a difference So I then tried to do a calculation of the return value array of TARGETED_MONTHLY_SEARCHES Which gives you a break down by months.. so i wanted to get an avg by this year so I did $min=0; foreach($data['TARGETED_MONTHLY_SEARCHES']->value as $object){ if($object->year==date('Y')){ (float)$search+=(float)$object->count; $min++; } } echo 'LMS: '.((float)$search/$min).' count('.$min.')<br><br>'; Well that gives me an avg for the year 2011 But it is not matching the google keyword tool data How do I get that value? Thanks Ricky -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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