BasicReportServiceBasicReportService provides operations for requesting and managing reports that contain performance information about your accounts, campaigns, ad groups, and keywords. You can store up to 50 reports on the system per master account, per user. Reports are saved for 2 days. For security reasons, the URLs that you use to retrieve reports are valid for 5 minutes. Operations
addReportRequestForAccountIDRequest a report that aggregates metrics for a specific account (specified by accountID).
Changed in: Version 5.2.0
Parameters
Responselong - The report ID. addReportRequestWithAccountAggregationRequest a report that aggregates metrics for all of the accounts that you have access to in the master account.
Changed in: Version 5.2.0
Parameters
Responselong - The report ID. deleteReportDelete the report (specified by reportID) that you have requested. If necessary, use getReportList to obtain the report ID.
Capability required: Reporting
Parameters
Responsenone deleteReportsDelete one or more reports (specified by the list of reportIDs) that you have requested. If necessary, use getReportList to obtain the report IDs.
Capability required: Reporting
Parameters
Responsenone getOptInReportingForAdGroupsReturn the OptInReporting status for one or more ad groups (specified by the list of adGroupIDs).
Capability required: Reporting
Parameters
ResponseOptInAdGroupResponse[] - The list of responses, which indicate if the operations succeeded or failed, and the OptInReporting status for the specified list of ad groups. getOptInReportingForCampaignsReturn the OptInReporting status for one or more campaigns (specified by the list of campaignIDs).
Capability required: Reporting
Parameters
ResponseOptInCampaignResponse[] - The list of responses, which indicate if the operations succeeded or failed, and the OptInReporting status for the specified list of campaigns. getReportListReturn a list of all requested reports that you have access to in the master account.
Capability required: Reporting
Parameters
ResponseReportInfo[] - A list of all requested reports that you have access to in the master account. getReportOutputUrlReturn a URL that you can use to retrieve the report (specified by reportID) using the HTTP GET method. For security reasons, the URL is available for 5 minutes only. If the report is not ready, the return string will contain the status of the report rather than the URL.
Capability required: Reporting
Parameters
Responsestring - A URL you can use to retrieve the report using the HTTP GET method. getReportOutputUrlsReturn a list of URLs that you can use to retrieve the reports (specified by the list of reportsIDs) using the HTTP GET method. For security reasons, the URLs are available for 5 minutes. If a report is not ready, the return string will contain the status of the report rather than the URL.
Capability required: Reporting
Parameters
Responsestring[] - A list of URLs you can use to retrieve the reports using the HTTP GET method. isBooksClosedReturn the status of books closed (see Books Closed and Report Headers). Note: This operation is not supported for the Billing Transaction Detail report. Note: reportName and includeConversions elements in BasicReportRequest object are ignored for this operation.
Capability required: Reporting
Parameters
Responseboolean - If true, the books are closed for the date range specified in the request. If False, the books are not closed for the date range specified in the request. setOptInReportingForAdGroupsEnable OptInReporting for one or more ad groups (specified by the list of adGroupIDs).
Capability required: Reporting
Parameters
ResponseOptInAdGroupResponse[] - The list of responses, which indicate if the operations succeeded or failed, and the OptInReporting status for the specified list of ad groups. setOptInReportingForCampaignsEnable OptInReporting for one or more campaigns (specified by the list of campaignIDs).
Capability required: Reporting
Parameters
ResponseOptInCampaignResponse[] - The list of responses, which indicate if the operations succeeded or failed, and the OptInReporting status for the specified list of campaigns. |