class Reports extends Resource (View source)

The "reports" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $reports = $contentService->reports;

Methods

search(string $merchantId, SearchRequest $postBody, array $optParams = [])

Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions. (reports.search)

Details

Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions. (reports.search)

Parameters

string $merchantId

Required. Id of the merchant making the call. Must be a standalone account or an MCA subaccount.

SearchRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchResponse

Exceptions

Exception