Class TargetingTemplatesResource
The "targetingTemplates" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.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 | Required. RemarketingList 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 |