Class ReportsResource
The "reports" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class ReportsResource
Constructors
ReportsResource(IClientService)
Constructs a new resource.
Declaration
public ReportsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service |
Properties
CompatibleFields
Gets the CompatibleFields resource.
Declaration
public virtual ReportsResource.CompatibleFieldsResource CompatibleFields { get; }
Property Value
| Type | Description |
|---|---|
| ReportsResource.CompatibleFieldsResource |
Files
Gets the Files resource.
Declaration
public virtual ReportsResource.FilesResource Files { get; }
Property Value
| Type | Description |
|---|---|
| ReportsResource.FilesResource |
Methods
Delete(Int64, Int64)
Deletes a report by its ID.
Declaration
public virtual ReportsResource.DeleteRequest Delete(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
| System.Int64 | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.DeleteRequest |
Get(Int64, Int64)
Retrieves a report by its ID.
Declaration
public virtual ReportsResource.GetRequest Get(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
| System.Int64 | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.GetRequest |
Insert(Report, Int64)
Creates a report.
Declaration
public virtual ReportsResource.InsertRequest Insert(Report body, long profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
Returns
| Type | Description |
|---|---|
| ReportsResource.InsertRequest |
List(Int64)
Retrieves list of reports.
Declaration
public virtual ReportsResource.ListRequest List(long profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
Returns
| Type | Description |
|---|---|
| ReportsResource.ListRequest |
Patch(Report, Int64, Int64)
Updates an existing report. This method supports patch semantics.
Declaration
public virtual ReportsResource.PatchRequest Patch(Report body, long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| System.Int64 | profileId | The DFA user profile ID. |
| System.Int64 | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.PatchRequest |
Run(Int64, Int64)
Runs a report.
Declaration
public virtual ReportsResource.RunRequest Run(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
| System.Int64 | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.RunRequest |
Update(Report, Int64, Int64)
Updates a report.
Declaration
public virtual ReportsResource.UpdateRequest Update(Report body, long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| System.Int64 | profileId | The Campaign Manager 360 user profile ID. |
| System.Int64 | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.UpdateRequest |