Class: WhopSDK::Models::AdGroupUpdateParams::Config::Targeting
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdGroupUpdateParams::Config::Targeting
- Defined in:
- lib/whop_sdk/models/ad_group_update_params.rb
Overview
Defined Under Namespace
Modules: DevicePlatform, Gender, PlacementType
Instance Attribute Summary collapse
-
#age_max ⇒ Integer?
Maximum age for demographic targeting.
-
#age_min ⇒ Integer?
Minimum age for demographic targeting.
-
#countries ⇒ Array<String>?
ISO 3166-1 alpha-2 country codes to target.
-
#device_platforms ⇒ Array<Symbol, WhopSDK::Models::AdGroupUpdateParams::Config::Targeting::DevicePlatform>?
Device platforms to target.
-
#exclude_audience_ids ⇒ Array<String>?
Platform audience IDs to exclude.
-
#genders ⇒ Array<Symbol, WhopSDK::Models::AdGroupUpdateParams::Config::Targeting::Gender>?
Genders to target.
-
#include_audience_ids ⇒ Array<String>?
Platform audience IDs to include.
-
#interest_ids ⇒ Array<String>?
Platform-specific interest IDs to target.
-
#languages ⇒ Array<String>?
Language codes to target.
-
#placement_type ⇒ Symbol, ...
Placement strategy for ad delivery.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(age_max: nil, age_min: nil, countries: nil, device_platforms: nil, exclude_audience_ids: nil, genders: nil, include_audience_ids: nil, interest_ids: nil, languages: nil, placement_type: nil) ⇒ Object
constructor
Audience targeting settings (demographics, geo, interests, audiences, devices).
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(age_max: nil, age_min: nil, countries: nil, device_platforms: nil, exclude_audience_ids: nil, genders: nil, include_audience_ids: nil, interest_ids: nil, languages: nil, placement_type: nil) ⇒ Object
Audience targeting settings (demographics, geo, interests, audiences, devices).
|
|
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 304
|
Instance Attribute Details
#age_max ⇒ Integer?
Maximum age for demographic targeting.
238 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 238 optional :age_max, Integer, nil?: true |
#age_min ⇒ Integer?
Minimum age for demographic targeting.
244 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 244 optional :age_min, Integer, nil?: true |
#countries ⇒ Array<String>?
ISO 3166-1 alpha-2 country codes to target.
250 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 250 optional :countries, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#device_platforms ⇒ Array<Symbol, WhopSDK::Models::AdGroupUpdateParams::Config::Targeting::DevicePlatform>?
Device platforms to target.
256 257 258 259 260 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 256 optional :device_platforms, -> { WhopSDK::Internal::Type::ArrayOf[enum: WhopSDK::AdGroupUpdateParams::Config::Targeting::DevicePlatform] }, nil?: true |
#exclude_audience_ids ⇒ Array<String>?
Platform audience IDs to exclude.
266 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 266 optional :exclude_audience_ids, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#genders ⇒ Array<Symbol, WhopSDK::Models::AdGroupUpdateParams::Config::Targeting::Gender>?
Genders to target.
272 273 274 275 276 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 272 optional :genders, -> { WhopSDK::Internal::Type::ArrayOf[enum: WhopSDK::AdGroupUpdateParams::Config::Targeting::Gender] }, nil?: true |
#include_audience_ids ⇒ Array<String>?
Platform audience IDs to include.
282 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 282 optional :include_audience_ids, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#interest_ids ⇒ Array<String>?
Platform-specific interest IDs to target.
288 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 288 optional :interest_ids, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#languages ⇒ Array<String>?
Language codes to target.
294 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 294 optional :languages, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#placement_type ⇒ Symbol, ...
Placement strategy for ad delivery.
300 301 302 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 300 optional :placement_type, enum: -> { WhopSDK::AdGroupUpdateParams::Config::Targeting::PlacementType }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 334
|