I am looking for the keyword data for Local Search Volume and the
Global Monthly Search Volume in the TargetingIdeaService v201008.

http://www.google.com/support/forum/p/AdWords/thread?tid=178ff45b5b388aa7&hl=en

Local Search Volume: [Last Available Month]: This column shows the
approximate number of search queries matching each keyword. This
statistic applies to searches performed on Google and the search
network in the most recent month that we have data for. It's specific
to your targeted country and language as well as your selection from
the Match Type drop-down menu. If we don't have enough data for a
particular keyword, you'll see not enough data.


Global Monthly Search Volume: This column shows the approximate average
monthly number of search queries matching each keyword. This statistic
applies to searches performed on Google and the search network over a
recent 12-month period. It includes traffic in all countries and
languages but is specific to your selection from the Match Type
drop-down menu. If we don't have enough data for a particular keyword,
you'll see not enough data.

===========

I am getting the AVERAGE_TARGETED_MONTHLY_SEARCHES and
GLOBAL_MONTHLY_SEARCHES data from the Google AdWords API without any
problems.

The Global Monthly Search Volume seems like the GLOBAL_MONTHLY_SEARCHES
and the Local Search Volume seems like the TARGETED_MONTHLY_SEARCHES
parameter. The problem is the TARGETED_MONTHLY_SEARCHES returns ZERO
for my keywords.

This is a sample of my code:

#INITIALISE KEYWORD DATA
$page = $targeting_idea_service->get($selector);

#DISPLAY KEYWORD DATA
if(isset($page->entries))
{
#DISPLAY INDIVIDUAL KEYWORD DATA
foreach($page->entries as $entry)
{
#INITIALISE KEYWORD DATA FOR CURRENT KEYWORD
$keyword_data = MapUtils::GetMap($entry->data);

#INITIALISE KEYWORD
$keyword = $keyword_data['KEYWORD']->value;

#INITIALISE MONTHLY SEARCHES
$monthly_searches = $keyword_data['TARGETED_MONTHLY_SEARCHES']->value;
$latest_monthly_searches = $monthly_searches[0];
$monthly_search_count = $latest_monthly_searches->count;

if(!isset($monthly_search_count))
{
$monthly_search_count = 0;
}

#INITIALISE AVERAGE MONTHLY SEARCHES
$average_monthly_searches =
$keyword_data['AVERAGE_TARGETED_MONTHLY_SEARCHES']->value;

#INITIALISE GLOBAL MONTHLY SEARCHES
$global_monthly_searches =
$keyword_data['GLOBAL_MONTHLY_SEARCHES']->value;

#DISPLAY INDIVIDUAL KEYWORD DATA
echo "Keyword: $keyword->text, Match: $keyword->matchType, Targeted
Monthly Searches: $monthly_search_count, Average Targeted Monthly
Searches: $global_monthly_searches, Global Monthly Searches:
$global_monthly_searches\n";
}
}

=========

The $monthly_search_count is always zero for me. It seems to be blank
even when I use the PHP print_r function to see what is inside the
object.

I have tested both the live server and the sandbox server. Both of them
return zero.

Any idea what is happening here?

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

Reply via email to