Show / Hide Table of Contents

Class MarketingplatformAdminServiceClientImpl

MarketingplatformAdminService client wrapper implementation, for convenient use.

Inheritance
object
MarketingplatformAdminServiceClient
MarketingplatformAdminServiceClientImpl
Inherited Members
MarketingplatformAdminServiceClient.DefaultEndpoint
MarketingplatformAdminServiceClient.DefaultScopes
MarketingplatformAdminServiceClient.ServiceMetadata
MarketingplatformAdminServiceClient.CreateAsync(CancellationToken)
MarketingplatformAdminServiceClient.Create()
MarketingplatformAdminServiceClient.ShutdownDefaultChannelsAsync()
MarketingplatformAdminServiceClient.GetOrganizationAsync(GetOrganizationRequest, CancellationToken)
MarketingplatformAdminServiceClient.GetOrganization(string, CallSettings)
MarketingplatformAdminServiceClient.GetOrganizationAsync(string, CallSettings)
MarketingplatformAdminServiceClient.GetOrganizationAsync(string, CancellationToken)
MarketingplatformAdminServiceClient.GetOrganization(OrganizationName, CallSettings)
MarketingplatformAdminServiceClient.GetOrganizationAsync(OrganizationName, CallSettings)
MarketingplatformAdminServiceClient.GetOrganizationAsync(OrganizationName, CancellationToken)
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinks(string, string, int?, CallSettings)
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinksAsync(string, string, int?, CallSettings)
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinks(OrganizationName, string, int?, CallSettings)
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinksAsync(OrganizationName, string, int?, CallSettings)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(CreateAnalyticsAccountLinkRequest, CancellationToken)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLink(string, AnalyticsAccountLink, CallSettings)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(string, AnalyticsAccountLink, CallSettings)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(string, AnalyticsAccountLink, CancellationToken)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLink(OrganizationName, AnalyticsAccountLink, CallSettings)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(OrganizationName, AnalyticsAccountLink, CallSettings)
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(OrganizationName, AnalyticsAccountLink, CancellationToken)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(DeleteAnalyticsAccountLinkRequest, CancellationToken)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLink(string, CallSettings)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(string, CallSettings)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(string, CancellationToken)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLink(AnalyticsAccountLinkName, CallSettings)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(AnalyticsAccountLinkName, CallSettings)
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(AnalyticsAccountLinkName, CancellationToken)
MarketingplatformAdminServiceClient.SetPropertyServiceLevelAsync(SetPropertyServiceLevelRequest, CancellationToken)
MarketingplatformAdminServiceClient.SetPropertyServiceLevel(string, CallSettings)
MarketingplatformAdminServiceClient.SetPropertyServiceLevelAsync(string, CallSettings)
MarketingplatformAdminServiceClient.SetPropertyServiceLevelAsync(string, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.MarketingPlatform.Admin.V1Alpha
Assembly: Google.Ads.MarketingPlatform.Admin.V1Alpha.dll
Syntax
public sealed class MarketingplatformAdminServiceClientImpl : MarketingplatformAdminServiceClient
Remarks

Service Interface for the Google Marketing Platform Admin API.

Constructors

MarketingplatformAdminServiceClientImpl(MarketingplatformAdminServiceClient, MarketingplatformAdminServiceSettings, ILogger)

Constructs a client wrapper for the MarketingplatformAdminService service, with the specified gRPC client and settings.

Declaration
public MarketingplatformAdminServiceClientImpl(MarketingplatformAdminService.MarketingplatformAdminServiceClient grpcClient, MarketingplatformAdminServiceSettings settings, ILogger logger)
Parameters
Type Name Description
MarketingplatformAdminService.MarketingplatformAdminServiceClient grpcClient

The underlying gRPC client.

MarketingplatformAdminServiceSettings settings

The base MarketingplatformAdminServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC MarketingplatformAdminService client

Declaration
public override MarketingplatformAdminService.MarketingplatformAdminServiceClient GrpcClient { get; }
Property Value
Type Description
MarketingplatformAdminService.MarketingplatformAdminServiceClient
Overrides
MarketingplatformAdminServiceClient.GrpcClient

Methods

CreateAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest, CallSettings)

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 override AnalyticsAccountLink CreateAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateAnalyticsAccountLinkRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AnalyticsAccountLink

The RPC response.

Overrides
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest, CallSettings)

CreateAnalyticsAccountLinkAsync(CreateAnalyticsAccountLinkRequest, CallSettings)

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 override Task<AnalyticsAccountLink> CreateAnalyticsAccountLinkAsync(CreateAnalyticsAccountLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateAnalyticsAccountLinkRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<AnalyticsAccountLink>

A Task containing the RPC response.

Overrides
MarketingplatformAdminServiceClient.CreateAnalyticsAccountLinkAsync(CreateAnalyticsAccountLinkRequest, CallSettings)

DeleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest, CallSettings)

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 override void DeleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteAnalyticsAccountLinkRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Overrides
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest, CallSettings)

DeleteAnalyticsAccountLinkAsync(DeleteAnalyticsAccountLinkRequest, CallSettings)

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 override Task DeleteAnalyticsAccountLinkAsync(DeleteAnalyticsAccountLinkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteAnalyticsAccountLinkRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides
MarketingplatformAdminServiceClient.DeleteAnalyticsAccountLinkAsync(DeleteAnalyticsAccountLinkRequest, CallSettings)

GetOrganization(GetOrganizationRequest, CallSettings)

Lookup for a single organization.

Declaration
public override Organization GetOrganization(GetOrganizationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetOrganizationRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Organization

The RPC response.

Overrides
MarketingplatformAdminServiceClient.GetOrganization(GetOrganizationRequest, CallSettings)

GetOrganizationAsync(GetOrganizationRequest, CallSettings)

Lookup for a single organization.

Declaration
public override Task<Organization> GetOrganizationAsync(GetOrganizationRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetOrganizationRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Organization>

A Task containing the RPC response.

Overrides
MarketingplatformAdminServiceClient.GetOrganizationAsync(GetOrganizationRequest, CallSettings)

ListAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest, CallSettings)

Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.

Declaration
public override PagedEnumerable<ListAnalyticsAccountLinksResponse, AnalyticsAccountLink> ListAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAnalyticsAccountLinksRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListAnalyticsAccountLinksResponse, AnalyticsAccountLink>

A pageable sequence of AnalyticsAccountLink resources.

Overrides
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest, CallSettings)

ListAnalyticsAccountLinksAsync(ListAnalyticsAccountLinksRequest, CallSettings)

Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.

Declaration
public override PagedAsyncEnumerable<ListAnalyticsAccountLinksResponse, AnalyticsAccountLink> ListAnalyticsAccountLinksAsync(ListAnalyticsAccountLinksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAnalyticsAccountLinksRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListAnalyticsAccountLinksResponse, AnalyticsAccountLink>

A pageable asynchronous sequence of AnalyticsAccountLink resources.

Overrides
MarketingplatformAdminServiceClient.ListAnalyticsAccountLinksAsync(ListAnalyticsAccountLinksRequest, CallSettings)

SetPropertyServiceLevel(SetPropertyServiceLevelRequest, CallSettings)

Updates the service level for an Analytics property.

Declaration
public override SetPropertyServiceLevelResponse SetPropertyServiceLevel(SetPropertyServiceLevelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SetPropertyServiceLevelRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SetPropertyServiceLevelResponse

The RPC response.

Overrides
MarketingplatformAdminServiceClient.SetPropertyServiceLevel(SetPropertyServiceLevelRequest, CallSettings)

SetPropertyServiceLevelAsync(SetPropertyServiceLevelRequest, CallSettings)

Updates the service level for an Analytics property.

Declaration
public override Task<SetPropertyServiceLevelResponse> SetPropertyServiceLevelAsync(SetPropertyServiceLevelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
SetPropertyServiceLevelRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<SetPropertyServiceLevelResponse>

A Task containing the RPC response.

Overrides
MarketingplatformAdminServiceClient.SetPropertyServiceLevelAsync(SetPropertyServiceLevelRequest, CallSettings)
In this article
Back to top Generated by DocFX