Ah, sorry, misunderstood your question. The documentation
is incorrect
(will be updated w/ the next release). You are only charged
a quota
point per item for update/add operations. Get operations
are 1 per
call, regardless of # of items returned.
Hope that helps,
-Y!SM Monkey
tianyul wrote:
> As in the online documentation, "your operation
quota is charged for
> each item in the list, not for the single, enclosing
request."
>
> For a case study,
> Sep 1st: I created account xyz, and create 5 campaigns
under it.
> Sep 2nd: I call getCampaignsByAccountID('xyz') and
get a list of 5
> campaigns back, how many quota should it use, 5?
> Sep 3rd: I call getCampaignsByAccountID('xyz') again,
will that cause
> another 5 quota?
>
> My expectation is 5 quota usage for every call, but
only 1 deducted.
>
> We use web UI to manage the campaigns and download them
to our local
> system.
>
>
> --- In yws-searchmarketing@yahoogroups.com,
"Yahoo! Search Marketing
> Monkey" <plummerm ...> wrote:
>> Hey,
>>
>> Quota resets at midnight each night (PST for now in
the sandbox, I
>> think). Were the 3 campaigns created on day 1 and
the
>> getMasterAccountLocation + getCampaignsByAccountID
called on day 2?
>> That would explain this behavior.
>>
>> Thanks,
>> -Y!SM Monkey
>>
>> tianyul wrote:
>>> I have 3 campaigns created in sandbox. When I
use
>>> CampaignService.getCampaignsByAccountID to get
all of them, there are
>>> only 2 quota been charged, and one of them is
for calling
>>> getMasterAccountLocation.
>>>
>>> My understanding from the documentation, there
should be 4 quota used.
>>> Is this a bug in sandbox or you guys are very
nice to change the way
>>> calculating quota?
>>>
>>>
> http://ysm.techportal.searchmarketing.yah
oo.com/docs/gsg/auth.asp#quota
>>> "Note that for operations that process
lists of accounts,
> campaigns, ad
>>> groups, or keywords (getCampaigns, for
example), your operation
> quota is
>>> charged for each item in the list, not for the
single, enclosing
>>> request."
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
ht
tp://groups.yahoo.com/group/yws-searchmarketing/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/yws-searchmarketing/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:yws-searchmarketing-digest@yahoogroups.com
mailto:yws-searchmarketing-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
yws-searchmarketing-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|