Is this accurate? Can I retrieve 10,000 keywords using getAllKeywords,
500 creatives using getAllCreatives, or 100 campaigns using
getAllAdWordsCampaigns for only a single quota unit for each operation?
http://www.google.com/support/adwordsapi/bin/answer.py?answer=21996&topic=-1
Thanks,
Zach
Coincidentally, this question -- does getAllKeywords(adGroupId)
actually consume only 1 unit total -- has also become critically
important to us as well.
We can't seem to test it, because there seems to be a lag in updating
quota (two consecutive calls to the Info Service won't reveal different
quota usage numbers). Any guidance would be MOST appreciated!
YIKES. I'd better go back out my changes now, before we blow through
what little is left of this month's quota!
To the Google folks: PLEASE make sure the rate sheet is up-to-date and
correct. We're doing everything we can to be efficient with our quota
use, but mistakes like these can completely trash our ability to do so
-- and to drive business your way.
-- Rajiv
For PHP+nusoap developers, you can access the SOAP response headers
using the soapclient::getHeaders() function after making your service
call.
eg (following the syntax from the Google PHP examples):
<?
$response = $client->call("getAllWhatever", $param);
$responseHeaders = $client->getHeaders();
print $responseHeaders();
?>
The above snippet should give you a sense of the SOAP response headers.
CampaignService cs = new
CampaignServiceServiceLocator().getCampaignService();
Campaign [] cps = cs.getAllAdWordsCampaigns(0);
SOAPHeaderElement[] headers = ((Stub) cs).getResponseHeaders();
for (SOAPHeaderElement h: headers){
System.out.println(h.getName());
System.out.println(h.getValue());
}
Thanks Patrick.
The fact that this KeywordService.getAllKeywords was in error makes me
suspicious of some other operations that, on the updated rate sheet,
are not "per item." For example:
KeywordService.getActiveKeywords -- does it cost 1 unit regardless of
how many keywords are returned?
KeywordService.getKeywordStatus -- 1 unit regardless of how many stats
records?
And I kind of hate to bring it up, but why would anybody use
setKeywordListMaxCpc at a cost 10 per item when one can accomplish the
same thing for only 2 per item using getKeywordList and
updateKeywordList? (Or are these published costs incorrect?)
-- Rajiv