Hi I am trying to fetch the keyword search volume, For a single keyword I am able to get the AVERAGE_TARGETED_MONTHLY_SEARCHES, GLOBAL_MONTHLY_SEARCHES etc. But is there any way to get stats for multiple keywords in one api call.
I had tried like this: ------------------------------------------------------------------------------------------------------------------------------------------------------------ $targetingIdeaService = $user->GetTargetingIdeaService('v200909'); // Create seed keyword. $keyword1 = new Keyword(); $keyword1->text = 'WEb Blog'; $keyword1->matchType = 'EXACT'; $keyword2 = new Keyword(); $keyword2->text = 'Maths Calculator'; $keyword2->matchType = 'EXACT'; $keyword3 = new Keyword(); $keyword3->text = 'Friction Power'; $keyword3->matchType = 'EXACT'; $keyword4 = new Keyword(); $keyword4->text = 'Friction Physics'; $keyword4->matchType = 'EXACT'; $languageTarget = new LanguageTarget(); $languageTarget->languageCode="en"; $countryTarget = new CountryTarget(); $countryTarget->countryCode="US"; // Create selector. $selector = new TargetingIdeaSelector(); $selector->requestType = 'STATS'; $selector->ideaType = 'KEYWORD'; $selector->localeCode="en_US"; $selector->requestedAttributeTypes = array('KEYWORD','AVERAGE_TARGETED_MONTHLY_SEARCHES','GLOBAL_MONTHLY_SEARCHES'); // Set selector paging (required for targeting idea service). $paging = new Paging(); $paging->startIndex = 0; $paging->numberResults = 1; $selector->paging = $paging; // Create related to keyword search parameter. $relatedToKeywordSearchParameter = new RelatedToKeywordSearchParameter(); $relatedToKeywordSearchParameter->keywords = array($keyword1,$keyword2,$keyword3,$keyword4); $languageTargetSearchParameter = new LanguageTargetSearchParameter(); $languageTargetSearchParameter->languageTargets=$languageTarget; $countryTargetSearchParameter= new CountryTargetSearchParameter(); $countryTargetSearchParameter->countryTargets= $countryTarget; $selector->searchParameters = array($relatedToKeywordSearchParameter, $languageTargetSearchParameter,$countryTargetSearchParameter); // Get related keywords. $page = $targetingIdeaService->get($selector); -------------------------------------------------------------------------------------------------------------------------------------------------------------- But still I am getting the result for first keyword only. Please help me out. Thanks in advance. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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