Class ReportsResource
The "reports" collection of methods.
Inherited Members
Namespace: Google.Apis.Doubleclicksearch.v2
Assembly: Google.Apis.Doubleclicksearch.v2.dll
Syntax
public class ReportsResource
Constructors
ReportsResource(IClientService)
Constructs a new resource.
Declaration
public ReportsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Generate(ReportRequest)
Generates and returns a report immediately.
Declaration
public virtual ReportsResource.GenerateRequest Generate(ReportRequest body)
Parameters
Type | Name | Description |
---|---|---|
ReportRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
ReportsResource.GenerateRequest |
Get(string)
Polls for the status of a report request.
Declaration
public virtual ReportsResource.GetRequest Get(string reportId)
Parameters
Type | Name | Description |
---|---|---|
string | reportId | ID of the report request being polled. |
Returns
Type | Description |
---|---|
ReportsResource.GetRequest |
GetFile(string, int)
Downloads a report file encoded in UTF-8.
Declaration
public virtual ReportsResource.GetFileRequest GetFile(string reportId, int reportFragment)
Parameters
Type | Name | Description |
---|---|---|
string | reportId | ID of the report. |
int | reportFragment | The index of the report fragment to download. |
Returns
Type | Description |
---|---|
ReportsResource.GetFileRequest |
GetIdMappingFile(long, long)
Downloads a csv file(encoded in UTF-8) that contains ID mappings between legacy SA360 and new SA360. The file includes all children entities of the given advertiser(e.g. engine accounts, campaigns, ad groups, etc.) that exist in both legacy SA360 and new SA360.
Declaration
public virtual ReportsResource.GetIdMappingFileRequest GetIdMappingFile(long agencyId, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | agencyId | Legacy SA360 agency ID. |
long | advertiserId | Legacy SA360 advertiser ID. |
Returns
Type | Description |
---|---|
ReportsResource.GetIdMappingFileRequest |
Request(ReportRequest)
Inserts a report request into the reporting system.
Declaration
public virtual ReportsResource.RequestRequest Request(ReportRequest body)
Parameters
Type | Name | Description |
---|---|---|
ReportRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
ReportsResource.RequestRequest |