# Interface PartnerLinkServiceGrpc.AsyncService (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface PartnerLinkServiceGrpc.AsyncService

Service for managing partner links.

## Methods

### createPartnerLink(CreatePartnerLinkRequest request, StreamObserver\<PartnerLink\> responseObserver)

    public default void createPartnerLink(CreatePartnerLinkRequest request, StreamObserver<PartnerLink> responseObserver)

Creates a partner link for the given account.
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}`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CreatePartnerLinkRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.PartnerLink>` |

### deletePartnerLink(DeletePartnerLinkRequest request, StreamObserver\<Empty\> responseObserver)

    public default void deletePartnerLink(DeletePartnerLinkRequest request, StreamObserver<Empty> responseObserver)

Deletes a partner link for the given account.
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}`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.DeletePartnerLinkRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |

### searchPartnerLinks(SearchPartnerLinksRequest request, StreamObserver\<SearchPartnerLinksResponse\> responseObserver)

    public default void searchPartnerLinks(SearchPartnerLinksRequest request, StreamObserver<SearchPartnerLinksResponse> responseObserver)

Searches for all partner links to and from a given account.
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}`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.SearchPartnerLinksRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.SearchPartnerLinksResponse>` |