Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub (0.29.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub extends AbstractAsyncStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request, StreamObserver<AnalyticsAccountLink> responseObserver)

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.

Parameters
Name Description
request CreateAnalyticsAccountLinkRequest
responseObserver io.grpc.stub.StreamObserver<AnalyticsAccountLink>
public void deleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
Name Description
request DeleteAnalyticsAccountLinkRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request, StreamObserver<FindSalesPartnerManagedClientsResponse> responseObserver)

public void findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request, StreamObserver<FindSalesPartnerManagedClientsResponse> responseObserver)

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.

Parameters
Name Description
request FindSalesPartnerManagedClientsRequest
responseObserver io.grpc.stub.StreamObserver<FindSalesPartnerManagedClientsResponse>

getOrganization(GetOrganizationRequest request, StreamObserver<Organization> responseObserver)

public void getOrganization(GetOrganizationRequest request, StreamObserver<Organization> responseObserver)

Lookup for a single organization.

Parameters
Name Description
request GetOrganizationRequest
responseObserver io.grpc.stub.StreamObserver<Organization>
public void listAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request, StreamObserver<ListAnalyticsAccountLinksResponse> responseObserver)

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

Parameters
Name Description
request ListAnalyticsAccountLinksRequest
responseObserver io.grpc.stub.StreamObserver<ListAnalyticsAccountLinksResponse>

listOrganizations(ListOrganizationsRequest request, StreamObserver<ListOrganizationsResponse> responseObserver)

public void listOrganizations(ListOrganizationsRequest request, StreamObserver<ListOrganizationsResponse> responseObserver)

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

Parameters
Name Description
request ListOrganizationsRequest
responseObserver io.grpc.stub.StreamObserver<ListOrganizationsResponse>

reportPropertyUsage(ReportPropertyUsageRequest request, StreamObserver<ReportPropertyUsageResponse> responseObserver)

public void reportPropertyUsage(ReportPropertyUsageRequest request, StreamObserver<ReportPropertyUsageResponse> responseObserver)

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.

Parameters
Name Description
request ReportPropertyUsageRequest
responseObserver io.grpc.stub.StreamObserver<ReportPropertyUsageResponse>

setPropertyServiceLevel(SetPropertyServiceLevelRequest request, StreamObserver<SetPropertyServiceLevelResponse> responseObserver)

public void setPropertyServiceLevel(SetPropertyServiceLevelRequest request, StreamObserver<SetPropertyServiceLevelResponse> responseObserver)

Updates the service level for an Analytics property.

Parameters
Name Description
request SetPropertyServiceLevelRequest
responseObserver io.grpc.stub.StreamObserver<SetPropertyServiceLevelResponse>