You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>List all sub-accounts for a given multi client account. This is a convenience wrapper for the more powerful `ListAccounts` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))`
337
347
338
348
Args:
339
-
provider: string, Required. The aggregation service provider. Format: `providers/{providerId}` (required)
349
+
provider: string, Required. The aggregation service provider. Format: `accounts/{providerId}` (required)
340
350
pageSize: integer, Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
341
351
pageToken: string, Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.
<pclass="firstline">Lists all account issues of a Merchant Center account.</p>
82
+
<pclass="firstline">Lists all account issues of a Merchant Center account. When called on a multi-client account, this method only returns issues belonging to that account, not its sub-accounts. To retrieve issues for sub-accounts, you must first call the accounts.listSubaccounts method to obtain a list of sub-accounts, and then call `accounts.issues.list` for each sub-account individually.</p>
<pre>Lists all account issues of a Merchant Center account.
94
+
<pre>Lists all account issues of a Merchant Center account. When called on a multi-client account, this method only returns issues belonging to that account, not its sub-accounts. To retrieve issues for sub-accounts, you must first call the accounts.listSubaccounts method to obtain a list of sub-accounts, and then call `accounts.issues.list` for each sub-account individually.
95
95
96
96
Args:
97
97
parent: string, Required. The parent, which owns this collection of issues. Format: `accounts/{account}` (required)
name: string, Required. The resource name of the account relationship to get. (required)
104
+
x__xgafv: string, V1 error format.
105
+
Allowed values
106
+
1 - v1 error format
107
+
2 - v2 error format
108
+
109
+
Returns:
110
+
An object of the form:
111
+
112
+
{ # 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).
113
+
"accountIdAlias": "A 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 `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.
114
+
"name": "A String", # Identifier. The resource name of the account relationship.
115
+
"provider": "A 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`).
116
+
"providerDisplayName": "A String", # Output only. The human-readable display name of the provider account.
<pre>List account relationships for the specified account.
123
+
124
+
Args:
125
+
parent: string, Required. The parent account of the account relationship to filter by. (required)
126
+
pageSize: integer, Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.
127
+
pageToken: string, Optional. The token returned by the previous `list` request.
128
+
x__xgafv: string, V1 error format.
129
+
Allowed values
130
+
1 - v1 error format
131
+
2 - v2 error format
132
+
133
+
Returns:
134
+
An object of the form:
135
+
136
+
{ # Response after trying to list account relationships.
137
+
"accountRelationships": [ # The account relationships that match your filter.
138
+
{ # 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).
139
+
"accountIdAlias": "A 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 `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.
140
+
"name": "A String", # Identifier. The resource name of the account relationship.
141
+
"provider": "A 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`).
142
+
"providerDisplayName": "A String", # Output only. The human-readable display name of the provider account.
143
+
},
144
+
],
145
+
"nextPageToken": "A String", # A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages.
<pre>Updates the account relationship. Executing this method requires admin access.
166
+
167
+
Args:
168
+
name: string, Identifier. The resource name of the account relationship. (required)
169
+
body: object, The request body.
170
+
The object takes the form of:
171
+
172
+
{ # 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).
173
+
"accountIdAlias": "A 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 `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.
174
+
"name": "A String", # Identifier. The resource name of the account relationship.
175
+
"provider": "A 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`).
176
+
"providerDisplayName": "A String", # Output only. The human-readable display name of the provider account.
177
+
}
178
+
179
+
updateMask: string, Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias`
180
+
x__xgafv: string, V1 error format.
181
+
Allowed values
182
+
1 - v1 error format
183
+
2 - v2 error format
184
+
185
+
Returns:
186
+
An object of the form:
187
+
188
+
{ # 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).
189
+
"accountIdAlias": "A 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 `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.
190
+
"name": "A String", # Identifier. The resource name of the account relationship.
191
+
"provider": "A 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`).
192
+
"providerDisplayName": "A String", # Output only. The human-readable display name of the provider account.
0 commit comments