Class: Whop_sdk::Types::TargetingOption

Inherits:
Internal::Types::Model show all
Extended by:
Internal::Types::Union
Defined in:
lib/whop_sdk/types/targeting_option.rb

Overview

One result from the ad-group targeting-options search. type picks the shape: detailed-targeting taxonomy options carry the ad platform's id, languages carry an ISO 639 code, and locations carry the platform key plus geographic context.

Method Summary

Methods included from Internal::Types::Union

coerce, discriminant, load, member, members, type_member?

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Constructor Details

This class inherits a constructor from Whop_sdk::Internal::Types::Model