Class MarketingplatformAdminService.MarketingplatformAdminServiceBase
Base class for server-side implementations of MarketingplatformAdminService
Namespace: Google.Ads.MarketingPlatform.Admin.V1Alpha
Assembly: Google.Ads.MarketingPlatform.Admin.V1Alpha.dll
Syntax
[BindServiceMethod(typeof(MarketingplatformAdminService), "BindService")]
public abstract class MarketingplatformAdminService.MarketingplatformAdminServiceBase
Methods
CreateAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest, ServerCallContext)
Creates the link between the Analytics account and the Google Marketing Platform organization.
User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.
Declaration
public virtual Task<AnalyticsAccountLink> CreateAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
CreateAnalyticsAccountLinkRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AnalyticsAccountLink> | The response to send back to the client (wrapped by a task). |
DeleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest, ServerCallContext)
Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization.
User needs to be an org user, and admin on the Analytics account in order to delete the link.
Declaration
public virtual Task<Empty> DeleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
DeleteAnalyticsAccountLinkRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetOrganization(GetOrganizationRequest, ServerCallContext)
Lookup for a single organization.
Declaration
public virtual Task<Organization> GetOrganization(GetOrganizationRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetOrganizationRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Organization> | The response to send back to the client (wrapped by a task). |
ListAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest, ServerCallContext)
Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
Declaration
public virtual Task<ListAnalyticsAccountLinksResponse> ListAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListAnalyticsAccountLinksRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListAnalyticsAccountLinksResponse> | The response to send back to the client (wrapped by a task). |
SetPropertyServiceLevel(SetPropertyServiceLevelRequest, ServerCallContext)
Updates the service level for an Analytics property.
Declaration
public virtual Task<SetPropertyServiceLevelResponse> SetPropertyServiceLevel(SetPropertyServiceLevelRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
SetPropertyServiceLevelRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<SetPropertyServiceLevelResponse> | The response to send back to the client (wrapped by a task). |