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). |
FindSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest, ServerCallContext)
Returns a list of clients managed by the sales partner organization.
User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.
Declaration
public virtual Task<FindSalesPartnerManagedClientsResponse> FindSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| FindSalesPartnerManagedClientsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<FindSalesPartnerManagedClientsResponse> | 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). |
ListOrganizations(ListOrganizationsRequest, ServerCallContext)
Returns a list of organizations that the user has access to.
Declaration
public virtual Task<ListOrganizationsResponse> ListOrganizations(ListOrganizationsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListOrganizationsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListOrganizationsResponse> | The response to send back to the client (wrapped by a task). |
ReportPropertyUsage(ReportPropertyUsageRequest, ServerCallContext)
Get the usage and billing data for properties within the organization for the specified month.
Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data.
Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.
Declaration
public virtual Task<ReportPropertyUsageResponse> ReportPropertyUsage(ReportPropertyUsageRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPropertyUsageRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ReportPropertyUsageResponse> | 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). |