Class TrafficForecastSegment
An entity that defines a segment of traffic that will be adjusted or explored.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class TrafficForecastSegment : IMessage<TrafficForecastSegment>, IEquatable<TrafficForecastSegment>, IDeepCloneable<TrafficForecastSegment>, IBufferMessage, IMessage
Constructors
TrafficForecastSegment()
Declaration
public TrafficForecastSegment()
TrafficForecastSegment(TrafficForecastSegment)
Declaration
public TrafficForecastSegment(TrafficForecastSegment other)
Parameters
| Type | Name | Description |
|---|---|---|
| TrafficForecastSegment | other |
Properties
CreateTime
Output only. The date and time that the TrafficForecastSegment was created.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
DisplayName
Required. Name of the TrafficForecastSegment. This field must be unique among all segments for this network.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ForecastAdjustmentCount
Output only. The number of active forecast adjustments associated with the TrafficForecastSegment.
Declaration
public int ForecastAdjustmentCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasForecastAdjustmentCount
Gets whether the "forecast_adjustment_count" field is set
Declaration
public bool HasForecastAdjustmentCount { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Identifier. The resource name of the TrafficForecastSegment.
Format:
networks/{network_code}/trafficForecastSegments/{trafficForecastSegmentId}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetedAdUnits
Optional. The ad units that are targeted by the TrafficForecastSegment.
Declaration
public RepeatedField<string> TargetedAdUnits { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
TargetedAdUnitsAsAdUnitNames
AdUnitName-typed view over the TargetedAdUnits resource name property.
Declaration
public ResourceNameList<AdUnitName> TargetedAdUnitsAsAdUnitNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<AdUnitName> |
Targeting
Required. Immutable. The targeting that defines a segment of traffic.
Declaration
public Targeting Targeting { get; set; }
Property Value
| Type | Description |
|---|---|
| Targeting |
TrafficForecastSegmentName
TrafficForecastSegmentName-typed view over the Name resource name property.
Declaration
public TrafficForecastSegmentName TrafficForecastSegmentName { get; set; }
Property Value
| Type | Description |
|---|---|
| TrafficForecastSegmentName |