Importante:non accettiamo più nuove registrazioni per l'API Play EMM.
Scopri di più.
Storelayoutclusters
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Una risorsa Storelayoutclusters rappresenta un elenco di prodotti visualizzati insieme come gruppo in una pagina dello store di Google Play for Work. Ogni pagina può avere fino a 30 cluster e ogni cluster può avere fino a 100 prodotti.
Le informazioni di visualizzazione fornite per ogni cluster includono il nome localizzato del cluster, un elenco di app e il posizionamento del cluster all'interno della pagina principale (orderInPage
).
La guida Design del layout del negozio contiene informazioni su come progettare un layout di negozio e su come creare un cluster di negozi.
Per un elenco di metodi per questa risorsa, vai alla fine di questa pagina.
Rappresentazioni delle risorse
Definizione di cluster gestito di Google Play Store, ovvero un elenco di prodotti visualizzati all'interno di una pagina dello store.
{
"kind": "androidenterprise#storeCluster",
"id": string,
"name": [
{
"locale": string,
"text": string
}
],
"productId": [
string
],
"orderInPage": string
}
Nome proprietà |
Valore |
Descrizione |
Note |
id |
string |
ID univoco di questo cluster. Assegnato dal server. Immutabile una volta assegnato. |
|
kind |
string |
|
|
name[] |
list |
Elenco ordinato di stringhe localizzate che contengono il nome della pagina. Il testo visualizzato è quello che corrisponde meglio alle impostazioni internazionali dell'utente o la prima voce se non esiste una corrispondenza appropriata. Deve essere presente almeno una voce. |
|
name[].locale |
string |
Il tag BCP47 per un'impostazione internazionale. (ad es. "it-IT", "de"). |
|
name[].text |
string |
Il testo localizzato nelle impostazioni internazionali associate. |
|
orderInPage |
string |
Stringa (solo US-ASCII) utilizzata per determinare l'ordine di questo cluster all'interno degli elementi della pagina principale. Gli elementi della pagina sono ordinati in ordine lessicografico di questo campo. Sono consentiti valori duplicati, ma l'ordinamento tra gli elementi con un ordine duplicato non è definito.
Il valore di questo campo non è mai visibile all'utente, viene utilizzato esclusivamente per definire un ordinamento. La lunghezza massima è di 256 caratteri. |
|
productId[] |
list |
Elenco dei prodotti nell'ordine in cui sono visualizzati nel cluster. Non dovrebbero esserci duplicati all'interno di un cluster. |
|
Metodi
- elimina
- Elimina un cluster.
- trova
- Recupera i dettagli di un cluster.
- inserisci
- Inserisce un nuovo cluster in una pagina.
- list
- Recupera i dettagli di tutti i cluster nella pagina specificata.
- aggiorna
- Aggiorna un cluster.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-06-19 UTC.
[null,null,["Ultimo aggiornamento 2024-06-19 UTC."],[[["\u003cp\u003eStorelayoutclusters represent groups of products (up to 100) displayed on Google Play for Work store pages.\u003c/p\u003e\n"],["\u003cp\u003eEach store page can contain up to 30 clusters, organized by \u003ccode\u003eorderInPage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eClusters are defined by a localized name, a list of products (\u003ccode\u003eproductId\u003c/code\u003e), and their placement on the page.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage clusters using methods like insert, delete, update, get, and list to customize store layouts.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Store Layout Design guide for creating effective store layouts and clusters.\u003c/p\u003e\n"]]],[],null,["# Storelayoutclusters\n\n\u003cbr /\u003e\n\nA Storelayoutclusters resource represents a list of products displayed together as a group on a [Google Play for Work store](/android/work/play/emm-api/v1/storelayoutpages) page. Each page can have up to 30 clusters, and each cluster can have up to 100 products.\n\nThe display information provided for each cluster includes the cluster's localized name, a list of apps, and the placement of the cluster within its parent page (`orderInPage`).\n\nThe [Store Layout Design](/android/work/play/emm-api/store-layout) guide has information on how to design a store layout, including how to create a store cluster.\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\nDefinition of a managed Google Play store cluster, a list of products displayed as part of a store page.\n\n```text\n{\n \"kind\": \"androidenterprise#storeCluster\",\n \"id\": string,\n \"name\": [\n {\n \"locale\": string,\n \"text\": string\n }\n ],\n \"productId\": [\n string\n ],\n \"orderInPage\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | Unique ID of this cluster. Assigned by the server. Immutable once assigned. | |\n| `kind` | `string` | | |\n| `name[]` | `list` | Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry. | |\n| name[].`locale` | `string` | The BCP47 tag for a locale. (e.g. \"en-US\", \"de\"). | |\n| name[].`text` | `string` | The text localized in the associated locale. | |\n| `orderInPage` | `string` | String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters. | |\n| `productId[]` | `list` | List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster. | |\n\nMethods\n-------\n\n[delete](/android/work/play/emm-api/v1/storelayoutclusters/delete)\n: Deletes a cluster.\n\n[get](/android/work/play/emm-api/v1/storelayoutclusters/get)\n: Retrieves details of a cluster.\n\n[insert](/android/work/play/emm-api/v1/storelayoutclusters/insert)\n: Inserts a new cluster in a page.\n\n[list](/android/work/play/emm-api/v1/storelayoutclusters/list)\n: Retrieves the details of all clusters on the specified page.\n\n[update](/android/work/play/emm-api/v1/storelayoutclusters/update)\n: Updates a cluster."]]