Jeff

Thanks for clarifying this and your quick response.

I have noticed that my program is a bit slow so maybe I will recode it
to perform the way you suggest.

Thanks again.

Peter

On Feb 11, 8:03 pm, AdWords API Advisor <[email protected]>
wrote:
> Hello Peter,
>
>  You'll be charged 1 unit for each keyword that's actually returned.
> So there is no difference in cost between making 1 call to getCriteria
> () with 100 items in the array compared to making 100 calls to
> getCriteria() with 1 item in the array each time--both will be 100
> units.
>
>  It's more efficient from the perspective of the SOAP service to make
> 1 call with 100 items in your input array. But if you find that your
> code is simpler if you make 100 calls, there's no cost-related reason
> not to.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 11, 6:25 am, pedro <[email protected]> wrote:
>
> > Dear Jeff
>
> > Quick question on api unit charging method please.
>
> > If I use getCriteria to request the criteria for say 100 keywords
> > (i.e. pass an array of keywords) and the charge rate is 1 per item.
> > Am I charged 100 units or one unit for the call?
>
> > The reason I ask is that it will be easier for me in my code to call
> > getCriteria for each keyword one at a time and if the charge rate is
> > applied as above it will not cost me any more doing it this way (100
> > calls * 1 unit).
>
> > If however getCriteria for 100 keywords only costs me 1 unit I will
> > code it a different way to take advantage of less units charged.
>
> > I think I know what your answer will be.  It effectively costs 4 units
> > to update a kwDestURL (1 to get it and 3 to update it - using
> > updateCriteria)
>
> > Regards
>
> > Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to