Google Play Install Referrer
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אתם יכולים להשתמש ב-Install Referrer API של חנות Google Play כדי לאחזר בבטחה תוכן של הפניות מ-Google Play, כמו:
- כתובת ה-URL של מקור ההפניה (referrer) של החבילה שהותקנה.
- חותמת הזמן, בשניות, של הקליק על מקור ההפניה (גם בצד הלקוח וגם בצד השרת).
- חותמת הזמן, בשניות, של תחילת ההתקנה (גם בצד הלקוח וגם בצד השרת).
- גרסת האפליקציה בזמן ההתקנה הראשונה שלה.
- אם המשתמש קיים אינטראקציה עם חוויית השימוש המיידית של האפליקציה ב-7 הימים האחרונים.
הדרישות
ממשק Install Referrer API נחשף על ידי האפליקציה של חנות Google Play במכשיר. במכשירים עם אפליקציית Google Play בגרסה 8.3.73 ואילך יש גישה אוטומטית ל-API.
כדי להשתמש ב-Install Referrer API, צריך גם חשבון ב-Google Play Console.
שימוש ב-API
ממשק Install Referrer API מיושם כממשק של שפת הגדרה לבניית ממשק Android (AIDL).
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Google Play Install Referrer\n\nYou can use the Google Play Store's Install Referrer API to securely retrieve referral content\nfrom Google Play, such as:\n\n- The referrer URL of the installed package.\n- The timestamp, in seconds, of when a referrer click happened (both client- and server-side).\n- The timestamp, in seconds, of when an installation began (both client- and server-side).\n- The app's version at the time when the app was first installed.\n- Whether the user has interacted with your app's [instant experience](/topic/google-play-instant/overview) in the past 7 days.\n\nRequirements\n------------\n\nThe Install Referrer API is exposed by the Google Play Store app on a device. Devices with a\nGoogle Play app version of 8.3.73 or later automatically have access to the API.\n\nYou must also have a Google Play Console account to use the Install Referrer API.\n\nUsing the API\n-------------\n\nThe Install Referrer API is implemented as an\n[Android Interface Definition Language (AIDL)](/guide/components/aidl) interface.\n\n- If you are using the Kotlin programming language or the Java programming language, use the [Play Install Referrer Client Library](/google/play/installreferrer/library) to simplify your coding.\n- If you are using another programming language, use the [Play Install Referrer API](/google/play/installreferrer/igetinstallreferrerservice)."]]