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