Can anyone help how to get suggested bid value for keyword ?

2014-05-08 Thread sugarose89
Hi

By using keyword planner tool we able to get avg monthly searches 
,competition and suggested bid value?

How do i get same result from adword api?

Can anyone help me?


Thanks,'
Sugappriya

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [0-6159000003447] How to get keyword serach volume using Adwords API?

2014-05-08 Thread sugarose89
Thank you so much Josh

On Friday, May 9, 2014 2:04:25 AM UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Sugappriya,

 The SEARCH_VOLUME 
 AttributeTypehttps://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService.TargetingIdeaSelector#requestedAttributeTypes
  will 
 return average monthly searches.

 Cheers,
 Josh, AdWords API Team


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [0-6159000003447] How to get keyword serach volume using Adwords API?

2014-05-08 Thread sugarose89
Hi Josh,

COMPETITION Attribute returns the value  between 0 to 1. If i would like to 
get low ,medium or high format.What should i do.


Thanks,
Sugappriya

On Friday, May 9, 2014 10:04:17 AM UTC+5:30, sugar...@gmail.com wrote:

 Thank you so much Josh

 On Friday, May 9, 2014 2:04:25 AM UTC+5:30, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Sugappriya,

 The SEARCH_VOLUME 
 AttributeTypehttps://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService.TargetingIdeaSelector#requestedAttributeTypes
  will 
 return average monthly searches.

 Cheers,
 Josh, AdWords API Team



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get keyword serach volume using Adwords API?

2014-05-06 Thread sugarose89




Hi Josh,

I am able to access the api with my test account. 

I am trying to get avg monthly search value for the given keyword.But its 
not giving same result as keyword planner tool.


this is my code



require_once dirname(dirname(__FILE__)) . '/init.php';
$user = new AdWordsUser();
// Log every SOAP XML request and response.
$user-LogAll();
$adwords_version = ADWORDS_VERSION;
$keyword = lease-accounting;
$values = GetTargetingIdea($user, $adwords_version, $keyword);
print_r($values);
function GetTargetingIdea(AdwordsUser $user, $adwords_version, $keyword)
{
// Load the service, so that the required classes are available.
$targetingIdeaService = 
$user-GetTargetingIdeaService($adwords_version);

$languageParameter = new LanguageSearchParameter();
$english = new Language();
$english-id = 1000;
$languageParameter-languages = array($english);

// Create selector.
$selector = new TargetingIdeaSelector();
$selector-requestType = STATS;
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes = 
array('KEYWORD_TEXT','SEARCH_VOLUME');
 
$locationTargetParameter = new LocationSearchParameter();
$location = new location();
$location-id = 2840;
$locationTargetParameter-locations = $location;
  
$relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
$relatedToQuerySearchParameter-queries = array($keyword);
$selector-searchParameters[] = $relatedToQuerySearchParameter;
//$selector-searchParameters[] = $languageParameter;
//$selector-searchParameters[] = $locationTargetParameter;

// Create paging controls.
$selector-paging = new Paging(0, 
AdWordsConstants::RECOMMENDED_PAGE_SIZE);
$ret = array();
do {
// Make the get request.
$page = $targetingIdeaService-get($selector);
 
// Display results.
if (isset($page-entries)) 
{
foreach ($page-entries as $adGroupAd) 
{
$ret[] = array(
'keyword text' = $adGroupAd-data[0]-value-value,
'searchvolume' = $adGroupAd-data[1]-value-value,


);
}
}
// Advance the paging index.
$selector-paging-startIndex += 
AdWordsConstants::RECOMMENDED_PAGE_SIZE;
} while ($page-totalNumEntries  $selector-paging-startIndex);
return $ret;
}


and i am getting result as

 Array ( [0] = Array ( [keyword text] = lease-accounting [searchvolume] 
= -619437956526634531 ) ) 

i got this from keyword planner tool


https://lh4.googleusercontent.com/-rAlLr6W_hcA/U2jT_JYbHMI/AB8/tV6hiGIrvrc/s1600/Google+AdWords++Keyword+Planner.png






Please help me out of this.


Thanks,
Sugappriya
 

 Can anyone please let me know the steps to get search volume of keywords 
 in php?


 Thanks,
 Sugappriya


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get keyword serach volume using Adwords API?

2014-05-06 Thread sugarose89

Hi Josh,

I created Refresh token and client customer id from test acount only. My 
developer token is still pending for review.

I used like this $selector-requestType = STATS

and i was trying to fetch avg monthly searches but its giving the below 
result.But in keyword planner tool its showing 1900.You can refer my 
previous post image.

Array ( [0] = Array ( [keyword text] = lease-accounting [searchvolume] = 
Array ( [0] = MonthlySearchVolume Object ( [year] = 2014 [month] = 4 
[count] = 5470032339580407767 ) [1] = MonthlySearchVolume Object ( [year] 
= 2014 [month] = 3 [count] = -564243844579747617 ) [2] = 
MonthlySearchVolume Object ( [year] = 2014 [month] = 2 [count] = 
-6370275530849895689 ) [3] = MonthlySearchVolume Object ( [year] = 2014 
[month] = 1 [count] = 1974808081556354969 ) [4] = MonthlySearchVolume 
Object ( [year] = 2013 [month] = 12 [count] = 958637242624284451 ) [5] 
= MonthlySearchVolume Object ( [year] = 2013 [month] = 11 [count] = 
849376547664379796 ) [6] = MonthlySearchVolume Object ( [year] = 2013 
[month] = 10 [count] = 1556130635073640503 ) [7] = MonthlySearchVolume 
Object ( [year] = 2013 [month] = 9 [count] = -3664306422764977970 ) [8] 
= MonthlySearchVolume Object ( [year] = 2013 [month] = 8 [count] = 
-8272530439122489372 ) [9] = MonthlySearchVolume Object ( [year] = 2013 
[month] = 7 [count] = 2603995224135419719 ) [10] = MonthlySearchVolume 
Object ( [year] = 2013 [month] = 6 [count] = 5361983111252305629 ) [11] 
= MonthlySearchVolume Object ( [year] = 2013 [month] = 5 [count] = 
-7336862422889296561 ) ) ) ) 


Is that because of am using test account.Can you please help me to 
understand?

Thanks,
Sugappriya
On Tuesday, May 6, 2014 6:55:08 PM UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Sugappriya,

 Are you using your test account in the TargetingIdeaService request?  If 
 so, the data returned will be dummy data.  You won't be able to use the 
 TargetingIdeaService to get meaningful data until you have an approved 
 developer token and issue the requests against a non-test account.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, May 6, 2014 8:23:55 AM UTC-4, sugar...@gmail.com wrote:



 Hi Josh,

 I am able to access the api with my test account. 

 I am trying to get avg monthly search value for the given keyword.But its 
 not giving same result as keyword planner tool.


 this is my code



 require_once dirname(dirname(__FILE__)) . '/init.php';
 $user = new AdWordsUser();
 // Log every SOAP XML request and response.
 $user-LogAll();
 $adwords_version = ADWORDS_VERSION;
 $keyword = lease-accounting;
 $values = GetTargetingIdea($user, $adwords_version, $keyword);
 print_r($values);
 function GetTargetingIdea(AdwordsUser $user, $adwords_version, $keyword)
 {
 // Load the service, so that the required classes are available.
 $targetingIdeaService = 
 $user-GetTargetingIdeaService($adwords_version);
 
 $languageParameter = new LanguageSearchParameter();
 $english = new Language();
 $english-id = 1000;
 $languageParameter-languages = array($english);
 
 // Create selector.
 $selector = new TargetingIdeaSelector();
 $selector-requestType = STATS;
 $selector-ideaType = 'KEYWORD';
 $selector-requestedAttributeTypes = 
 array('KEYWORD_TEXT','SEARCH_VOLUME');
  
 $locationTargetParameter = new LocationSearchParameter();
 $location = new location();
 $location-id = 2840;
 $locationTargetParameter-locations = $location;
   
 $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
 $relatedToQuerySearchParameter-queries = array($keyword);
 $selector-searchParameters[] = $relatedToQuerySearchParameter;
 //$selector-searchParameters[] = $languageParameter;
 //$selector-searchParameters[] = $locationTargetParameter;
 
 // Create paging controls.
 $selector-paging = new Paging(0, 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);
 $ret = array();
 do {
 // Make the get request.
 $page = $targetingIdeaService-get($selector);
  
 // Display results.
 if (isset($page-entries)) 
 {
 foreach ($page-entries as $adGroupAd) 
 {
 $ret[] = array(
 'keyword text' = $adGroupAd-data[0]-value-value,
 'searchvolume' = $adGroupAd-data[1]-value-value,
 
 
 );
 }
 }
 // Advance the paging index.
 $selector-paging-startIndex += 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE;
 } while ($page-totalNumEntries  $selector-paging-startIndex);
 return $ret;
 }


 and i am getting result as

  Array ( [0] = Array ( [keyword text] = lease-accounting [searchvolume] 
 = -619437956526634531 ) ) 

 i got this from keyword planner tool



 https://lh4.googleusercontent.com/-rAlLr6W_hcA/U2jT_JYbHMI/AB8/tV6hiGIrvrc/s1600/Google+AdWords++Keyword+Planner.png






 

Re: How to get keyword serach volume using Adwords API?

2014-05-02 Thread sugarose89
I cant setup billing preferences if i select India region.Can you help me?

On Friday, May 2, 2014 3:07:09 PM UTC+5:30, suga priya wrote:

 Thank you.Can we try with test account i having pending approval developer 
 token



 On Wednesday, 30 April 2014 19:25:29 UTC+5:30, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Sugappriya,

 Yes - the 
 TargetingIdeaServicehttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaServicemirrors
  the functionality of the Keyword Planner tool.  The GetKeywordIdeas.php 
 examplehttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/GetKeywordIdeas.php
  I 
 mentioned in my previous post shows how to use this service.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, April 30, 2014 2:35:27 AM UTC-4, suga priya wrote:

 Hi Josh,

 Thanks for the information.I am gonna start using Adwords API in couple 
 of days. Before that i would like confirm with you we can able to get 
 search volume through API instead of getting through keyword planner 
 manually.

 Thanks,
 Sugappriya

 On Tuesday, 29 April 2014 22:54:08 UTC+5:30, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Sugappriya,

 There are several code examples in the PHP client library that 
 demonstrate how to do this for various use cases.

- 
 EstimateKeywordTraffic.phphttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php
  - 
predict upcoming performance for keywords
- 
 GetKeywordIdeas.phphttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/GetKeywordIdeas.php
  - 
view past performance for new keyword ideas

 If instead you are interested in viewing the performance of keywords 
 that are already in your account, you could use the Keywords 
 Performance 
 Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#keywords.
  
  See the 
 DownloadCriteriaReport.phphttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php
  code 
 sample for how to run reports.  You will have to modify that sample 
 slightly so that it runs the Keywords Performance Report, but the changes 
 should be fairly self-explanatory.

 Cheers,
 Josh, AdWords API Team

 On Tuesday, April 29, 2014 9:43:25 AM UTC-4, suga priya wrote:

 Can anyone please let me know the steps to get search volume of 
 keywords in php?


 Thanks,
 Sugappriya



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.