How do I get the campaign costs for some date interval?

2011-04-04 Thread Dymytry
Hello everyone! Gentlemen, could you please explain me how can I get the costs of the advertising campaigns via the API? As far as I understand I should get a Campaign object for all the campaigns related to some client, and then get a CampaignStats from it, then use getCosts method. A problem

Re: How do I get the campaign costs for some date interval?

2011-04-07 Thread David Torres
Hi, To restrict your request to a certain date range you need to specify the dateRangein your selector. Another way is to request a CAMPAIGN_PERFORMANCE_REPORT via the ReportDefinitionService

Re: How do I get the campaign costs for some date interval?

2011-04-07 Thread Dymytry
David, thank you very much! Now I have moved a bit towards my destination, but here I created another topic about "how can I get client ids", could you please pay attention to it: http://groups.google.com/group/adwords-api/browse_thread/thread/d627451cd22d3aa?hl=ru -- =~=~=~=~=~=~=~=~=~=~=~=~=~