AdWords API Re: Related Keywords by choosing language

2010-02-06 Thread adwo...@seo-news.at
Thanks, Advisor!

I've managed getting all the informations I need - perfect.
For saving some money I'd like to only get back results with a maxium
of 2 words - so I'd like to get "money" as well as "win money", but if
it contains three or more words ("win money online") it's to
"longtail" ;-)
Any possibility of doing so?

Thanks!

On 6 Feb., 00:28, AdWords API Advisor 
wrote:
> Hi Huggy,
>
> To remove the extra match types you should use the
> KeywordMatchTypeSearchParameter:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Feb 5, 3:12 pm, "adwo...@seo-news.at"  wrote:
>
> > Hi!
>
> > I've managed getting the language stuff (Even if it sometimes returns
> > non-german (I'd guess its dutch)) keywords.
> > But it still returns BROAD, PHRASE and Exact - So I'd have to pay
> > three Credits for one keyword...
> > Would you tell me how to solve that? :-)
>
> > On 5 Feb., 12:51, "adwo...@seo-news.at"  wrote:
>
> > > Hi there!
>
> > > I'm new to the Adwords API but I'm trying to get related keywords (as
> > > well as the monthly search volume) for german language , searches from
> > > Austria.
>
> > > I'm using your basic code mixed with snippets found at the Adwords API
> > > Forum.
>
> > > When I run the code I do only get english results...Do you find my
> > > mistake?
>
> > > ###
>
> > > 
> > > error_reporting(E_STRICT | E_ALL);
> > > $path = dirname(__FILE__) . '/../../src';
> > > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
> > > try {
> > >  $user = new AdWordsUser();
>
> > >                         // Log SOAP XML request and response.
> > >                         $user->LogDefaults();
>
> > >                         $keywordService = $user-
>
> > > >GetTargetingIdeaService();
>
> > >                         $keyword = new Keyword();
> > >                         $keyword->text = "auto";
> > >                         $keyword->matchType = "BROAD";
>
> > >                         $languageService= new LanguageTarget();
> > >                         $languageService->languageCode='de';
> > >                         $languageService->TargetType='de';
>
> > >                         $countryService= new
> > > CountryTargetSearchParameter();
> > >                         $countryService->countryTargets='AT';
>
> > >                         $keyword_array = array($keyword);
> > >                         $relatedToKeywordSearchParameter = new
> > > RelatedToKeywordSearchParameter($keyword_array, $languageService,
> > > $countryService);
>
> > >                         $targetingIdeaSelector = new
> > > TargetingIdeaSelector();
> > >                         $targetingIdeaSelector->searchParameters =
> > > array(
>
> > > $relatedToKeywordSearchParameter
> > >                         );
>
> > >                         $targetingIdeaSelector->ideaType = 'KEYWORD';
> > >                         $targetingIdeaSelector->requestType = 'IDEAS';
>
> > >                         
> > > $targetingIdeaSelector->requestedAttributeTypes=array
>
> > > ( 'KEYWORD','GLOBAL_MONTHLY_SEARCHES' );
> > >                         $targetingIdeaSelector->paging = new
> > > Paging(0,5);
>
> > >                         $page = $keywordService-
>
> > > >get($targetingIdeaSelector);
>
> > >                                                 print_r($page);
>
> > > } catch (Exception $e) {
> > >   print_r($e);
> > > }
>
> > > ?>
>
> > > #
>
> > > Whatever I try, it ends up in american (or english?) results.
> > > Thanks for your help,
>
> > > Huggy

-- 
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: Authentication token and requests per second

2010-02-06 Thread Ales Sturala
Hi Jakob,
I might help you with this one. The problem with 403 Forbidden is
caused by Google servers that filter DOS and that take care of any
communication to Google (not just AdWords api). The exact number of
allowed requests is 180 per 1 minute per IP.

Ales

On Feb 5, 10:12 pm, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> Hi Eric, Nothize,
>
> Thanks for your feedback.I will implement handling expired tokens in
> the proxy layer.
> I am still a bit worried about having a large number of processes
> running in parallel sending requests to the API, all getting a token
> expired exception at the same time and all asking for a fresh token at
> the same time. Having 50 processes ask for a new token at the same
> time could lead to a temporary permission denied.
>
> Cheers

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