class Reports extends Resource (View source)

The "reports" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $reports = $dfareportingService->reports;

Methods

delete(string $profileId, string $reportId, array $optParams = [])

Deletes a report by its ID. (reports.delete)

get(string $profileId, string $reportId, array $optParams = [])

Retrieves a report by its ID. (reports.get)

insert(string $profileId, Report $postBody, array $optParams = [])

Creates a report. (reports.insert)

listReports(string $profileId, array $optParams = [])

Retrieves list of reports. (reports.listReports)

patch(string $profileId, string $reportId, Report $postBody, array $optParams = [])

Updates an existing report. This method supports patch semantics.

run(string $profileId, string $reportId, array $optParams = [])

Runs a report. (reports.run)

update(string $profileId, string $reportId, Report $postBody, array $optParams = [])

Updates a report. (reports.update)

Details

delete(string $profileId, string $reportId, array $optParams = [])

Deletes a report by its ID. (reports.delete)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

string $reportId

The ID of the report.

array $optParams

Optional parameters.

Exceptions

Exception

Report get(string $profileId, string $reportId, array $optParams = [])

Retrieves a report by its ID. (reports.get)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

string $reportId

The ID of the report.

array $optParams

Optional parameters.

Return Value

Report

Exceptions

Exception

Report insert(string $profileId, Report $postBody, array $optParams = [])

Creates a report. (reports.insert)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

Report $postBody
array $optParams

Optional parameters.

Return Value

Report

Exceptions

Exception

ReportList listReports(string $profileId, array $optParams = [])

Retrieves list of reports. (reports.listReports)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

array $optParams

Optional parameters.

Return Value

ReportList

Exceptions

Exception

Report patch(string $profileId, string $reportId, Report $postBody, array $optParams = [])

Updates an existing report. This method supports patch semantics.

(reports.patch)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

string $reportId

The ID of the report.

Report $postBody
array $optParams

Optional parameters.

Return Value

Report

Exceptions

Exception

DfareportingFile run(string $profileId, string $reportId, array $optParams = [])

Runs a report. (reports.run)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

string $reportId

The ID of the report.

array $optParams

Optional parameters.

Return Value

DfareportingFile

Exceptions

Exception

Report update(string $profileId, string $reportId, Report $postBody, array $optParams = [])

Updates a report. (reports.update)

Parameters

string $profileId

The Campaign Manager 360 user profile ID.

string $reportId

The ID of the report.

Report $postBody
array $optParams

Optional parameters.

Return Value

Report

Exceptions

Exception