Class LoyaltyCustomerMatchService
Manages customer loyalty program memberships for merchants.
This service allows all merchants, including non-advertisers, to share their first-party customer data of loyalty program members. Google uses this data to personalize organic free listing shopping experiences, in compliance with the Merchant Center Terms of Service.
The service follows a non-standard, imperative pattern,
exposing a single ManageLoyaltyCustomerMatch method rather than
conventional resource identifiers and CRUD operations. This design protects
user privacy by preventing the discovery of a customer's presence or
membership status through standard GET or LIST methods.
Namespace: Google.Shopping.Merchant.LoyaltyCustomers.V1
Assembly: Google.Shopping.Merchant.LoyaltyCustomers.V1.dll
Syntax
public static class LoyaltyCustomerMatchService
Methods
BindService(LoyaltyCustomerMatchServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(LoyaltyCustomerMatchService.LoyaltyCustomerMatchServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| LoyaltyCustomerMatchService.LoyaltyCustomerMatchServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
| Type | Description |
|---|---|
| ServerServiceDefinition |
BindService(ServiceBinderBase, LoyaltyCustomerMatchServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, LoyaltyCustomerMatchService.LoyaltyCustomerMatchServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
| LoyaltyCustomerMatchService.LoyaltyCustomerMatchServiceBase | serviceImpl | An object implementing the server-side handling logic. |