Show / Hide Table of Contents

Class CustomPacingGoal

An interval of a CustomPacingCurve. A custom pacing goal contains a start time and an amount. The goal will apply until either the next custom pacing goal's getStartTime or the line item's end time if it is the last goal.

Inheritance
object
CustomPacingGoal
Implements
IMessage<CustomPacingGoal>
IEquatable<CustomPacingGoal>
IDeepCloneable<CustomPacingGoal>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomPacingGoal : IMessage<CustomPacingGoal>, IEquatable<CustomPacingGoal>, IDeepCloneable<CustomPacingGoal>, IBufferMessage, IMessage

Constructors

CustomPacingGoal()

Declaration
public CustomPacingGoal()

CustomPacingGoal(CustomPacingGoal)

Declaration
public CustomPacingGoal(CustomPacingGoal other)
Parameters
Type Name Description
CustomPacingGoal other

Properties

Amount

Optional. The amount associated with the goal. This field is required.

Declaration
public long Amount { get; set; }
Property Value
Type Description
long

HasAmount

Gets whether the "amount" field is set

Declaration
public bool HasAmount { get; }
Property Value
Type Description
bool

HasUseLineItemStartTime

Gets whether the "use_line_item_start_time" field is set

Declaration
public bool HasUseLineItemStartTime { get; }
Property Value
Type Description
bool

StartTime

Optional. The start date and time of the goal. This field is required unless [use_line_item_start_time][google.ads.admanager.v1.CustomPacingGoal.use_line_item_start_time] is true.

Declaration
public Timestamp StartTime { get; set; }
Property Value
Type Description
Timestamp

UseLineItemStartTime

Optional. Input only. Whether the [LineItem.start_time] should be used for the start date and time of this goal. This field is not persisted and if it is set to true, the [start_time] field will be populated by the line item's start time.

Declaration
public bool UseLineItemStartTime { get; set; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX