CampaignStats via Ruby gem

2011-08-18 Thread Mike Subelsky
Hello, I'm trying to access campaign stats via the google-adwords-api Ruby gem but no matter what selector I try, the stats always come back null. This is what I'm using: campaign_srv = adwords.service(:CampaignService, :v201101) selector = { fields: ['Id', 'Name', 'Status'], date_range: {

Re: CampaignStats via Ruby gem

2011-08-23 Thread Danial Klimkin
Hi Mike, I think you already figured this out but I will answer here too, for other users. With the Generic selector requests you need to specify all fields you expect to receive. More fields might get returned but it is not guaranteed. Here is a good reference for all the fields: http://c