Class AccountRelationship
The AccountRelationship message defines a formal connection between a merchant's account and a service
provider's account. This relationship enables the provider to offer specific services to the merchant, such as
product management or campaign management. It specifies the access rights and permissions to the merchant's data
relevant to those services. Establishing an account relationship involves linking the merchant's account with a
provider's account. The provider could be another Google account (like Google Ads or Google My Business) or a
third-party platform (such as Shopify or WooCommerce).
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountRelationship : IDirectResponseSchema
Properties
AccountIdAlias
Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient
identifier for your own reference and management. It must be unique among all your account relationships
with the same provider. For example, you might use account_id_alias to assign a friendly name to this
relationship for easier identification in your systems.
Declaration
[JsonProperty("accountIdAlias")]
public virtual string AccountIdAlias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the account relationship. Format:
accounts/{account}/relationships/{relationship}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Provider
Immutable. The provider of the service. Either the reference to an account such as providers/123 or a
well-known service provider (one of providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).
Declaration
[JsonProperty("provider")]
public virtual string Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProviderDisplayName
Output only. The human-readable display name of the provider account.
Declaration
[JsonProperty("providerDisplayName")]
public virtual string ProviderDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |