Class MarketingplatformAdminServiceClientImpl
MarketingplatformAdminService client wrapper implementation, for convenient use.
Inherited Members
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
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
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
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
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
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
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
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
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
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
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. |