getCriterionStats and the order of criterionIds

0 views
Skip to first unread message

MartinHN

unread,
Oct 23, 2008, 5:47:47 PM10/23/08
to AdWords API Forum
I know it is written in the API reference, that "The returned array
may be in a different order than the IDs specified in criterionIds."

Is there any way I can bind them together? It is so amazingly slow to
call getCriterionStats for every single keyword - which makes this
method practically useless!

I might as well order a report, but I just think it's a complete waste
of API units, if an adgroup only contains 50 keywords...

AdWords API Advisor

unread,
Oct 24, 2008, 12:31:47 PM10/24/08
to AdWords API Forum
Hello Martin,

The StatsRecord objects in the array you get back from the AdWords
API have id attributes that can be used to identify which criterion
they correspond to. You have to do a little bookkeeping on your end to
match up based on ids, but I don't think it's overly onerous.

Or is there something more fundamental about what you're trying to do
that I'm missing?

Cheers,
-Jeff Posnick, AdWords API Team
Reply all
Reply to author
Forward
0 new messages