|
Ads API .NET library
|
The base class for all Ads API report download utilities. More...
Public Member Functions | |
| delegate void | OnReadyCallback (ReportResponse response) |
| Delegate to be triggered when the report is ready to download. More... | |
| delegate void | OnFailedCallback (AdsReportsException exception) |
| Delegate to be triggered when the report download failed. More... | |
| AdsReportUtilities (AdsUser user) | |
| Initializes a new instance of the AdsReportUtilities class. More... | |
| virtual void | GetResponseAsync () |
| Gets the report download response asynchronously. More... | |
| virtual ReportResponse | GetResponse () |
| Gets the report download response. More... | |
Protected Member Functions | |
| virtual bool | ShouldWaitMore () |
| Returns a flag indicating whether the caller should wait more time for the report download to complete. More... | |
| virtual void | Schedule () |
| Schedules a report for download. More... | |
| abstract ReportResponse | GetReport () |
| Gets the report response. More... | |
Properties | |
| AdsUser | User [get] |
| Returns the user associated with this object. More... | |
| OnReadyCallback | OnReady [get, set] |
| Gets or sets the callback that will be triggered when the report is ready to be downloaded. More... | |
| OnFailedCallback | OnFailed [get, set] |
| Gets or sets the callback that will be triggered when the report download fails. More... | |
The base class for all Ads API report download utilities.
|
inline |
Initializes a new instance of the AdsReportUtilities class.
| user | AdWords user to be used along with this utilities object. |
|
protectedpure virtual |
Gets the report response.
Implemented in Google.Api.Ads.AdManager.Util.v202411.ReportUtilities, Google.Api.Ads.AdManager.Util.v202502.ReportUtilities, Google.Api.Ads.AdManager.Util.v202505.ReportUtilities, and Google.Api.Ads.AdManager.Util.v202508.ReportUtilities.
|
inlinevirtual |
Gets the report download response.
|
inlinevirtual |
Gets the report download response asynchronously.
| delegate void Google.Api.Ads.Common.Util.Reports.AdsReportUtilities.OnFailedCallback | ( | AdsReportsException | exception | ) |
Delegate to be triggered when the report download failed.
| exception | The report download exception. |
| delegate void Google.Api.Ads.Common.Util.Reports.AdsReportUtilities.OnReadyCallback | ( | ReportResponse | response | ) |
Delegate to be triggered when the report is ready to download.
| response | The report response. |
|
inlineprotectedvirtual |
Schedules a report for download.
|
inlineprotectedvirtual |
Returns a flag indicating whether the caller should wait more time for the report download to complete.
Reimplemented in Google.Api.Ads.AdManager.Util.v202411.ReportUtilities, Google.Api.Ads.AdManager.Util.v202502.ReportUtilities, Google.Api.Ads.AdManager.Util.v202505.ReportUtilities, and Google.Api.Ads.AdManager.Util.v202508.ReportUtilities.
|
getset |
Gets or sets the callback that will be triggered when the report download fails.
|
getset |
Gets or sets the callback that will be triggered when the report is ready to be downloaded.
|
get |
Returns the user associated with this object.