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