All

This is my first post to this forum, so kindly excuse my n00bness.

I am tasked with migrating existing java code that pulls "Creative" reports 
by creating DefinedReportJobs and then downloads them using 
ReportUtils.downloadReport

        public DefinedReportJob getCreativeReport()
        {
                // Create report job.
                DefinedReportJob job = new DefinedReportJob();
                job.setSelectedReportType("Creative");
                job.setAggregationTypes(new String[] {"Daily"});
                job.setStartDay(new ReportDate(year, month, day).toDate());
                job.setEndDay(new ReportDate(year, month, day).toDate());
                job.setName("Daily API Generated Creative Report for 
"+this.processDay);
                job.setSelectedColumns(new String[] {"CreativeId",  
"Impressions", "DailyBudget", "DestinationURL", "Clicks", "Cost"});
                job.setCrossClient(true);
                
                return job;
        }



Recently our adwords contact asked me to migrate code to 201109 apis. 


Here are some of the issues I have:


1) I started with ReportDefinitionService, which would have been a simple like 
for like migration. 

Unfortunately ReportDefinitionService is readonly in v201109. My understanding 
is that this means I cannot create a new Reportdefinition on the fly and query 
it? Is that correct?


2) Assuming 1) is true I think the only way to do this is use the download 
report example at 
http://code.google.com/p/google-api-adwords-java/source/browse/apps/multipleclientreportdownloader/src/com/google/api/adwords/reportdownload/MultipleClientReportDownloaderMain.java


There are 3 issues here. Also I don't know how so many things can change at one 
time.

a) There is no way to get one cross client report.

b) The creative report is now known as Ad performance report. Given that, I 
can't seem to find dailybudget and creativeid in the new report 
http://code.google.com/apis/adwords/docs/appendix/reports.html#ad.

c)Is the only way to get all the data to get all client Ids associated with the 
MCC account and then query the reports one at a time? There are about 70 cids 
associated with our MCC account.


It doesn't seem right that I have to change so many things. Plus everything is 
so badly documented and in pieces all over the place, I'm not even sure if I'm 
doing the right thing.


Can someone guide me in the right direction?


--sai







-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to