Class CampaignReportSpec
The specification for generating a Campaign report. For example, the specification to get IMPRESSIONS and CLICKS sliced by CAMPAIGN_ID can look like the following example: { "date_range": { "start_date": {"year": 2021, "month": 12, "day": 1}, "end_date": {"year": 2021, "month": 12, "day": 30} }, "dimensions": ["CAMPAIGN_ID"], "metrics": ["IMPRESSIONS", "CLICKS"], }
Implements
Inherited Members
Namespace: Google.Apis.AdMob.v1beta.Data
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class CampaignReportSpec : IDirectResponseSchema
Properties
DateRange
The date range for which the report is generated. The max range is 30 days.
Declaration
[JsonProperty("dateRange")]
public virtual DateRange DateRange { get; set; }
Property Value
Type | Description |
---|---|
DateRange |
Dimensions
List of dimensions of the report. The value combination of these dimensions determines the row of the report. If no dimensions are specified, the report returns a single row of requested metrics for the entire account.
Declaration
[JsonProperty("dimensions")]
public virtual IList<string> Dimensions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
Language used for any localized text, such as certain applicable dimension values. The language tag is defined in the IETF BCP47. Defaults to 'en-US' if unspecified or invalid.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Metrics
List of metrics of the report. A report must specify at least one metric.
Declaration
[JsonProperty("metrics")]
public virtual IList<string> Metrics { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |