Class ReportDefinition
The definition of how a report should be run.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ReportDefinition : IMessage<ReportDefinition>, IEquatable<ReportDefinition>, IDeepCloneable<ReportDefinition>, IBufferMessage, IMessage
Constructors
ReportDefinition()
Declaration
public ReportDefinition()
ReportDefinition(ReportDefinition)
Declaration
public ReportDefinition(ReportDefinition other)
Parameters
Type | Name | Description |
---|---|---|
ReportDefinition | other |
Properties
ComparisonDateRange
Optional. The comparison date range of this report. If unspecified, the report will not have any comparison metrics.
Declaration
public Report.Types.DateRange ComparisonDateRange { get; set; }
Property Value
Type | Description |
---|---|
Report.Types.DateRange |
CreativeCustomFieldIds
Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_* dimensions. The index of this repeated field corresponds to the index on each dimension. For example, creative_custom_field_ids[0] describes CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE.
Declaration
public RepeatedField<long> CreativeCustomFieldIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<long> |
CurrencyCode
Optional. The ISO 4217 currency code for this report. Defaults to publisher currency code if not specified.
Declaration
public string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomDimensionKeyIds
Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_* dimensions. The index of this repeated field corresponds to the index on each dimension. For example, custom_dimension_key_ids[0] describes CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE.
Declaration
public RepeatedField<long> CustomDimensionKeyIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<long> |
DateRange
Required. The primary date range of this report.
Declaration
public Report.Types.DateRange DateRange { get; set; }
Property Value
Type | Description |
---|---|
Report.Types.DateRange |
Dimensions
Required. The list of dimensions to report on. If empty, the report will have no dimensions, and any metrics will be totals.
Declaration
public RepeatedField<Report.Types.Dimension> Dimensions { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Report.Types.Dimension> |
Filters
Optional. The filters for this report.
Declaration
public RepeatedField<Report.Types.Filter> Filters { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Report.Types.Filter> |
Flags
Optional. List of flags for this report. Used to flag rows in a result set based on a set of defined filters.
Declaration
public RepeatedField<Report.Types.Flag> Flags { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Report.Types.Flag> |
LineItemCustomFieldIds
Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_* dimensions. The index of this repeated field corresponds to the index on each dimension. For example, line_item_custom_field_ids[0] describes LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE.
Declaration
public RepeatedField<long> LineItemCustomFieldIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<long> |
Metrics
Required. The list of metrics to report on. If empty, the report will have no metrics.
Declaration
public RepeatedField<Report.Types.Metric> Metrics { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Report.Types.Metric> |
OrderCustomFieldIds
Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_* dimensions. The index of this repeated field corresponds to the index on each dimension. For example, order_custom_field_ids[0] describes ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE.
Declaration
public RepeatedField<long> OrderCustomFieldIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<long> |
ReportType
Required. The type of this report.
Declaration
public Report.Types.ReportType ReportType { get; set; }
Property Value
Type | Description |
---|---|
Report.Types.ReportType |
Sorts
Optional. Default sorts to apply to this report.
Declaration
public RepeatedField<Report.Types.Sort> Sorts { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Report.Types.Sort> |
TimePeriodColumn
Optional. Include a time period column to introduce comparison columns in the report for each generated period. For example, set to "QUARTERS" here to have a column for each quarter present in the primary date range. If "PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter column will also include comparison values for its relative previous quarter.
Declaration
public Report.Types.TimePeriodColumn TimePeriodColumn { get; set; }
Property Value
Type | Description |
---|---|
Report.Types.TimePeriodColumn |
TimeZone
Optional. The time zone the date range is defined in for this report. Defaults to publisher's time zone if not specified. Time zone in IANA format. Acceptable values depend on the report type. Publisher time zone is always accepted. Use "America/Los_Angeles" for pacific time, or "Etc/UTC" for UTC.
Declaration
public string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |