/// <summary> /// Initializes a new instance of the <see cref="ReportUtilities"/> /// class. /// </summary> /// <param name="reportService">ReportService to be used</param> /// <param name="reportJobId">The ID of the report job</param> public ReportUtilities(ReportService reportService, long reportJobId) : base(reportService.User) { this.reportService = reportService; this.reportJobId = reportJobId; }
public void Init() { TestUtils utils = new TestUtils(); reportService = (ReportService) user.GetService(DfpService.v201502.ReportService); reportId = utils.CreateReport(user).id; }