2 messages in com.googlegroups.adwords-apiRe: AdWords API StatsRecord| From | Sent On | Attachments |
|---|---|---|
| mogli and .NET | 26 Jul 2005 14:02 | |
| Richard Jones | 27 Jul 2005 02:15 |
| Subject: | Re: AdWords API StatsRecord![]() |
|---|---|
| From: | Richard Jones (r....@annexia.org) |
| Date: | 07/27/2005 02:15:03 AM |
| List: | com.googlegroups.adwords-api |
On Tue, Jul 26, 2005 at 02:03:07PM -0700, mogli and .NET wrote:
I m new to google adwords API. I was just wondering about how can we associate StatsRecord with a particular Keyword. For example, if I want the total statistics of the keyword, whats the way to get them?
Use KeywordService.getKeywordStats (http://www.google.com/apis/adwords/developer/KeywordService.html#getKeywordStats)
This returns a list of StatsRecords, one for each keyword. Now there is a question as to whether the stats records will always be returned in the same order as the keyword IDs that you pass in to this call. It's not clear from the documentation, although it appears to be true in practice. In any case, each StatsRecord contains an ID field (http://www.google.com/apis/adwords/developer/StatsRecord.html#id) which should correspond to one of the keyword IDs, so you can use that to associate stats with keywords.
Have anybody used statsrecord for retrieving statistical information of the keyword? i am getting errors in that. it seems that the statsrecord object is not associating itself with the keyword entity. does anybody have an idea about it?
If you don't tell us what the errors are, it's rather hard to diagnose your problem. Suffice to say that getting stats for keywords works fine for us. Are you trying to get stats for negative keywords?
Rich.
-- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com




