Class PlacementStrategiesResource
The "placementStrategies" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class PlacementStrategiesResource
Constructors
PlacementStrategiesResource(IClientService)
Constructs a new resource.
Declaration
public PlacementStrategiesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Delete(Int64, Int64)
Deletes an existing placement strategy.
Declaration
public virtual PlacementStrategiesResource.DeleteRequest Delete(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Placement strategy ID. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.DeleteRequest |
Get(Int64, Int64)
Gets one placement strategy by ID.
Declaration
public virtual PlacementStrategiesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Placement strategy ID. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.GetRequest |
Insert(PlacementStrategy, Int64)
Inserts a new placement strategy.
Declaration
public virtual PlacementStrategiesResource.InsertRequest Insert(PlacementStrategy body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
PlacementStrategy | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.InsertRequest |
List(Int64)
Retrieves a list of placement strategies, possibly filtered. This method supports paging.
Declaration
public virtual PlacementStrategiesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.ListRequest |
Patch(PlacementStrategy, Int64, Int64)
Updates an existing placement strategy. This method supports patch semantics.
Declaration
public virtual PlacementStrategiesResource.PatchRequest Patch(PlacementStrategy body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
PlacementStrategy | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | PlacementStrategy ID. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.PatchRequest |
Update(PlacementStrategy, Int64)
Updates an existing placement strategy.
Declaration
public virtual PlacementStrategiesResource.UpdateRequest Update(PlacementStrategy body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
PlacementStrategy | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementStrategiesResource.UpdateRequest |