Show / Hide Table of Contents

Class TargetingTemplatesResource

The "targetingTemplates" collection of methods.

Inheritance
object
TargetingTemplatesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class TargetingTemplatesResource

Constructors

TargetingTemplatesResource(IClientService)

Constructs a new resource.

Declaration
public TargetingTemplatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(long, long)

Gets one targeting template by ID.

Declaration
public virtual TargetingTemplatesResource.GetRequest Get(long profileId, long id)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

long id

Targeting template ID.

Returns
Type Description
TargetingTemplatesResource.GetRequest

Insert(TargetingTemplate, long)

Inserts a new targeting template.

Declaration
public virtual TargetingTemplatesResource.InsertRequest Insert(TargetingTemplate body, long profileId)
Parameters
Type Name Description
TargetingTemplate body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
TargetingTemplatesResource.InsertRequest

List(long)

Retrieves a list of targeting templates, optionally filtered. This method supports paging.

Declaration
public virtual TargetingTemplatesResource.ListRequest List(long profileId)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

Returns
Type Description
TargetingTemplatesResource.ListRequest

Patch(TargetingTemplate, long, long)

Updates an existing targeting template. This method supports patch semantics.

Declaration
public virtual TargetingTemplatesResource.PatchRequest Patch(TargetingTemplate body, long profileId, long id)
Parameters
Type Name Description
TargetingTemplate body

The body of the request.

long profileId

User profile ID associated with this request.

long id

TargetingTemplate ID.

Returns
Type Description
TargetingTemplatesResource.PatchRequest

Update(TargetingTemplate, long)

Updates an existing targeting template.

Declaration
public virtual TargetingTemplatesResource.UpdateRequest Update(TargetingTemplate body, long profileId)
Parameters
Type Name Description
TargetingTemplate body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
TargetingTemplatesResource.UpdateRequest
In This Article
Back to top Generated by DocFX