/**
        ** campaignClickStats() method definition
        **/
        public MCClickURL[] campaignClickStats(string cid)
        {
            XmlRpcStruct s = this.api.campaignClickStats(this.apikey, cid);

            MCClickURL[] urls = new MCClickURL[(s).Count];
            int          i    = 0;

            foreach (string name in s.Keys)
            {
                XmlRpcStruct tmp = (XmlRpcStruct)s[name];
                urls[i].url   = name;
                urls[i].stats = new MCClickStats();
                foreach (string stat in tmp.Keys)
                {
                    if (stat == "clicks")
                    {
                        urls[i].stats.clicks = (int)tmp[stat];
                    }
                    if (stat == "unique")
                    {
                        urls[i].stats.unique = (int)tmp[stat];
                    }
                }
                i++;
            }
            return(urls);
        }
 /**
  ** campaignClickStats() method definition
  **/
 public MCClickURL[] campaignClickStats(string cid)
 {
     XmlRpcStruct s = this.api.campaignClickStats(this.apikey, cid);
     MCClickURL[] urls = new MCClickURL[(s).Count];
     int i = 0;
     foreach (string name in s.Keys)
     {
         XmlRpcStruct tmp = (XmlRpcStruct)s[name];
         urls[i].url = name;
         urls[i].stats = new MCClickStats();
         foreach (string stat in tmp.Keys)
         {
             if (stat == "clicks")
             {
                 urls[i].stats.clicks = (int)tmp[stat];
             }
             if (stat == "unique")
             {
                 urls[i].stats.unique = (int)tmp[stat];
             }
         }
         i++;
     }
     return urls;
 }