Class SizesResource
The "sizes" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class SizesResource
Constructors
SizesResource(IClientService)
Constructs a new resource.
Declaration
public SizesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(long, long)
Gets one size by ID.
Declaration
public virtual SizesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Size ID. |
Returns
Type | Description |
---|---|
SizesResource.GetRequest |
Insert(Size, long)
Inserts a new size.
Declaration
public virtual SizesResource.InsertRequest Insert(Size body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Size | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
SizesResource.InsertRequest |
List(long)
Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.
Declaration
public virtual SizesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
SizesResource.ListRequest |