OfferClass.LinksModuleData का इस्तेमाल करके, OfferClass से जुड़े सभी ऑफ़र के लिंक जोड़ें.
किसी खास ऑफ़र OfferObject का लिंक जोड़ने के लिए, OfferObject.LinksModuleData का इस्तेमाल करें.
उस पास के सबसे नीचे ऐप्लिकेशन का लिंक जोड़ने के लिए, OfferObject.appLinkData का इस्तेमाल करें.
उस क्लास के सभी पास के सबसे नीचे ऐप्लिकेशन का लिंक डालने के लिए, OfferClass.appLinkData का इस्तेमाल करें.
ऐप्लिकेशन लिंक करने का एक फ़ायदा यह है कि इससे आपके कॉल-टू-ऐक्शन को बेहतर बनाने में मदद मिलती है. इससे, उपयोगकर्ताओं को Google Wallet से आपके ब्रैंडेड अनुभवों पर ले जाया जा सकता है. इस सुविधा वाले लिंक, पास के सबसे नीचे दिखते हैं.
सुविधा का उदाहरण
जारी करने वाला
अपने Google Wallet पास पर ऐप्लिकेशन का लिंक सेट करना
किसी ऑफ़र के लिए, OfferObject.appLinkData
फ़ील्ड को अपने ऐप्लिकेशन या वेबसाइट के यूआरआई या पैकेज के नाम पर सेट करें.
नीचे दिए गए सोर्स कोड में, appLinkData फ़ील्ड का फ़ॉर्मैट और कॉन्टेक्स्ट देखें:
displayText फ़ील्ड में 30 से ज़्यादा वर्ण नहीं हो सकते.
[null,null,["आखिरी बार 2025-02-28 (UTC) को अपडेट किया गया."],[[["There are four ways to add links to an offer, including using `OfferClass.LinksModuleData`, `OfferObject.LinksModuleData`, `OfferObject.appLinkData`, and `OfferClass.appLinkData`."],["App linking enhances call-to-action by directing users to branded experiences from Google Wallet, with links displayed at the bottom of the Pass."],["You can set the `OfferObject.appLinkData` field to the URI or Package name to enable app linking for a specific offer."],["The `appLinkData` field allows you to specify `androidAppLinkInfo` and `webAppLinkInfo` for deep linking into your app or website, with a customizable `displayText` limited to 30 characters."],["While linking to the Play Store is possible using `targetUri` within `androidAppLinkInfo`, it's recommended to utilize `packageName` for a direct in-app experience."]]],["Links can be added to offers in four ways: using `OfferClass.LinksModuleData` for all offers, `OfferObject.LinksModuleData` for a specific offer, `OfferObject.appLinkData` for a particular pass's app link, or `OfferClass.appLinkData` for all passes of that class' app links. App links, which appear at the bottom of the pass, let the user navigate to branded experiences. `OfferObject.appLinkData` accepts app URIs or package names, with `displayText` limited to 30 characters. `webAppLinkInfo` supports deep linking.\n"]]