Hi,

We are having a problem getting monthly search volume for April and
May 2010 with the targeting idea service. We are using
TARGETED_MONTHLY_SEARCHES to obtain the search volume in each of the
last 12 months, and it returns search volumes for June 2009 up to
March 2010, but it doesn't return anything for April and May 2010.

Can someone have a look to see whether there is a problem with our
code, or is there perhaps a problem with the API that it simply
doesn't return data for these two most recent months? Below is the
code we have used to get the search volume for several keywords,
including big terms like toys for which we would expect a big search
volume in any month.

Any help is much appreciated.


$user = new AdWordsUser();
$user->LogDefaults();
$user->SetClientId('*******');
$targetingIdeaService = $user->GetTargetingIdeaService('v200909');

$keywords = array();
$keyword = new Keyword();
$keyword->text = 'window shutters';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;
$keyword = new Keyword();
$keyword->text = 'shutters';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;
$keyword = new Keyword();
$keyword->text = 'plantation shutters';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;
$keyword = new Keyword();
$keyword->text = 'blinds';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;
$keyword = new Keyword();
$keyword->text = 'toys';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;
$keyword = new Keyword();
$keyword->text = 'playmobil';
$keyword->matchType = 'EXACT';
$keywords[] = $keyword;

$selector = new TargetingIdeaSelector();
$selector->requestType = 'STATS';
$selector->ideaType = 'KEYWORD';
$selector->requestedAttributeTypes = array('KEYWORD',
'TARGETED_MONTHLY_SEARCHES');

$paging = new Paging();
$paging->startIndex = 0;
$paging->numberResults = 10;
$selector->paging = $paging;

$relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter();
$relatedToKeywordSearchParameter->keywords = $keywords;
$keywordMatchTypeSearchParameter = new
KeywordMatchTypeSearchParameter(array('EXACT'));
$countryTargetSearchParameter = new CountryTargetSearchParameter();
$countryTargetSearchParameter->countryTargets = array(new
CountryTarget('GB'));
$languageTargetSearchParameter = new LanguageTargetSearchParameter();
$languageTargetSearchParameter->languageTargets = array(new
LanguageTarget('en'));

$selector->searchParameters = array($relatedToKeywordSearchParameter,
$countryTargetSearchParameter, $languageTargetSearchParameter,
$keywordMatchTypeSearchParameter);

$page = $targetingIdeaService->get($selector);

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to