rocket
Meet
Merchant API
- the official successor to the Content API for Shopping.
update
Obtén las últimas novedades
sobre las nuevas funciones, las correcciones de errores y las actualizaciones de versiones de la API de Merchant.
Administrar una cuenta existente
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Resumen
Puedes usar los siguientes pasos para administrar una cuenta del comerciante existente. Puede
ser tu propia cuenta del comerciante o la de un cliente.
Pasos manuales
Estas son las formas en que puedes administrar una cuenta secundaria:
- Usuario administrador (recomendado)
- Si necesitas usar la IU de Merchant Center, el
comercio puede agregar tu Cuenta de Google como usuario administrador para la
cuenta de Merchant Center.
- Cuenta de servicio (opción recomendada)
- Si no necesitas la IU de Merchant Center, puedes realizar la autenticación a través de una cuenta de servicio y, luego, agregar el ID de la cuenta de servicio como usuario en la cuenta del comercio.
- Administración completa (no recomendado)
Recomendamos una de las opciones anteriores, a menos que solo necesites administrar una cuenta secundaria.
Si el comercio desea que administres por completo su cuenta de Merchant Center y tienes una MCA, puedes hacer lo siguiente:
- Recopila los IDs de tu MCA y de la cuenta del comercio.
- En la barra de menú de la parte superior derecha, haz clic en el ícono ? signo de interrogación > Centro de ayuda y asistencia > Comunicarse con nosotros.
Solicita convertir la cuenta del comercio en una cuenta secundaria de tu MCA y proporciona el ID de la cuenta de la MCA y el ID de la cuenta del comercio.
Puedes volver a comunicarte con Google para deshacer este proceso.
Pasos automáticos
Puedes usar Content API for Shopping para solicitar, aprobar y quitar vinculaciones entre tu MCA y otras cuentas de Merchant. A continuación, se indican los pasos que debes seguir:
- Usa la Content API para Shopping y autentícate como cliente de OAuth2.
- Solicita una vinculación a otra
cuenta del comerciante.
- Pídele al comercio que apruebe el vínculo.
También puedes usar Content API for Shopping para enumerar y quitar los vínculos existentes.
Tu solución de Shopping puede mostrarle al comercio una pantalla de consentimiento para que tu aplicación de OAuth2 pueda acceder a su cuenta de comerciante.
Este proceso aún requiere el uso de la IU de la Consola de API de Google.
Consulta Cómo usar OAuth para obtener más detalles y código de muestra.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-31 (UTC)
[null,null,["Última actualización: 2025-08-31 (UTC)"],[[["\u003cp\u003eManage existing merchant accounts through administrative user or service account access for utilizing the Merchant Center UI or API respectively.\u003c/p\u003e\n"],["\u003cp\u003eFull management is discouraged; if necessary, contact Google support to convert the merchant's account to a sub-account.\u003c/p\u003e\n"],["\u003cp\u003eAutomate account linking using the Content API for Shopping to request, approve, and remove connections.\u003c/p\u003e\n"],["\u003cp\u003eObtain merchant consent via a screen within your Shopping solution for your application's access to their account.\u003c/p\u003e\n"]]],[],null,["# Administer an existing account\n\nSummary\n-------\n\nYou can use the following steps to manage an existing merchant account. This\nmight be your own merchant account, or a client's merchant account.\n\nManual steps\n------------\n\nHere are the ways you can administer a sub-account:\n\nAdministrative user (recommended)\n: If you need to use the [Merchant Center UI](https://merchants.google.com), the\n merchant can add your Google account as an administrative user for their\n Merchant Center account.\n\nService account (recommended)\n: If you don't need the Merchant Center UI, you can authenticate through\n [a service account](/shopping-content/guides/how-tos/service-accounts), then add the service account ID\n as a user on the merchant's account.\n\nFull management (not recommended)\n\n: We recommend one of the preceding options unless you only need to manage one\n sub-account.\n\n If the merchant wants you to fully manage their Merchant Center account and\n you have an MCA, you can do the following:\n\n 1. Gather the IDs for your MCA and for the merchant's account.\n 2. In the top right menu bar, click the **?** question mark **\\\u003e Help center\n and support \\\u003e Contact us**.\n 3. Request to convert the merchant's account to a sub-account of your MCA,\n and provide the ID of your MCA account and the ID of the merchant's\n account.\n\n You can contact Google again to undo this process.\n\nAutomatic steps\n---------------\n\nYou can use the Content API for Shopping to request, approve, and remove links\nbetween your MCA and other Merchant accounts. Here are the steps:\n\n1. Use the Content API for Shopping and [authenticate as an OAuth2 client](/shopping-content/guides/how-tos/authorizing).\n2. [Request a link](/shopping-content/guides/flagging/request) to another Merchant account.\n3. Ask the merchant to [approve the link](/shopping-content/guides/flagging/approve).\n\nYou can also use the Content API for Shopping to\n[list](/shopping-content/guides/flagging/list) and\n[remove](/shopping-content/guides/flagging/remove) existing links.\n\nYour Shopping solution can present the merchant with a consent screen to give\nyour OAuth2 application access to their merchant account.\n\nThis process still requires use of the [Google API Console](//console.developers.google.com/) UI.\n\nSee [Using OAuth](/shopping-content/guides/how-tos/authorizing#OAuth2Authorizing) for more details and sample code."]]