Class MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub (0.8.0)

public static final class MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub extends AbstractFutureStub<MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service MarketingDataInsightsService.

Service to return insights on marketing data. This feature is only available to data partners.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingDataInsightsServiceGrpc.MarketingDataInsightsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

retrieveInsights(RetrieveInsightsRequest request)

public ListenableFuture<RetrieveInsightsResponse> retrieveInsights(RetrieveInsightsRequest request)

Retrieves marketing data insights for a given user list. This feature is only available to data partners. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request RetrieveInsightsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RetrieveInsightsResponse>