Hi Sai,

Please see my responses inline.

Best,

-David Torres - AdWords API Team

On Sunday, February 26, 2012 1:52:47 AM UTC-5, Sainath Shenoy wrote:
>
> 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?
>
>
The new way to do it is leaner since you don't have to first send a report 
definition to then download it, with ad hoc reports you can send your 
report definition and triggers its download all in one shot.
 

>
> 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.
>
>
You are right, there is not but in most of the cases we have found that 
many of the v13 cross client report users just used to download a single 
big report to then just brake it down into the individual clients.
 

> 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.
>
>
Daily budget is a property of the campaign, in order to make the new 
reports leaner and more performance we had to normalize some fields like 
this one, so to obtain the budget you need to query a campaign report.

The creative id is just named "Id" in the Ad Performance report.
 

> 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.
>
>
>
Yes, that is the new way of downloading reports, and we have greatly 
improved our new reporting system that the process of retrieving those 70 
account reports will take less time than doing it through v13.
 

> 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.
>
>
>
I'm sorry to hear this, I wish you have been tasked with this migration 
with some more time the new version of reports is been out for a while now. 
 Perhaps if you provide a few ideas on how better we could have documented 
this change, we will be more than glad to take your feedback and apply it 
in the future.
 

> Can someone guide me in the right direction?
>
>
> --sai
>
>
>
>
>
>
>
>
On Sunday, February 26, 2012 1:52:47 AM UTC-5, Sainath Shenoy wrote:
>
> 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