Class: WhopSDK::Models::AdGroupUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/whop_sdk/models/ad_group_update_params.rb

Overview

Defined Under Namespace

Classes: Config, PlatformConfig

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from WhopSDK::Internal::Type::BaseModel

Instance Attribute Details

#budgetFloat?

Budget amount in dollars.

Returns:

  • (Float, nil)


19
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 19

optional :budget, Float, nil?: true

#budget_typeSymbol, ...

The budget type for an ad campaign or ad group.

Returns:



25
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 25

optional :budget_type, enum: -> { WhopSDK::AdBudgetType }, nil?: true

#configWhopSDK::Models::AdGroupUpdateParams::Config?

Unified ad group configuration (bidding, optimization, targeting).



31
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 31

optional :config, -> { WhopSDK::AdGroupUpdateParams::Config }, nil?: true

#daily_budgetFloat?

Daily budget in dollars.

Returns:

  • (Float, nil)


37
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 37

optional :daily_budget, Float, nil?: true

#idString

Returns:

  • (String)


13
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 13

required :id, String

#nameString?

Human-readable ad group name.

Returns:

  • (String, nil)


43
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 43

optional :name, String, nil?: true

#platform_configWhopSDK::Models::AdGroupUpdateParams::PlatformConfig?

Platform-specific ad group configuration.



49
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 49

optional :platform_config, -> { WhopSDK::AdGroupUpdateParams::PlatformConfig }, nil?: true

#statusSymbol, ...

The status of an external ad group.

Returns:



55
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 55

optional :status, enum: -> { WhopSDK::AdGroupStatus }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 359