Class: WhopSDK::Models::AdGroupListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdGroupListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/ad_group_list_params.rb,
sig/whop_sdk/models/ad_group_list_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#account_id ⇒ String?
Account whose ad groups to list.
-
#ad_campaign_id ⇒ String?
Filter to ad groups in this campaign.
-
#after ⇒ String?
Cursor to fetch the page after (from page_info.end_cursor).
-
#before ⇒ String?
Cursor to fetch the page before (from page_info.start_cursor).
-
#created_after ⇒ String?
Only return ad groups created after this timestamp.
-
#created_before ⇒ String?
Only return ad groups created before this timestamp.
-
#direction ⇒ Symbol, ...
The sort direction.
-
#first ⇒ Integer?
The number of ad groups to return.
-
#last ⇒ Integer?
The number of ad groups to return from the end of the range.
-
#order ⇒ Symbol, ...
The field to sort by.
-
#query ⇒ String?
Filter ad groups by a title or ID substring.
-
#stats_from ⇒ String?
Start of the stats window.
-
#stats_to ⇒ String?
End of the stats window.
-
#status ⇒ String?
Filter to a status (active, paused, in_review, rejected).
-
#time_zone ⇒ String?
IANA timezone (e.g. America/New_York) the stats window is interpreted in.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id: nil, ad_campaign_id: nil, after: nil, before: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, order: nil, query: nil, stats_from: nil, stats_to: nil, status: nil, time_zone: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see AdGroupListParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_id: nil, ad_campaign_id: nil, after: nil, before: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, order: nil, query: nil, stats_from: nil, stats_to: nil, status: nil, time_zone: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::AdGroupListParams for more details.
|
|
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 105
|
Instance Attribute Details
#account_id ⇒ String?
Account whose ad groups to list. Defaults to the authenticated account.
14 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 14 optional :account_id, String |
#ad_campaign_id ⇒ String?
Filter to ad groups in this campaign.
20 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 20 optional :ad_campaign_id, String |
#after ⇒ String?
Cursor to fetch the page after (from page_info.end_cursor).
26 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 26 optional :after, String |
#before ⇒ String?
Cursor to fetch the page before (from page_info.start_cursor).
32 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 32 optional :before, String |
#created_after ⇒ String?
Only return ad groups created after this timestamp.
38 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 38 optional :created_after, String |
#created_before ⇒ String?
Only return ad groups created before this timestamp.
44 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 44 optional :created_before, String |
#direction ⇒ Symbol, ...
The sort direction. Defaults to desc.
50 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 50 optional :direction, enum: -> { WhopSDK::AdGroupListParams::Direction } |
#first ⇒ Integer?
The number of ad groups to return.
56 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 56 optional :first, Integer |
#last ⇒ Integer?
The number of ad groups to return from the end of the range.
62 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 62 optional :last, Integer |
#order ⇒ Symbol, ...
The field to sort by. Defaults to created_at. Stat columns (spend, impressions, …) rank over the stats_from/stats_to window across the whole list, not just the current page. results, cost_per_result and return_on_ad_spend rank by the same Whop pixel-attributed values the response reports.
71 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 71 optional :order, enum: -> { WhopSDK::AdGroupListParams::Order } |
#query ⇒ String?
Filter ad groups by a title or ID substring.
77 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 77 optional :query, String |
#stats_from ⇒ String?
Start of the stats window. Defaults to all-time.
83 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 83 optional :stats_from, String |
#stats_to ⇒ String?
End of the stats window. Defaults to now.
89 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 89 optional :stats_to, String |
#status ⇒ String?
Filter to a status (active, paused, in_review, rejected).
95 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 95 optional :status, String |
#time_zone ⇒ String?
IANA timezone (e.g. America/New_York) the stats window is interpreted in. Bare stats_from/stats_to dates resolve to day boundaries on this clock. Defaults to UTC.
103 |
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 103 optional :time_zone, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/ad_group_list_params.rb', line 148
|
Instance Method Details
#to_hash ⇒ {
110 |
# File 'sig/whop_sdk/models/ad_group_list_params.rbs', line 110
def to_hash: -> {
|