Hello All,
I am trying to use the Adwords v2009 API to lookup the Search Volume
and level of Competition Level for a given keyword, and match type.
Currently when I supply my application with one keyword and match type
I get back 800 suggestions from the TargetingIdeaService, using
RelatedToKeywordSearchParameters. However I am not looking for 800
suggestions, just the data on the one match provided. I see the
ability to exclude certain keywords, (ExcludedKeywordSearchParameter)
however I do not see the ability to get the information about just one
specific keyword.
Is there a filter that I am missing, or perhaps a service that is
better suited to getting this information?
I have included some of the code below, any suggestions would be very
helpful!
$keywordService = $adwordsUser -> GetTargetingIdeaService('v200909');
$keyword = new Keyword();
$keyword-> text = 'example';
$keyword-> matchType = 'EXACT';
$keyword_array = array($keyword);
$relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter($keyword_array);
$targetingIdeaSelector = new TargetingIdeaSelector();
$AttributeType[0] = "AVERAGE_TARGETED_MONTHLY_SEARCHES";
$AttributeType[1] = "COMPETITION";
$AttributeType[2] = "KEYWORD";
$targetingIdeaSelector->searchParameters =
$relatedToKeywordSearchParameter;
$targetingIdeaSelector->ideaType = 'KEYWORD';
$targetingIdeaSelector->requestType = 'IDEAS';
$targetingIdeaSelector->requestedAttributeTypes = $AttributeType;
$targetingIdeaSelector->paging = new Paging(0,800);
$keywordPage = $keywordService->get($targetingIdeaSelector);
Thanks in advance!
~Andrew Burke
SEER Interactive
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en