ManagementGoals
class ManagementGoals extends Resource (View source)
The "goals" collection of methods.
Typical usage is:
$analyticsService = new Google\Service\Analytics(...);
$goals = $analyticsService->management_goals;
Methods
get(string $accountId, string $webPropertyId, string $profileId, string $goalId, array $optParams = [])
Gets a goal to which the user has access. (goals.get)
listManagementGoals(string $accountId, string $webPropertyId, string $profileId, array $optParams = [])
Lists goals to which the user has access. (goals.listManagementGoals)
Details
Goal
get(string $accountId, string $webPropertyId, string $profileId, string $goalId, array $optParams = [])
Gets a goal to which the user has access. (goals.get)
Goal
insert(string $accountId, string $webPropertyId, string $profileId, Goal $postBody, array $optParams = [])
Create a new goal. (goals.insert)
Goals
listManagementGoals(string $accountId, string $webPropertyId, string $profileId, array $optParams = [])
Lists goals to which the user has access. (goals.listManagementGoals)
Goal
patch(string $accountId, string $webPropertyId, string $profileId, string $goalId, Goal $postBody, array $optParams = [])
Updates an existing goal. This method supports patch semantics. (goals.patch)