Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub (0.29.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub extends AbstractBlockingStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub>

A stub to allow clients to do limited synchronous rpc calls to service MarketingplatformAdminService.

Service Interface for the Google Marketing Platform Admin API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public AnalyticsAccountLink createAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request)

Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.

Parameter
Name Description
request CreateAnalyticsAccountLinkRequest
Returns
Type Description
AnalyticsAccountLink
public Empty deleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request)

Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.

Parameter
Name Description
request DeleteAnalyticsAccountLinkRequest
Returns
Type Description
Empty

findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request)

public FindSalesPartnerManagedClientsResponse findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request)

Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.

Parameter
Name Description
request FindSalesPartnerManagedClientsRequest
Returns
Type Description
FindSalesPartnerManagedClientsResponse

getOrganization(GetOrganizationRequest request)

public Organization getOrganization(GetOrganizationRequest request)

Lookup for a single organization.

Parameter
Name Description
request GetOrganizationRequest
Returns
Type Description
Organization
public ListAnalyticsAccountLinksResponse listAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request)

Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.

Parameter
Name Description
request ListAnalyticsAccountLinksRequest
Returns
Type Description
ListAnalyticsAccountLinksResponse

listOrganizations(ListOrganizationsRequest request)

public ListOrganizationsResponse listOrganizations(ListOrganizationsRequest request)

Returns a list of organizations that the user has access to.

Parameter
Name Description
request ListOrganizationsRequest
Returns
Type Description
ListOrganizationsResponse

reportPropertyUsage(ReportPropertyUsageRequest request)

public ReportPropertyUsageResponse reportPropertyUsage(ReportPropertyUsageRequest request)

Get the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.

Parameter
Name Description
request ReportPropertyUsageRequest
Returns
Type Description
ReportPropertyUsageResponse

setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

public SetPropertyServiceLevelResponse setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

Updates the service level for an Analytics property.

Parameter
Name Description
request SetPropertyServiceLevelRequest
Returns
Type Description
SetPropertyServiceLevelResponse