Class TargetingTemplatesResource
The "targetingTemplates" collection of methods.
Inheritance
System.Object
TargetingTemplatesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class TargetingTemplatesResource
Constructors
TargetingTemplatesResource(IClientService)
Constructs a new resource.
Declaration
public TargetingTemplatesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Get(Int64, Int64)
Gets one targeting template by ID.
Declaration
public virtual TargetingTemplatesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Targeting template ID. |
Returns
Type | Description |
---|---|
TargetingTemplatesResource.GetRequest |
Insert(TargetingTemplate, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
TargetingTemplatesResource.InsertRequest |
List(Int64)
Retrieves a list of targeting templates, optionally filtered. This method supports paging.
Declaration
public virtual TargetingTemplatesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
TargetingTemplatesResource.ListRequest |
Patch(TargetingTemplate, Int64, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | TargetingTemplate ID. |
Returns
Type | Description |
---|---|
TargetingTemplatesResource.PatchRequest |
Update(TargetingTemplate, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
TargetingTemplatesResource.UpdateRequest |