AdWords API Re: Keyword Variation - Daily/Monthly report generate option..

2010-02-16 Thread SaravananTopgun

Hi Eric,

Thanks for your response !

Do you have any future plan to release function call to generate
Monthly/Daily keyword trends in v13 KeywordToolService? We are keen on
building a tool which would generate the report automatically on the
given Date/Month as input. Any help OR guidance on this would be
greatly appreciated?

Thanks,
Warm Regards,
Saravanan


On Feb 12, 8:37 pm, AdWords API Advisor 
wrote:
> Hi Saravanan,
>
> This isn't possible with the v13 KeywordToolService, but you can get
> more information using the v200909 TargetingIdeaService.  The
> AttributeType TARGETED_MONTHLY_SEARCHES will return the search volume
> for the last 12 months.
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Feb 11, 11:35 pm,SaravananTopgun wrote:
>
> > FYI..currently, am using V13 and on the other hand , i have setup
> > V200909 as well.
>
> > Thanks,
> > S
>
> > On Feb 11, 7:03 pm,SaravananTopgun wrote:
>
> > > Hi,
>
> > > I have used "get_keyword_variations.php" script to generate keyword
> > > variation report, which is producing the following output.
>
> > > Array ( [moreSpecific] => Array ( [0] => Array ( [text] => live
> > > cricket australia [language] => [advertiserCompetitionScale] => 3
> > > [avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [1] =>
> > > Array ( [text] => cricket test australia [language] =>
> > > [advertiserCompetitionScale] => 2 [avgSearchVolume] => 9900
> > > [lastMonthSearchVolume] => 3600 ) [2] => Array ( [text] => australia
> > > live cricket [language] => [advertiserCompetitionScale] => 3
> > > [avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [3] =>
> > > Array ( [text] => cricket scores australia [language] =>
> > > [advertiserCompetitionScale] => 3 [avgSearchVolume] => 5400
> > > [lastMonthSearchVolume] => -1 ) [4] => Array ( [text] => cricket score
> > > australia [language] => [advertiserCompetitionScale] => 3
> > > [avgSearchVolume] => 22200 [lastMonthSearchVolume] => 1900 ) [5] =>
> > > Array ( [text] => cricket team australia [language] =>
> > > [advertiserCompetitionScale] => 2 [avgSearchVolume] => 5400
> > > [lastMonthSearchVolume] => 1000 ) [6] => Array ( [text] => cricket
> > > australia [language] => [advertiserCompetitionScale] => 5
> > > [avgSearchVolume] => 246000 [lastMonthSearchVolume] => 49500 ) [7] =>
> > > Array ( [text] 
>
> > > Is there a way through which i can generate report for same keyword on
> > > Daily/Monthly(by giving specific month)?
>
> > > Looking forward to hear from you.
>
> > > Thanks,
> > > Warm Regards,
> > > Saravanan

-- 
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-...@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.



AdWords API Re: Correct soap body of a request to TargetingIdeaService

2010-02-12 Thread SaravananTopgun
Hi Eric,

I am using v200909. I think, it doesn't support
TARGETED_MONTHLY_SEARCHES. Could you please recommend any alternative
to use this?

Thanks,
Warm Regards,
Saravanan

On Feb 12, 11:35 pm, AdWords API Advisor
 wrote:
> Hi Saravanan,
>
> As I mentioned, you need to use TARGETED_MONTHLY_SEARCHES instead of
> GLOBAL_MONTHLY_SEARCHES.  This returned attribute will be of the type
> MonthlySearchVolumeAttribute:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> Best,
> - Eric
>
> On Feb 12, 11:14 am, SaravananTopgun  wrote:
>
> > Hi Eric,
>
> > Ok, thats great.
>
> > My script gives result for "cricket" as below..
>
> > "Keyword with text "live cricket" and match type "EXACT" and Global
> > Monthly Search count : "45" was found. "
>
> > (For Ex) If i need to get ideas only for the month of Feb-2009 means,
> > how can i get?
>
> > Please help me out on this.
>
> > I am almost through with the rest !!
>
> > Below one is my script btw !..
>
> >  > /**
> >  * This example gets keywords related to a seed keyword.
> >  *
> >  * PHP version 5
> >  *
> >  * Copyright 2009, Google Inc. All Rights Reserved.
> >  *
> >  * Licensed under the Apache License, Version 2.0 (the "License");
> >  * you may not use this file except in compliance with the License.
> >  * You may obtain a copy of the License at
> >  *
> >  *    http://www.apache.org/licenses/LICENSE-2.0
> >  *
> >  * Unless required by applicable law or agreed to in writing, software
> >  * distributed under the License is distributed on an "AS IS" BASIS,
> >  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> > implied.
> >  * See the License for the specific language governing permissions and
> >  * limitations under the License.
> >  *
> >  * @package    GoogleApiAdsAdWords
> >  * @subpackage v200909
> >  * @category   WebServices
> >  * @copyright  2009, Google Inc. All Rights Reserved.
> >  * @license    http://www.apache.org/licenses/LICENSE-2.0Apache
> > License, Version 2.0
> >  * @author     Eric Koleda 
> >  * @link      
> > http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
> >  */
>
> > error_reporting(E_STRICT | E_ALL);
>
> > // You can set the include path to src directory or reference
> > // AdWordsUser.php directly via require_once.
> > // $path = '/path/to/aw_api_php_lib/src';
> > $path = dirname(__FILE__) . '/../../src';
> > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
>
> > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>
> > try {
> >   // Get AdWordsUser from credentials in "../auth.ini"
> >   // relative to the AdWordsUser.php file's directory.
> >   $user = new AdWordsUser();
>
> >   // Log SOAP XML request and response.
> >   //$user->LogDefaults();
>
> >   // Get the TargetingIdeaService.
> >   $targetingIdeaService = $user->GetTargetingIdeaService('v200909');
>
> >   // Create seed keyword.
> >   $input_keyword = $_REQUEST['q'];
> >   $num_results_per_page = $_REQUEST['number_of_results'];
> >   $keyword = new Keyword();
> >   $keyword->text = $input_keyword;
> >   $keyword->matchType = 'BROAD';
>
> >   // Create selector.
> >   $selector = new TargetingIdeaSelector();
> >   $selector->requestType = 'IDEAS';
> >   $selector->ideaType = 'KEYWORD';
> >   $selector->requestedAttributeTypes =
> > array('KEYWORD','GLOBAL_MONTHLY_SEARCHES');
>
> >   // Set selector paging (required for targeting idea service).
> >   $paging = new Paging();
> >   $paging->startIndex = 0;
> >   $paging->numberResults = $num_results_per_page;
> >   $selector->paging = $paging;
>
> >   // Create related to keyword search parameter.
> >   $relatedToKeywordSearchParameter = new
> > RelatedToKeywordSearchParameter();
> >   $relatedToKeywordSearchParameter->keywords = array($keyword);
> >   $selector->searchParameters =
> > array($relatedToKeywordSearchParameter);
>
> >   // Get related keywords.
> >   $page = $targetingIdeaService->get($selector);
> >   print "";
> >   //print_r($page->entries);
> >   print "";
> >   //print_r($keyword);
> >   // Display related keywords.
> >   if (isset(

AdWords API Re: Correct soap body of a request to TargetingIdeaService

2010-02-12 Thread SaravananTopgun
Hi Eric,

Ok, thats great.

My script gives result for "cricket" as below..

"Keyword with text "live cricket" and match type "EXACT" and Global
Monthly Search count : "45" was found. "

(For Ex) If i need to get ideas only for the month of Feb-2009 means,
how can i get?

Please help me out on this.

I am almost through with the rest !!

Below one is my script btw !..

http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * @packageGoogleApiAdsAdWords
 * @subpackage v200909
 * @category   WebServices
 * @copyright  2009, Google Inc. All Rights Reserved.
 * @licensehttp://www.apache.org/licenses/LICENSE-2.0 Apache
License, Version 2.0
 * @author Eric Koleda 
 * @link   
http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.html
 */

error_reporting(E_STRICT | E_ALL);

// You can set the include path to src directory or reference
// AdWordsUser.php directly via require_once.
// $path = '/path/to/aw_api_php_lib/src';
$path = dirname(__FILE__) . '/../../src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';

try {
  // Get AdWordsUser from credentials in "../auth.ini"
  // relative to the AdWordsUser.php file's directory.
  $user = new AdWordsUser();

  // Log SOAP XML request and response.
  //$user->LogDefaults();

  // Get the TargetingIdeaService.
  $targetingIdeaService = $user->GetTargetingIdeaService('v200909');

  // Create seed keyword.
  $input_keyword = $_REQUEST['q'];
  $num_results_per_page = $_REQUEST['number_of_results'];
  $keyword = new Keyword();
  $keyword->text = $input_keyword;
  $keyword->matchType = 'BROAD';

  // Create selector.
  $selector = new TargetingIdeaSelector();
  $selector->requestType = 'IDEAS';
  $selector->ideaType = 'KEYWORD';
  $selector->requestedAttributeTypes =
array('KEYWORD','GLOBAL_MONTHLY_SEARCHES');

  // Set selector paging (required for targeting idea service).
  $paging = new Paging();
  $paging->startIndex = 0;
  $paging->numberResults = $num_results_per_page;
  $selector->paging = $paging;

  // Create related to keyword search parameter.
  $relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter();
  $relatedToKeywordSearchParameter->keywords = array($keyword);
  $selector->searchParameters =
array($relatedToKeywordSearchParameter);

  // Get related keywords.
  $page = $targetingIdeaService->get($selector);
  print "";
  //print_r($page->entries);
  print "";
  //print_r($keyword);
  // Display related keywords.
  if (isset($page->entries)) {
foreach ($page->entries as $targetingIdea) {
  $keyword = $targetingIdea->data[0]->value->value;
  $gmv = $targetingIdea->data[1]->value;
  print 'Keyword with text "' . $keyword->text . '" and match type
"'
  . $keyword->matchType .'" and Global Monthly Search count :
"'
  . $gmv->value . "\" was found.\n";
}
  } else {
print "No related keywords were found.\n";
  }
} catch (Exception $e) {
  print_r($e);
}


Thanks,
Warm Regards,
Saravanan

On Feb 12, 8:55 pm, AdWords API Advisor 
wrote:
> Hi Saravanan,
>
> It is only possible to get search volume by month, not by day.  I made
> a mistake above, as the past 12 months are in the attribute
> TARGETED_MONTHLY_SEARCHES, not GLOBAL_MONTHLY_SEARCHES (which is an
> average for a single month).  You cannot specify a particular month,
> but they should all be in the list returned.
>
> Best,
> - Eric
>
> On Feb 12, 2:30 am, SaravananTopgun  wrote:
>
> > Hi Eric,
>
> > Is that possible to get the ideas(keywords) specific to individual day/
> > month using PHP?
>
> > Thanks,
> > Warm Regards,
> > Saravanan
> > On Jan 20, 10:39 pm, AdWords API Advisor
>
> >  wrote:
> > > Hi Michal,
>
> > > The first thing to remember is that all data returned from sandbox for
> > > the TargetingIdeaService will be dummy.  As for the number of results
> > > returned, the numberResults field controls how many ideas (keywords)
> > > are returned per page.  The GLOBAL_MONTHLY_SEARCHES attribute returns
> > > the search volume for the last 12 months for each keyword, and this
> > > amount can not be c

AdWords API Re: Correct soap body of a request to TargetingIdeaService

2010-02-11 Thread SaravananTopgun
Hi Eric,

Is that possible to get the ideas(keywords) specific to individual day/
month using PHP?

Thanks,
Warm Regards,
Saravanan
On Jan 20, 10:39 pm, AdWords API Advisor
 wrote:
> Hi Michal,
>
> The first thing to remember is that all data returned from sandbox for
> the TargetingIdeaService will be dummy.  As for the number of results
> returned, the numberResults field controls how many ideas (keywords)
> are returned per page.  The GLOBAL_MONTHLY_SEARCHES attribute returns
> the search volume for the last 12 months for each keyword, and this
> amount can not be controlled by paging.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 18, 6:23 pm, Michal  wrote:
>
> > I would like to get GLOBAL_MONTHLY_SEARCHES data for a keyword_text.
> > Is that the correct body for this request?
>
> > 
> > https://adwords.google.com/api/adwords/o/v200909";>
> >  > xsi:type="RelatedToKeywordSearchParameter">
> > keyword_text
> > EXACT
> > 
> > 
> > KEYWORD
> > STATSKEYWORD > requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES > requestedAttributeTypes>0 > ns1:startIndex>10
> > 
> > 
> > 
> > 
>
> > Should sandbox respond with 12 (for each month) dummy LongAttribute
> > numbers ?
> > Why then the paging is needed?
>
> > I'm confused because in responses I'm getting from sandbox, the number
> > of results actually corresponds to a numberResults defined.
>
> > Thanks,
> > Michal

-- 
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-...@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.



AdWords API Re: Keyword Variation - Daily/Monthly report generate option..

2010-02-11 Thread SaravananTopgun
FYI..currently, am using V13 and on the other hand , i have setup
V200909 as well.

Thanks,
S

On Feb 11, 7:03 pm, SaravananTopgun  wrote:
> Hi,
>
> I have used "get_keyword_variations.php" script to generate keyword
> variation report, which is producing the following output.
>
> Array ( [moreSpecific] => Array ( [0] => Array ( [text] => live
> cricket australia [language] => [advertiserCompetitionScale] => 3
> [avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [1] =>
> Array ( [text] => cricket test australia [language] =>
> [advertiserCompetitionScale] => 2 [avgSearchVolume] => 9900
> [lastMonthSearchVolume] => 3600 ) [2] => Array ( [text] => australia
> live cricket [language] => [advertiserCompetitionScale] => 3
> [avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [3] =>
> Array ( [text] => cricket scores australia [language] =>
> [advertiserCompetitionScale] => 3 [avgSearchVolume] => 5400
> [lastMonthSearchVolume] => -1 ) [4] => Array ( [text] => cricket score
> australia [language] => [advertiserCompetitionScale] => 3
> [avgSearchVolume] => 22200 [lastMonthSearchVolume] => 1900 ) [5] =>
> Array ( [text] => cricket team australia [language] =>
> [advertiserCompetitionScale] => 2 [avgSearchVolume] => 5400
> [lastMonthSearchVolume] => 1000 ) [6] => Array ( [text] => cricket
> australia [language] => [advertiserCompetitionScale] => 5
> [avgSearchVolume] => 246000 [lastMonthSearchVolume] => 49500 ) [7] =>
> Array ( [text] 
>
> Is there a way through which i can generate report for same keyword on
> Daily/Monthly(by giving specific month)?
>
> Looking forward to hear from you.
>
> Thanks,
> Warm Regards,
> Saravanan

-- 
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-...@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.



AdWords API Keyword Variation - Daily/Monthly report generate option..

2010-02-11 Thread SaravananTopgun

Hi,

I have used "get_keyword_variations.php" script to generate keyword
variation report, which is producing the following output.

Array ( [moreSpecific] => Array ( [0] => Array ( [text] => live
cricket australia [language] => [advertiserCompetitionScale] => 3
[avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [1] =>
Array ( [text] => cricket test australia [language] =>
[advertiserCompetitionScale] => 2 [avgSearchVolume] => 9900
[lastMonthSearchVolume] => 3600 ) [2] => Array ( [text] => australia
live cricket [language] => [advertiserCompetitionScale] => 3
[avgSearchVolume] => 40500 [lastMonthSearchVolume] => 12100 ) [3] =>
Array ( [text] => cricket scores australia [language] =>
[advertiserCompetitionScale] => 3 [avgSearchVolume] => 5400
[lastMonthSearchVolume] => -1 ) [4] => Array ( [text] => cricket score
australia [language] => [advertiserCompetitionScale] => 3
[avgSearchVolume] => 22200 [lastMonthSearchVolume] => 1900 ) [5] =>
Array ( [text] => cricket team australia [language] =>
[advertiserCompetitionScale] => 2 [avgSearchVolume] => 5400
[lastMonthSearchVolume] => 1000 ) [6] => Array ( [text] => cricket
australia [language] => [advertiserCompetitionScale] => 5
[avgSearchVolume] => 246000 [lastMonthSearchVolume] => 49500 ) [7] =>
Array ( [text] 

Is there a way through which i can generate report for same keyword on
Daily/Monthly(by giving specific month)?

Looking forward to hear from you.

Thanks,
Warm Regards,
Saravanan

-- 
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-...@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.