Class CustomersResource.GenerateBenchmarksMetricsRequest
Returns YouTube advertisement metrics for the given client against industry benchmarks. List of thrown errors: AuthenticationError AuthorizationError BenchmarksError FieldError HeaderError InternalError QuotaError RangeError RequestError
Inheritance
CustomersResource.GenerateBenchmarksMetricsRequest
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.GenerateBenchmarksMetricsRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse>, IClientServiceRequest
Constructors
GenerateBenchmarksMetricsRequest(IClientService, GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest, string)
Constructs a new GenerateBenchmarksMetrics request.
Declaration
public GenerateBenchmarksMetricsRequest(IClientService service, GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest | body | |
| string | customerId |
Properties
CustomerId
Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. A manager account customer ID will not return customer metrics since it does not have any associated direct ad campaigns.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes GenerateBenchmarksMetrics parameter list.
Declaration
protected override void InitParameters()