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 business, such as product management or campaign management. It specifies the access rights and permissions to the business'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).
Identifier. The resource name of the account relationship. Format: accounts/{account}/relationships/{relationship}. For example, accounts/123456/relationships/567890.
providerDisplayName
string
Output only. The human-readable display name of the provider account.
accountIdAlias
string
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 accountIdAlias to assign a friendly name to this relationship for easier identification in your systems.
provider
string
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-31 UTC."],[],[],null,["# REST Resource: accounts.relationships\n\n- [Resource: AccountRelationship](#AccountRelationship)\n - [JSON representation](#AccountRelationship.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccountRelationship\n-----------------------------\n\nThe `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 business, such as product management or campaign management. It specifies the access rights and permissions to the business's data relevant to those services.\n\nEstablishing 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).\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"providerDisplayName\": string, \"accountIdAlias\": string, \"provider\": string } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`. |\n| `providerDisplayName` | `string` Output only. The human-readable display name of the provider account. |\n| `accountIdAlias` | `string` 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 `accountIdAlias` to assign a friendly name to this relationship for easier identification in your systems. |\n| `provider` | `string` 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`). |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------|-------------------------------------------------------|\n| ### [get](/merchant/api/reference/rest/accounts_v1/accounts.relationships/get) | Retrieve an account relationship. |\n| ### [list](/merchant/api/reference/rest/accounts_v1/accounts.relationships/list) | List account relationships for the specified account. |\n| ### [patch](/merchant/api/reference/rest/accounts_v1/accounts.relationships/patch) | Updates the account relationship. |"]]