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