googleads / googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP
Apache License 2.0
655 stars 770 forks source link

call reportservice FAILED #528

Closed songlin51 closed 5 years ago

songlin51 commented 6 years ago

In recent days call reportService return “FAILED” Has the Api been adjusted

waitForReportToFinish() Always returns “FAILED”

Please kindly check to see if there is something wrong with the Google platform

songlin51 commented 6 years ago

Or how can I see more error information and now only prompt "FAILED"?

run detail: [2018-09-10 20:26:42] DFP_SOAP.INFO: networkCode=120941646 service=ReportService method=runReportJob responseTime=474 requestId=95591341986a66d9b1c1759a3f69da08 server=ads.google.com isFault=0 faultMessage= [2018-09-10 20:26:44] DFP_SOAP.INFO: networkCode=120941646 service=ReportService method=getReportJobStatus responseTime=155 requestId=d86a408f14a3bfb90b3d93ab9ff7b5e7 server=ads.google.com isFault=0 faultMessage= string(6) "FAILED" [2018-09-10 20:26:47] DFP_SOAP.INFO: networkCode=346555169 service=ReportService method=runReportJob responseTime=498 requestId=57600a8022d9aaca0a13962a526c523d server=ads.google.com isFault=0 faultMessage= [2018-09-10 20:26:48] DFP_SOAP.INFO: networkCode=346555169 service=ReportService method=getReportJobStatus responseTime=231 requestId=df3653bc47960efe19af94a7d54a2f6d server=ads.google.com isFault=0 faultMessage=

songlin51 commented 6 years ago

I found the problem,dfp platform close the Dimensions "AD_EXCHANGE_BUYER_NETWORK_NAME"

When I remove "AD_EXCHANGE_BUYER_NETWORK_NAME", the API request is normal

thangduo commented 5 years ago

Hi Song Lin,

I am glad that you found the problem.

For future reference, when a report fails, you should get a SOAP response. In the SOAP response, there will be reasons for the failure.

For troubleshooting reports, it is recommended that you should try to reproduce the report using the Google Ad Manager UI. When certain metrics or dimensions are incompatible with your query, the UI will provide detail explanations.

If you have questions about those explanations, please reach out to your Google account manager or post your inquiries on the Google Ad Manager product forum.

Thanks, Thang Duong