Class PlacementsResource
The "placements" collection of methods.
Inheritance
System.Object
PlacementsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class PlacementsResource
Constructors
PlacementsResource(IClientService)
Constructs a new resource.
Declaration
public PlacementsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Generatetags(Int64)
Generates tags for a placement.
Declaration
public virtual PlacementsResource.GeneratetagsRequest Generatetags(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementsResource.GeneratetagsRequest |
Get(Int64, Int64)
Gets one placement by ID.
Declaration
public virtual PlacementsResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Placement ID. |
Returns
Type | Description |
---|---|
PlacementsResource.GetRequest |
Insert(Placement, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementsResource.InsertRequest |
List(Int64)
Retrieves a list of placements, possibly filtered. This method supports paging.
Declaration
public virtual PlacementsResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementsResource.ListRequest |
Patch(Placement, Int64, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Placement ID. |
Returns
Type | Description |
---|---|
PlacementsResource.PatchRequest |
Update(Placement, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
PlacementsResource.UpdateRequest |