Class TargetingTemplatesResource.PatchRequest
Updates an existing targeting template. This method supports patch semantics.
Inheritance
TargetingTemplatesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class TargetingTemplatesResource.PatchRequest : DfareportingBaseServiceRequest<TargetingTemplate>, IClientServiceRequest<TargetingTemplate>, IClientServiceRequest
Constructors
PatchRequest(IClientService, TargetingTemplate, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, TargetingTemplate body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TargetingTemplate | body | |
long | profileId | |
long | id |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Required. RemarketingList ID.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual long Id { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
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 Patch parameter list.
Declaration
protected override void InitParameters()