Class ReportsResource
The "reports" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class ReportsResource
Constructors
ReportsResource(IClientService)
Constructs a new resource.
Declaration
public ReportsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| 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(long, long)
Deletes a report by its ID.
Declaration
public virtual ReportsResource.DeleteRequest Delete(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | profileId | The Campaign Manager 360 user profile ID. |
| long | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.DeleteRequest |
Get(long, long)
Retrieves a report by its ID.
Declaration
public virtual ReportsResource.GetRequest Get(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | profileId | The Campaign Manager 360 user profile ID. |
| long | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.GetRequest |
Insert(Report, long)
Creates a report.
Declaration
public virtual ReportsResource.InsertRequest Insert(Report body, long profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| long | profileId | The Campaign Manager 360 user profile ID. |
Returns
| Type | Description |
|---|---|
| ReportsResource.InsertRequest |
List(long)
Retrieves list of reports.
Declaration
public virtual ReportsResource.ListRequest List(long profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | profileId | The Campaign Manager 360 user profile ID. |
Returns
| Type | Description |
|---|---|
| ReportsResource.ListRequest |
Patch(Report, long, long)
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. |
| long | profileId | The Campaign Manager 360 user profile ID. |
| long | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.PatchRequest |
Run(long, long)
Runs a report.
Declaration
public virtual ReportsResource.RunRequest Run(long profileId, long reportId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | profileId | The Campaign Manager 360 user profile ID. |
| long | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.RunRequest |
Update(Report, long, long)
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. |
| long | profileId | The Campaign Manager 360 user profile ID. |
| long | reportId | The ID of the report. |
Returns
| Type | Description |
|---|---|
| ReportsResource.UpdateRequest |