Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub (0.29.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub extends AbstractFutureStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<AnalyticsAccountLink>
public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Empty>

findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<FindSalesPartnerManagedClientsResponse>

getOrganization(GetOrganizationRequest request)

public ListenableFuture<Organization> getOrganization(GetOrganizationRequest request)

Lookup for a single organization.

Parameter
Name Description
request GetOrganizationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Organization>
public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<ListAnalyticsAccountLinksResponse>

listOrganizations(ListOrganizationsRequest request)

public ListenableFuture<ListOrganizationsResponse> listOrganizations(ListOrganizationsRequest request)

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

Parameter
Name Description
request ListOrganizationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListOrganizationsResponse>

reportPropertyUsage(ReportPropertyUsageRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<ReportPropertyUsageResponse>

setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

public ListenableFuture<SetPropertyServiceLevelResponse> setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

Updates the service level for an Analytics property.

Parameter
Name Description
request SetPropertyServiceLevelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SetPropertyServiceLevelResponse>