How to set ReportID for downloading report? (v201109)

39 views
Skip to first unread message

K D

unread,
Jan 17, 2012, 2:01:46 AM1/17/12
to AdWords API Forum
Hi

Migrating to v201109, from the example at,
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/DownloadAdHocReport.java

We do not set reportID, but when downloading the report, we need the
reportID http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/DownloadReport.java

in v201101, I used ReportDefinition[] result =
getReportDefinitionService().mutate() to set reportID, what to do in
v201109?

Thanks

K D

unread,
Jan 17, 2012, 4:58:31 AM1/17/12
to AdWords API Forum
One way is to look at code of reportUtils.downloadReport which will
allow downloading of report without reportID, is there any other way
(downloading using reportID)?

On Jan 17, 4:01 pm, K D <beermotorwo...@gmail.com> wrote:
> Hi
>
> Migrating to v201109, from the example at,http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> We do not set reportID, but when downloading the report, we need the
> reportIDhttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/...

mm

unread,
Jan 17, 2012, 10:39:23 AM1/17/12
to AdWords API Forum
Hey KD -
Now that only AdHoc reporting is supported, you are no longer able to
download a report with just an id - you have to supply a full report
definition in your request. Look at
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/DownloadAdHocReport.java
instead

HTH -
mm

K D

unread,
Jan 17, 2012, 8:32:09 PM1/17/12
to AdWords API Forum
Hey MM

Thanks !



On Jan 18, 12:39 am, mm <margaret.a.mar...@gmail.com> wrote:
> Hey KD -
> Now that only AdHoc reporting is supported, you are no longer able to
> download a report with just an id - you have to supply a full report
> definition in your request. Look athttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
Reply all
Reply to author
Forward
0 new messages