googleads / googleads-java-lib

Google Ad Manager SOAP API Client Library for Java
Apache License 2.0
226 stars 360 forks source link

java.lang.IllegalStateException: Report 11240782934 must be completed before downloading. It is currently: IN_PROGRESS #174

Closed sivakandhan closed 4 years ago

sivakandhan commented 5 years ago

hi team,

we are getting the Report from dfp using custom fields for past 3 months.

Today while running the same class we got below error,

Exception in thread "main" java.lang.IllegalStateException: Report 11240782934 must be completed before downloading. It is currently: IN_PROGRESS at com.google.common.base.Preconditions.checkState(Preconditions.java:444) at com.google.api.ads.admanager.axis.utils.v201811.ReportDownloader.getDownloadUrl(ReportDownloader.java:181) at banner.RunReportWithCustomFields.runExample(RunReportWithCustomFields.java:120) at banner.RunReportWithCustomFields.createCredentialAndDfSession(RunReportWithCustomFields.java:166) at banner.RunReportWithCustomFields.main(RunReportWithCustomFields.java:205)

my class file is:

public class RunReportWithCustomFields { //static boolean downloadstatus = false;

private static class RunReportWithCustomFieldsParams extends CodeSampleParams { @Parameter(names = ArgumentNames.CUSTOM_FIELD_ID, required = true, description = "The ID of the custom field to include in the report.") // private long[] customFieldId_HC = new long[3];//info:have to change the length when new column is added in DFP private long[] customFieldId_CUG = new long[2];//info:have to change the length when new column is added in DFP }

/**

}

Please help me on this as soon as possible, as this is priority for us.

Thanks in advance.

christopherseeley commented 4 years ago

Apologies for the late reply here, please reopen if this is still an issue. For posterity this may have been caused by a change to the custom field settings or your user's permissions.