type SetValue (v202411)

  • The SetValue object in Google Ad Manager's API is used to represent a set of values, all of the same type.

  • It inherits from the Value object and cannot contain duplicate values.

  • This object is part of the PlacementService and is used to manage placements within Ad Manager.

  • It supports a variety of value types including Boolean, DateTime, Date, Number, and Text.

  • The values field within SetValue stores an array of these value types, ensuring consistency in the set.

Contains a set of Values. May not contain duplicates.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

Value (inherited)
SetValue

values

  1. Value[]
    1. ObjectValue
    2. BooleanValue
    3. DateTimeValue
    4. DateValue
    5. NumberValue
    6. SetValue
    7. TextValue

The values. They must all be the same type of Value and not contain duplicates.