Re: RateExceededErrors

2011-04-12 Thread Greg Heidel
Yes, I am setting both paging and numberResults. Paging has a start
index of 0 and the numberResults is 100

getBulkKeywordIdeas doesn't appear to provide any assistance when
using the RelatedToUrlSearchParameter as you can't pass in multiple
URLs so I don't really see the difference when getting keywords by
URL?  Also getBulkKeywordIdeas only returns a limited, fixed set of
values according to the docs.

A single-valued RelatedToUrlSearchParameter must be supplied.

On Apr 12, 10:46 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> Are you setting paging and numberResults? Have you tried
> getBulkKeywordIdeas?
>
> Pete
>
> On Apr 12, 11:39 am, Greg Heidel  wrote:
>
>
>
>
>
>
>
> > I am using the TargetingIdeaService, passing in a URL and requesting
> > 100 keyword ideas.
>
> > RelatedToUrlSearchParameter          
> > KeywordMatchTypeSearchParameter      BROAD
>
> > IdeaType               KEYWORD
> > RequestType            IDEAS
> > AttributeTypes         'GLOBAL_MONTHLY_SEARCHES',
> >                        'AVERAGE_TARGETED_MONTHLY_SEARCHES',
> >                        'COMPETITION',
> >                        'EXTRACTED_FROM_WEBPAGE',
> >                        'KEYWORD',
> >                        'KEYWORD_CATEGORY',
> >                        'NGRAM_GROUP',
> >                        'TARGETED_MONTHLY_SEARCHES']
>
> > On Apr 12, 10:03 am, "Pete Lavetsky (AdWords API Guru)"
>
> >  wrote:
> > > What kind of calls are you making and how many objects are you
> > > getting / mutating at a time?  I operate on tons and tons of objects
> > > and have never run into this error.  Can you give more info?
>
> > > Pete
>
> > > On Apr 11, 2:45 pm, Greg Heidel  wrote:
>
> > > > The number of RateExceededErrors seems to increase over time, even if
> > > > I space out my requests. Even increasing the wait time beyond the 30
> > > > seconds that is returned in the API call does not seem to help. I even
> > > > stopped sending any requests for a couple of days but it seems once an
> > > > account starts hitting rate errors the account seems to have very
> > > > limited bandwidth without hitting rate errors again. Initially, when
> > > > the account was first created, I didn't get any rate errors for a few
> > > > hours or maybe even longer. Now even after a couple of days of idle
> > > > time, I can't even get through a few minutes without hitting rate
> > > > errors. At one point, I could no longer make any successful requests
> > > > and I had to create a new account.
>
> > > > Can you give any better explanation as to how this is implemented?

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


Re: RateExceededErrors

2011-04-12 Thread Greg Heidel
I am using the TargetingIdeaService, passing in a URL and requesting
100 keyword ideas.

RelatedToUrlSearchParameter  
KeywordMatchTypeSearchParameter  BROAD

IdeaType   KEYWORD
RequestTypeIDEAS
AttributeTypes 'GLOBAL_MONTHLY_SEARCHES',
   'AVERAGE_TARGETED_MONTHLY_SEARCHES',
   'COMPETITION',
   'EXTRACTED_FROM_WEBPAGE',
   'KEYWORD',
   'KEYWORD_CATEGORY',
   'NGRAM_GROUP',
   'TARGETED_MONTHLY_SEARCHES']

On Apr 12, 10:03 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> What kind of calls are you making and how many objects are you
> getting / mutating at a time?  I operate on tons and tons of objects
> and have never run into this error.  Can you give more info?
>
> Pete
>
> On Apr 11, 2:45 pm, Greg Heidel  wrote:
>
>
>
>
>
>
>
> > The number of RateExceededErrors seems to increase over time, even if
> > I space out my requests. Even increasing the wait time beyond the 30
> > seconds that is returned in the API call does not seem to help. I even
> > stopped sending any requests for a couple of days but it seems once an
> > account starts hitting rate errors the account seems to have very
> > limited bandwidth without hitting rate errors again. Initially, when
> > the account was first created, I didn't get any rate errors for a few
> > hours or maybe even longer. Now even after a couple of days of idle
> > time, I can't even get through a few minutes without hitting rate
> > errors. At one point, I could no longer make any successful requests
> > and I had to create a new account.
>
> > Can you give any better explanation as to how this is implemented?

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


RateExceededErrors

2011-04-11 Thread Greg Heidel
The number of RateExceededErrors seems to increase over time, even if
I space out my requests. Even increasing the wait time beyond the 30
seconds that is returned in the API call does not seem to help. I even
stopped sending any requests for a couple of days but it seems once an
account starts hitting rate errors the account seems to have very
limited bandwidth without hitting rate errors again. Initially, when
the account was first created, I didn't get any rate errors for a few
hours or maybe even longer. Now even after a couple of days of idle
time, I can't even get through a few minutes without hitting rate
errors. At one point, I could no longer make any successful requests
and I had to create a new account.

Can you give any better explanation as to how this is implemented?

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


Python client library for v201101

2011-04-11 Thread Greg Heidel
Is there a new Python client library available for v201101? The
current version does not appear to support this?

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


TargetingIdeaService - RateExceeded Errors

2011-02-15 Thread Greg Heidel
service = TargetingIdeaService
method = get
searchParameter = RelatedToUrlSearchParameter
requestedAttributeTypes = [ 'GLOBAL_MONTHLY_SEARCHES',
'AVERAGE_TARGETED_MONTHLY_SEARCHES',
'COMPETITION',
'EXTRACTED_FROM_WEBPAGE',
'KEYWORD',
'KEYWORD_CATEGORY',
'NGRAM_GROUP',
'TARGETED_MONTHLY_SEARCHES']
Number of results: 100

I am making the call above and a few weeks ago, I could roughly
process 1700 URLs in an hour, now I can only process about 75 an hour
due to rate exceeded errors that are causing many retries. I am
getting account-level rate exceeded errors. Is there any way to check
who is using the account? I assume it is a corporate account but I am
not aware of anyone else using the account. Is there any way to
monitor the rate so that I don't get the errors and have to wait 30
seconds i.e. adjust the pace of calls so that they succeed?

Thanks!

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


Re: RateExceededError question.

2011-02-15 Thread Greg Heidel
I am having the exact same problem however about a week or so ago, I
was able to process around 1700 URLs in an hour, now I can only
process about 75 in an hour? I am getting so many rate limits on the
account that the retries are causing the program to slow to a crawl.
In testing, even running 5 URLs caused 6 retries?

Is this to be expected?

On Jan 31, 4:22 pm, AdWords API Advisor 
wrote:
> Hi Rick,
>
> You are correct, for those two uses cases you can only submit one URL
> or keyword at a time.  We recommend you build in error handling
> mechanisms that can react to aRateExceededError, and you should be
> able to do some tuning to ensure that you don't often exceed the
> limits.
>
> Best,
> - Eric
>
> On Jan 31, 12:27 pm, Rick  wrote:
>
> > Hi Eric, thanks for the response.
>
> > I'm using TargetingIdeaService in 2 ways, both of which don't seem to
> > allow more than one request at a time.
>
> > RelatedToUrlSearchParameter docs state
> > For KEYWORD queries, only one URL may be submitted.
> > and indeed it doesn't work if I try to provide more than 1 URL.
>
> > Second, I'm using RelatedToKeywordSearchParameter to find keywords
> > related to some other keyword. I can provide a list of keywords in
> > this case, but there is no way to find out which returned keyword is
> > related to which submitted keyword. The only way I can think of to get
> > this information is to submit each keyword as a separate
> > RelatedToKeywordSearchParameter.
>
> > Any ideas on how to best deal with these limitations?
>
> > Rick Morris
>
> > On Jan 27, 3:46 pm, AdWords API Advisor 
> > wrote:
>
> > > Hi Rick,
>
> > > Unfortunately there is nothing you can do to change the rate limits
> > > applied to your requests.  Can you give me more background on why you
> > > need to make so many requests per minute?  If you are trying to
> > > retrieve stats on known keywords you can use the requestType STATS and
> > > batch up to 2000 keywords in a single request.
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Jan 25, 3:52 pm, Rick  wrote:
>
> > > > I've found via trial and error if I run a single-threaded process
> > > > making requests against the TargetingIdeaService, I can get about 33
> > > > requests per second.
>
> > > > If I run 2 processes making the exact same call, I get the
> > > >RateExceededErroronce I exceed more than 2 calls every 1.5 seconds,
> > > > or about 0.75 requests per second. That's a pretty heavy penalty for
> > > > trying to load-balance my application.
>
> > > > I notice in the error returned it says:
> > > >RateExceededError > > > rateScope=ACCOUNT, retryAfterSeconds=30>
>
> > > > I see there is a parameter rateKey=light_qps but I can't find any
> > > > documentation on this anywhere. I assume it's some indication of my
> > > > rate limits.
>
> > > > Is there some other rateKey that I can apply for that will let me have
> > > > more than 1 thread active? Or something else I can do about this?
>
> > > > Thanks
> > > > Rick
>
>

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


AdWords API Re: Python API v10.0.1

2010-04-14 Thread Greg Heidel
I resolved this issue...

On Apr 14, 12:42 pm, Greg Heidel  wrote:
> I am having trouble getting any Python API call to succeed and I am
> not getting any useful error information returned.
>
> Here is the result of running an example program:
>
> C:\Research\Python\Libraries\awapi_python_lib_10.0.1\examples\v200909>
> \python26\python get_geo_location_info.py
> Traceback (most recent call last):
>   File "get_geo_location_info.py", line 63, in 
>     geo_locations = geo_location_service.Get(selector)
>   File "C:\python26\lib\site-packages\aw_api\GeoLocationService.py",
> line 105, in Get
>     'GeoLocation', self.__loc, request)
>   File "C:\python26\lib\site-packages\aw_api\WebService.py", line 358,
> in CallMethod
>     self.__ManageSoap(buf, start_time, stop_time, error)
>   File "C:\python26\lib\site-packages\aw_api\WebService.py", line 195,
> in __ManageSoap
>     raise ApiError(fault)
> aw_api.Errors.ApiError

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


AdWords API Python API v10.0.1

2010-04-14 Thread Greg Heidel
I am having trouble getting any Python API call to succeed and I am
not getting any useful error information returned.

Here is the result of running an example program:

C:\Research\Python\Libraries\awapi_python_lib_10.0.1\examples\v200909>
\python26\python get_geo_location_info.py
Traceback (most recent call last):
  File "get_geo_location_info.py", line 63, in 
geo_locations = geo_location_service.Get(selector)
  File "C:\python26\lib\site-packages\aw_api\GeoLocationService.py",
line 105, in Get
'GeoLocation', self.__loc, request)
  File "C:\python26\lib\site-packages\aw_api\WebService.py", line 358,
in CallMethod
self.__ManageSoap(buf, start_time, stop_time, error)
  File "C:\python26\lib\site-packages\aw_api\WebService.py", line 195,
in __ManageSoap
raise ApiError(fault)
aw_api.Errors.ApiError

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


AdWords API TargetingIdeaService results

2010-04-14 Thread Greg Heidel
Any updates on how the API determines the order of the TargetingIdea
results for the Get call? I know that it has been mentioned that it is
in relevance order but I would appreciate an update on what criteria
is determining relevance, if one is available.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


AdWords API Re: v200909 Authentication

2010-03-11 Thread Greg Heidel
The issue was the namespace issue that I saw in another posting. I set
the target namespace in the request header as follows and it worked:

TargetNamespace = "https://adwords.google.com/api/adwords/cm/v200909";

On Mar 11, 4:04 pm, Greg Heidel  wrote:
> I am using the following code to initialize the service:
>
>             var requestHeader = new RequestHeader
>                 {
>                     authToken = new AuthToken("gheidel...@gmail.com",
> "Demand78704").GetToken(),
>                     clientEmail = "gheidel...@gmail.com",
>                     developerToken = "CH5Wpvamcj2CVB3Q530-fA",
>                     userAgent = "DemandMedia"
>                 };
>             _targetingIdeaService.RequestHeader = requestHeader;
>             _targetingIdeaService.Url = "https://adwords-
> sandbox.google.com";
>
> However when I make a call I get the following:
> The request failed with the error message:
> --
> 
> 
> Moved Permanently
> 
> 
> Moved Permanently
> The document has moved http://adwords-sandbox.google.com/
> select/">here.
> 
> 
>
> --.
>
> What am I missing?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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


AdWords API Re: v200909 Authentication

2010-03-11 Thread Greg Heidel
I changed the URL to:

_targetingIdeaService.Url = "https://adwords.google.com/api/adwords/o/
v200909/TargetingIdeaService";

and now I get an error that the authToken is missing in the soap
header...

On Mar 11, 4:04 pm, Greg Heidel  wrote:
> I am using the following code to initialize the service:
>
>             var requestHeader = new RequestHeader
>                 {
>                     authToken = new AuthToken("gheidel...@gmail.com",
> "Demand78704").GetToken(),
>                     clientEmail = "gheidel...@gmail.com",
>                     developerToken = "CH5Wpvamcj2CVB3Q530-fA",
>                     userAgent = "DemandMedia"
>                 };
>             _targetingIdeaService.RequestHeader = requestHeader;
>             _targetingIdeaService.Url = "https://adwords-
> sandbox.google.com";
>
> However when I make a call I get the following:
> The request failed with the error message:
> --
> 
> 
> Moved Permanently
> 
> 
> Moved Permanently
> The document has moved http://adwords-sandbox.google.com/
> select/">here.
> 
> 
>
> --.
>
> What am I missing?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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


AdWords API v200909 Authentication

2010-03-11 Thread Greg Heidel
I am using the following code to initialize the service:

var requestHeader = new RequestHeader
{
authToken = new AuthToken("gheidel...@gmail.com",
"Demand78704").GetToken(),
clientEmail = "gheidel...@gmail.com",
developerToken = "CH5Wpvamcj2CVB3Q530-fA",
userAgent = "DemandMedia"
};
_targetingIdeaService.RequestHeader = requestHeader;
_targetingIdeaService.Url = "https://adwords-
sandbox.google.com";

However when I make a call I get the following:
The request failed with the error message:
--


Moved Permanently


Moved Permanently
The document has moved http://adwords-sandbox.google.com/
select/">here.



--.

What am I missing?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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