Class CustomersResource.DataLinksResource.CreateRequest
Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such as YouTube creators for video links) to whom you are creating the link with. Only customers on the allow-list can create data links. List of thrown errors: AuthenticationError AuthorizationError DatabaseError DataLinkError FieldError HeaderError InternalError MutateError QuotaError RequestError
Inheritance
CustomersResource.DataLinksResource.CreateRequest
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.DataLinksResource.CreateRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesCreateDataLinkResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesCreateDataLinkResponse>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleAdsSearchads360V23ServicesCreateDataLinkRequest, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleAdsSearchads360V23ServicesCreateDataLinkRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesCreateDataLinkRequest | body | |
| string | customerId |
Properties
CustomerId
Required. The ID of the customer for which the data link is created.
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 Create parameter list.
Declaration
protected override void InitParameters()