In v13, we were generating an ad performance report w/
"aggregationTypes" = "Daily" and "crossClient" = "true".
How do i do this in v201101 (latest) (thru the Ruby adwords API gem)?
i've tried adding it to the operand, but cant get it to work:
operation = {
:operator => 'ADD',
:operand => {
:report_type => 'AD_PERFORMANCE_REPORT',
:report_name => 'Daily Adwords performance report #%d' %
(Time.new.to_f * 1000).to_i,
:selector => {
:fields => ['Impressions', 'Clicks', 'Cost',
'Conversions', 'AveragePosition', 'CampaignId', 'CampaignName',
'CampaignStatus', 'CustomerDescriptiveName'],
:date_range => { :min => day.strftime("%Y%m%d"), :max
=> day.strftime("%Y%m%d")}
},
:date_range_type => 'CUSTOM_DATE',
:download_format => 'XML',
:aggregationTypes => 'Daily',
:cross_client => true
}
}
I need this data (clicks, costs, conversions) summed/averaged for the
day. Each day, i need to download the full day's aggregate
information.
Thanks! Steve.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en