AdWords API Re: AW: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates?

2008-11-14 Thread AdWords API Advisor

Just to amend something in my previous post: I forgot that we already
impose a server-side restriction on addCriteria() calls that requires
all new criteria in a single call be associated with the same ad
group. So passing in new criteria for multiple ad groups in a single
call isn't an option.

Cheers,
-Jeff Posnick, AdWords API Team


On Nov 10, 1:34 pm, AdWords API Advisor <[EMAIL PROTECTED]>
wrote:
> Hello,
>
>  As Tino points out, the cost in API units is identical regardless of
> the batch size you use for your addCriteria() calls. So that's not a
> consideration.
>
>  Here are a couple of things to keep in mind when deciding how to
> batch up your criteria:
>
> - You need to either call checkCriteria() in advance to make sure all
> your criteria are valid, or be prepared to handle the case where one
> or more of your keywords are considered invalid. If one keyword in
> your addCriteria() request is invalid then none of the other keywords
> in your request will be processed (http://code.google.com/apis/
> adwords/docs/developer/adwords_api_services.html#policychecking), so
> that is something to consider if you're not calling checkCriteria() in
> advance.
>
> - If your primary concern is speed and this isn't a one-off type of
> operation, you may see better performance by bucketing your criteria
> by ad group, and only passing in criteria that are added to the same
> ad group in each addCriteria() call. This isn't the more important
> optimization and will only save you a few milliseconds at best, but
> it's worth mentioning.
>
> - There's some overhead involved in SOAP requests and responses, from
> the XML de/serialization to the time it takes for a roundtrip HTTP
> request. You will in general see higher throughput if you can minimize
> the number of total SOAP requests you make.
>
> - Your HTTP client library might be configured with a client-side
> timeout that will close the connection if the SOAP server takes to
> long in sending back a response due to a very large request. I'm not
> aware of any server-side timeouts that we impose--at least nothing
> that's hardcoded.
>
>  So take all that into account. As for specific recommendations for
> batch sizes, you should be fine with passing several hundred criteria
> into an addCriteria() call. If all you're looking to do is add 10,000
> keywords in a one-off operation then I don't really see much benefit
> in doing them more than a hundred or so at a time in a loop.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> P.S.: I'm actually based on the East Coast, though I might be accused
> of keeping a West Coast schedule. :-)
>
> On Nov 10, 4:51 am, "Tino Hertlein" <[EMAIL PROTECTED]> wrote:
>
> > Sorry, I do not have any official numbers.
>
> > But perhaps Jeff can help you this (european) afternoon, when the Googlers 
> > start to work at the WestCoast  ;-)
>
> > Tino
>
> > --
>
> > Refined Labs GmbH
> > Landwehrstraße 17
> > 80336 München
> > Tel +49 89 1392879-0
> > [EMAIL PROTECTED]
>
> >http://www.refinedlabs.com
>
> > Sitz: München
> > AG München HRB 166589
>
> > Geschäftsführer:
>
> > Thomas Bindl, Stephan Seitz
>
> > Von: Exotic Solutions [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 10. November 2008 10:38
> > An: Tino Hertlein
> > Betreff: Re: AdWords API AW: AdWords API Re: Google Adwords Keyword 
> > Insertion API Usage Rates?
>
> > Dear Tino,
>
> > Thank you for your quick reply.
>
> > Can you provide me any information on the limits to send number of items 
> > per call?
>
> > Regards,
>
> > Shahid.
>
> > On Mon, Nov 10, 2008 at 2:21 PM, Tino Hertlein <[EMAIL PROTECTED]> wrote:
>
> > Unfortunately your calculations are not correct:
>
> > API costs for an addCriteria-call in CriterionService are 20  per item 
> > , not per call!
>
> > So adding 10.000 keywords, will cost you 10.000 * 20 API units, regardless 
> > in how many calls you split the request.
>
> > Though batch-requests are very useful in general, in do not know if 10.000 
> > items per call is exceeding any limitation of the AdWords-webservice...
>
> > Tino
>
> > --
> > Refined Labs GmbH
> > Landwehrstraße 17
> > 80336 München
> > Tel +49 89 1392879-0
> > [EMAIL PROTECTED]://www.refinedlabs.com
>
> > Sitz: München
> > AG München HRB 166589
> > Geschäftsführer:
> > Thomas Bindl, Stephan Seitz
>
> > -Ursprüngliche Nachricht-
> > Von: adwords-api@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von 
> > Exotic Solutions
> > Gesendet: Montag, 10. November 2008 09:28
> > An: AdWords API Forum
> > Betreff: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates?
>
> > Dear Jeff,
>
> > It seems that you are from API team.
> > I would like to know that is it possible to send an API call (one
> > call) of 10,000 keywords at a time using Google API?
> > Basically I would like to reduce cost since I have to get report on
> > more than 1 million keywords
> > Therefore, what I am looking is to send a Packet of 10,000 keywords on
> > each call. Is it possible?
> 

AdWords API Re: AW: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates?

2008-11-10 Thread AdWords API Advisor

Hello,

 As Tino points out, the cost in API units is identical regardless of
the batch size you use for your addCriteria() calls. So that's not a
consideration.

 Here are a couple of things to keep in mind when deciding how to
batch up your criteria:

- You need to either call checkCriteria() in advance to make sure all
your criteria are valid, or be prepared to handle the case where one
or more of your keywords are considered invalid. If one keyword in
your addCriteria() request is invalid then none of the other keywords
in your request will be processed (http://code.google.com/apis/
adwords/docs/developer/adwords_api_services.html#policychecking), so
that is something to consider if you're not calling checkCriteria() in
advance.

- If your primary concern is speed and this isn't a one-off type of
operation, you may see better performance by bucketing your criteria
by ad group, and only passing in criteria that are added to the same
ad group in each addCriteria() call. This isn't the more important
optimization and will only save you a few milliseconds at best, but
it's worth mentioning.

- There's some overhead involved in SOAP requests and responses, from
the XML de/serialization to the time it takes for a roundtrip HTTP
request. You will in general see higher throughput if you can minimize
the number of total SOAP requests you make.

- Your HTTP client library might be configured with a client-side
timeout that will close the connection if the SOAP server takes to
long in sending back a response due to a very large request. I'm not
aware of any server-side timeouts that we impose--at least nothing
that's hardcoded.

 So take all that into account. As for specific recommendations for
batch sizes, you should be fine with passing several hundred criteria
into an addCriteria() call. If all you're looking to do is add 10,000
keywords in a one-off operation then I don't really see much benefit
in doing them more than a hundred or so at a time in a loop.

Cheers,
-Jeff Posnick, AdWords API Team

P.S.: I'm actually based on the East Coast, though I might be accused
of keeping a West Coast schedule. :-)


On Nov 10, 4:51 am, "Tino Hertlein" <[EMAIL PROTECTED]> wrote:
> Sorry, I do not have any official numbers.
>
> But perhaps Jeff can help you this (european) afternoon, when the Googlers 
> start to work at the WestCoast  ;-)
>
> Tino
>
> --
>
> Refined Labs GmbH
> Landwehrstraße 17
> 80336 München
> Tel +49 89 1392879-0
> [EMAIL PROTECTED]
>
> http://www.refinedlabs.com
>
> Sitz: München
> AG München HRB 166589
>
> Geschäftsführer:
>
> Thomas Bindl, Stephan Seitz
>
> Von: Exotic Solutions [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 10. November 2008 10:38
> An: Tino Hertlein
> Betreff: Re: AdWords API AW: AdWords API Re: Google Adwords Keyword Insertion 
> API Usage Rates?
>
> Dear Tino,
>
> Thank you for your quick reply.
>
> Can you provide me any information on the limits to send number of items per 
> call?
>
> Regards,
>
> Shahid.
>
> On Mon, Nov 10, 2008 at 2:21 PM, Tino Hertlein <[EMAIL PROTECTED]> wrote:
>
> Unfortunately your calculations are not correct:
>
> API costs for an addCriteria-call in CriterionService are 20  per item 
> , not per call!
>
> So adding 10.000 keywords, will cost you 10.000 * 20 API units, regardless in 
> how many calls you split the request.
>
> Though batch-requests are very useful in general, in do not know if 10.000 
> items per call is exceeding any limitation of the AdWords-webservice...
>
> Tino
>
> --
> Refined Labs GmbH
> Landwehrstraße 17
> 80336 München
> Tel +49 89 1392879-0
> [EMAIL PROTECTED]://www.refinedlabs.com
>
> Sitz: München
> AG München HRB 166589
> Geschäftsführer:
> Thomas Bindl, Stephan Seitz
>
> -Ursprüngliche Nachricht-
> Von: adwords-api@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von 
> Exotic Solutions
> Gesendet: Montag, 10. November 2008 09:28
> An: AdWords API Forum
> Betreff: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates?
>
> Dear Jeff,
>
> It seems that you are from API team.
> I would like to know that is it possible to send an API call (one
> call) of 10,000 keywords at a time using Google API?
> Basically I would like to reduce cost since I have to get report on
> more than 1 million keywords
> Therefore, what I am looking is to send a Packet of 10,000 keywords on
> each call. Is it possible?
> As per Google rate sheet, Google charge 20 API units to send one API
> call. So if I can send a packet of 10,000 keywords in one call, it
> should cost me 20 API Units for each call as per the rate sheet.
>
> Eagerly waiting for your reply.
>
> Best Regards,
>
> Bryan Raymond.
>
> On Nov 4, 9:15 pm, AdWords API Advisor <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Hello,
>
> >  Jan's calculations are correct, except that we've temporarily reduced
> > our rates for the busy holiday season. As per
>
> >  http://adwordsapi.blogspot.com/2008/10/happy-holidays-enjoy-more-api-...
>
> > 1200 API units = $0.25USD until