class GoogleMarketingPlatformAdminAPI extends Service (View source)

Service definition for GoogleMarketingPlatformAdminAPI (v1alpha).

The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, and to set the service level of your GA4 properties.

For more information about this service, see the API Documentation

Constants

MARKETINGPLATFORMADMIN_ANALYTICS_READ

View your Google Analytics product account data in GMP home.

MARKETINGPLATFORMADMIN_ANALYTICS_UPDATE

Manage your Google Analytics product account data in GMP home.

Properties

$organizations
$organizations_analyticsAccountLinks
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the GoogleMarketingPlatformAdminAPI service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the GoogleMarketingPlatformAdminAPI service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.