# AppLinkData

- [JSON representation](https://developers.google.com/wallet/reference/rest/v1/AppLinkData#SCHEMA_REPRESENTATION)
- [AppLinkInfo](https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo)
  - [JSON representation](https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo.SCHEMA_REPRESENTATION)
- [AppTarget](https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppTarget)
  - [JSON representation](https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppTarget.SCHEMA_REPRESENTATION)

| JSON representation |
|---|
| ``` { "androidAppLinkInfo": { object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`) }, "iosAppLinkInfo": { object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`) }, "webAppLinkInfo": { object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`) }, "displayText": { object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`) } } ``` |

| Fields ||
|---|---|
| `androidAppLinkInfo` | ``object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`)`` Optional information about the partner app link. |
| `iosAppLinkInfo (deprecated)` | ``object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`)`` > [!WARNING] > This item is deprecated! Deprecated. Links to open iOS apps are not supported. |
| `webAppLinkInfo` | ``object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppLinkInfo`)`` Optional information about the partner web link. |
| `displayText` | ``object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`)`` Optional display text for the app link button. Character limit is 30. |

## AppLinkInfo

| JSON representation |
|---|
| ``` { "appLogoImage": { object (`https://developers.google.com/wallet/reference/rest/v1/Image`) }, "title": { object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`) }, "description": { object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`) }, "appTarget": { object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppTarget`) } } ``` |

| Fields ||
|---|---|
| `appLogoImage (deprecated)` | ``object (`https://developers.google.com/wallet/reference/rest/v1/Image`)`` > [!WARNING] > This item is deprecated! Deprecated. Image isn't supported in the app link module. |
| `title (deprecated)` | ``object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`)`` > [!WARNING] > This item is deprecated! Deprecated. Title isn't supported in the app link module. |
| `description (deprecated)` | ``object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString`)`` > [!WARNING] > This item is deprecated! Deprecated. Description isn't supported in the app link module. |
| `appTarget` | ``object (`https://developers.google.com/wallet/reference/rest/v1/AppLinkData#AppTarget`)`` Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. |

## AppTarget

| JSON representation |
|---|
| ``` { // Union field `target` can be only one of the following: "targetUri": { object (`https://developers.google.com/wallet/reference/rest/v1/Uri`) }, "packageName": string // End of list of possible types for union field `target`. } ``` |

| Fields ||
|---|---|
| Union field `target`. `target` can be only one of the following: ||
| `targetUri` | ``object (`https://developers.google.com/wallet/reference/rest/v1/Uri`)`` URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. |
| `packageName` | `string` Package name for AppTarget. For example: com.google.android.gm |