Set up Local Feeds Partnership

This guide explains how to structure your Merchant Center accounts, configure authentication and developer registration for the Local Feeds Partnership (LFP) sub-API, and onboard merchants.

Account structure and authentication

The LFP sub-API authentication model requires a dedicated Merchant Center account in your own company's name, referred to as your LFP provider account (for example, <PARTNER_NAME> LFP account), that Google has specifically enabled for LFP endpoints.

When calling lfpStores, lfpInventories, and lfpSales methods in the LFP sub-API, you authenticate as a user or service account with access to your LFP provider account.

The following example shows how both account IDs appear in a request to lfpInventories.insert:

POST https://merchantapi.googleapis.com/lfp/v1/accounts/{LFP_ACCOUNT_ID}/lfpInventories:insert

{
  "targetAccount": "{TARGET_MERCHANT_ID}",
  "storeCode": "{STORE_CODE}",
  "offerId": "{OFFER_ID}",
  "regionCode": "US",
  "contentLanguage": "en",
  "availability": "in stock"
}

Replace the following:

  • {LFP_ACCOUNT_ID}: Your LFP provider account ID, passed in the URL path (accounts/{LFP_ACCOUNT_ID}).
  • {TARGET_MERCHANT_ID}: The merchant's Merchant Center account ID, passed in the targetAccount request field (or in the resource path for get and delete calls).
  • {STORE_CODE}: The store identifier from the merchant's linked Business Profile or from lfpStores.insert.
  • {OFFER_ID}: The unique identifier of the product.

Choose a merchant account structure

When creating or managing Merchant Center accounts on a merchant's behalf, you can choose from the following account structures:

  • Advanced account with sub-accounts (recommended): Set up an advanced account to manage your LFP provider account and merchant accounts under one hierarchy. We recommend this structure because a single credential on your parent advanced account can create merchant sub-accounts, configure settings, upload product data, and call lfpMerchantStates.get without per-merchant OAuth 2.0 flows or service relationship handshakes. Under this structure:
    1. Create one sub-account in your own name (for example, <PARTNER_NAME> LFP account) to serve as your LFP provider account, and have it enabled for LFP endpoints.
    2. Create a separate sub-account for each merchant by following Create a client account (using account aggregation).
  • Standalone Merchant Center accounts: Instead of aggregating merchant accounts as sub-accounts, you can work with merchant-owned standalone Merchant Center accounts (either existing accounts or standalone accounts created with an accountManagement relationship) and link them to your LFP provider account. You still use your own LFP-enabled provider account to submit store, inventory, and sales data. However, to configure merchant settings, call lfpMerchantStates.get, or upload product data across multiple programs (such as free listings and Shopping Ads), you need access to each merchant's Merchant Center account in one of the following ways:
    • Per-merchant OAuth 2.0: Request authorization from each merchant to call endpoints on their existing standalone account on their behalf (this option doesn't require an advanced account). To learn how to access client accounts with OAuth, see Access client accounts.
    • Account service relationships: If your provider account is an advanced account configured to offer account services, establish an accountManagement or productsManagement link between your advanced account and each standalone merchant account, either during account creation or through a relationship handshake. Agencies can use accountManagement by default; if you are another provider type and need your advanced account enabled for these services, contact Merchant API support. To learn how account relationships work, see Manage account relationships.

Register as a developer

Before calling Merchant API, complete a one-time developer registration for each Google Cloud project you use:

  1. Choose the Merchant Center account to register based on your provider setup:
    • Using an advanced account (managing sub-accounts or accountManagement service links): Register your main (or largest) advanced account. Don't register your LFP provider sub-account or individual merchant accounts.
    • Without an advanced account (connecting to existing standalone merchant accounts with OAuth 2.0): Register your company's primary standalone Merchant Center account (or your LFP provider account).
  2. Meet the account prerequisites: Verify that the account you register has a verified website, and use credentials with ADMIN access to that exact account.
  3. Register your project: Call accounts.developerRegistration.registerGcp and pass a developerEmail (a Google Account, not a service account) so at least one user receives the API developer role and technical notifications from Google. Wait up to 5 minutes after registration before making other Merchant API calls.

For step-by-step registration instructions, code samples, and full prerequisites, see Register as a developer.

End-to-end onboarding workflow

Once your LFP provider account is enabled, complete the following steps for each merchant you onboard:

  1. Set up or connect the merchant's Merchant Center account: Create a client sub-account under your advanced account, create a merchant-owned standalone account linked with accountManagement, or connect to the merchant's existing standalone account. To learn how to create and link accounts, see Create accounts.
  2. Link a Google Business Profile to the Merchant Center account: Connect the merchant's Business Profile containing their physical store locations to their Merchant Center account. To learn how to link a Business Profile, see Link a Google Business Profile.
  3. Enable free local listings or local inventory ads in omnichannel settings: Configure the merchant's local storefront type (Google-hosted or merchant-hosted) and enable free local listings or local inventory ads for each target country. To learn how to configure local storefronts and omnichannel settings, see Manage Omnichannel Settings.
  4. Link the merchant's account to your LFP provider account: Configure omnichannel settings before linking an LFP provider. Associate the merchant's Merchant Center account with your LFP provider account for the target country using lfpProviders.find and lfpProviders.linkLfpProvider. To learn how to find and link an LFP provider, see Manage Local Feeds Partnership (LFP) providers.
  5. Resolve store codes: Obtain the store codes from the linked Business Profile, or submit store data using accounts.lfpStores.insert so Google matches your store codes to the merchant's Business Profile locations. For details on providing store codes, see Store codes and store matching.
  6. Enable a data source and send product data: If the merchant's Merchant Center account doesn't already have product data, create a primary API product data source and upload product catalog data using productInputs.insert. To create an API data source, see Manage API data sources for product uploads. To learn how to submit product data, see Manage your products. Alternatively, if the merchant uses a Google-hosted local storefront and all products have valid Global Trade Item Numbers (GTINs), you can skip this step and rely on Google's catalog instead.
  7. Send local inventory data: Submit store-specific availability and pricing using accounts.lfpInventories.insert. If you upload product data or use existing product data in the account, make sure the offerId in your inventory request matches the offerId in the product data. If the account has no product data source or the offerId values don't match existing products, include a valid gtin so Google can match the items to its catalog and automatically create a product data source. For request examples and field details, see Insert local inventory.
  8. Verify product status and request inventory checks: When setup and data submission succeed, products appear in the merchant's Merchant Center account as Pending review, and you can inspect integration readiness with lfpMerchantStates.get. For your initial set of merchants, request inventory verification checks through the Merchant Center account or by calling omnichannelSettings.requestInventoryVerification for Google-hosted local storefronts. Once you achieve Trusted status as an LFP provider, Google no longer requires inventory checks for subsequent merchants.

Next steps