Abnormal result of in report

18 views
Skip to first unread message

Adlogix

unread,
May 15, 2012, 2:09:21 AM5/15/12
to Google's DoubleClick for Publishers API Forum
When i am run the report , for example for csv report , I am creating
report query as below ,

ReportQuery reportQuery = new ReportQuery();
reportQuery.setStatement(filterStatement);
reportQuery.setDateRangeType(DateRangeType.CUSTOM_DATE);
reportQuery.setStartDate(lineItem.getStartDateTime().getDate());
reportQuery.setEndDate(lineItem.getEndDateTime().getDate());
reportQuery.setDimensions(new Dimension[] { Dimension.DATE });
reportQuery.setColumns(new Column[] { Column.AD_SERVER_IMPRESSIONS,
Column.AD_SERVER_CLICKS });

After ran the query I am getting the report which consist the below
text,

Date,Impressions,Clicks
Totals,0,0

I am still wondering how this Totals came and why Date is not there ?

Please appreciating if you can help me soon.

DFP Advisor

unread,
May 15, 2012, 5:44:03 PM5/15/12
to google-doubleclick...@googlegroups.com
Hi Adlogix:
  The reports don't contain data rows when metrics aren't present for your dimension combinations. In your case you only specified date as a dimension and the date period you ran the report for did not have any metric values. Total rows show on some higher level reports such as these.

Thanks,

Paul, The DFP API Team


Adlogix

unread,
May 16, 2012, 6:36:25 AM5/16/12
to Google's DoubleClick for Publishers API Forum
Hi Paul,

Thanks for your reply.

I am still in a concern that , I dont really have an idea of whats the
dimension and column in the report context. But my requirement is , i
need to create report like , I want total delivered impression or
clicks and its date for a given order ID. Can you please advice me
that how my report query should be .

Please help me out . Many thanks for you

Siva

DFP Advisor

unread,
May 16, 2012, 8:39:56 PM5/16/12
to google-doubleclick...@googlegroups.com
HI Siva:
  You would want to add the ORDER_ID and ORDER_NAME dimensions to your report and it should give you the information you're requesting when there is serving data available for the date ranges you specify.

Thanks,

Paul, The DFP API Team

Adlogix

unread,
May 17, 2012, 2:17:56 AM5/17/12
to Google's DoubleClick for Publishers API Forum
Hi Paul,

Cant we get the report in doubleclick Sandbox api environment?

Thanks
Siva

DFP Advisor

unread,
May 17, 2012, 6:23:14 PM5/17/12
to google-doubleclick...@googlegroups.com
Hello Siva:
  The Reports are not available in the test networks. If you have an AdSense-Id approved you can go through the normal process to get a network and test your reports there. Also, if you're still using the sandbox environment I would encourage you to move over to our new test networks as described here. The sandbox environment will be shut off very shortly.


Thanks,

Paul, The DFP API Team

Reply all
Reply to author
Forward
0 new messages