{"openapi":"3.0.3","info":{"title":"Core API Resources","version":"2.0.0","description":"Buzz API v2"},"paths":{"/account-alerts":{"get":{"operationId":"account_alerts_list","description":"Retrieve a list of all account alerts. Requires appropriate user permissions.","summary":"List account alerts","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountAlertList"}}},"description":""}}},"post":{"operationId":"account_alerts_create","description":"Create a new account alert.","summary":"Create an account alert","tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountAlert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"description":""}}}},"/account-alerts/{id}":{"get":{"operationId":"account_alerts_retrieve","description":"Retrieve a specific account alert by its ID.","summary":"Retrieve an account alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"description":""}}},"put":{"operationId":"account_alerts_update","description":"Update an existing account alert by ID.","summary":"Update an account alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountAlert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"description":""}}},"patch":{"operationId":"account_alerts_partial_update","description":"Partially update fields of an existing account alert.","summary":"Partially update an account alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccountAlert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAccountAlert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAccountAlert"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountAlert"}}},"description":""}}},"delete":{"operationId":"account_alerts_destroy","description":"Delete an account alert by ID.","summary":"Delete an account alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/account-groups":{"get":{"operationId":"account_groups_list","description":"Retrieve a list of account groups accessible to the current user.","summary":"List account groups","parameters":[{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"customer_id","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"customer_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"customer_id__lt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__lte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"integer"}},{"in":"query","name":"id__gt","schema":{"type":"integer"}},{"in":"query","name":"id__gte","schema":{"type":"integer"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"integer"}},{"in":"query","name":"id__lte","schema":{"type":"integer"}},{"in":"query","name":"id__not","schema":{"type":"integer"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["Account Groups"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountGroupDetailsList"}}},"description":"Account groups retrieved successfully."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}},"post":{"operationId":"account_groups_create","description":"Create a new account group. Requires appropriate permissions.","summary":"Create an account group","tags":["Account Groups"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"description":"Account group created successfully."},"400":{"description":"Invalid input data."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/account-groups/bulk":{"post":{"operationId":"account_groups_bulk_create","description":"Create multiple account groups in a single request.","summary":"Bulk create account groups","tags":["Account Groups"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountGroupDetailsList"}}},"description":"Account groups created successfully."},"400":{"description":"Invalid data"}}},"patch":{"operationId":"account_groups_bulk_partial_update","description":"Update multiple account groups in a single request.","summary":"Bulk update account groups","tags":["Account Groups"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountGroupDetailsList"}}},"description":"Account groups updated successfully."},"400":{"description":"Validation errors"}}},"delete":{"operationId":"account_groups_bulk_destroy","description":"Delete multiple account groups in a single request.","summary":"Bulk delete account groups","tags":["Account Groups"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Account groups deleted successfully."},"400":{"description":"Invalid request"}}}},"/account-groups/{id}":{"get":{"operationId":"account_groups_retrieve","description":"Get a specific account group by its ID.","summary":"Retrieve an account group","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account group.","required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter account groups by name"}],"tags":["Account Groups"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"description":"Account group retrieved successfully."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"404":{"description":"Account group not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"account_groups_update","description":"Update an existing account group by ID.","summary":"Update an account group","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account group.","required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter account groups by name"}],"tags":["Account Groups"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"description":"Account group updated successfully."},"400":{"description":"Invalid input data."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"404":{"description":"Account group not found."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"account_groups_partial_update","description":"Partially update an account group by ID. Only provided fields are updated.","summary":"Partially update an account group","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account group.","required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter account groups by name"}],"tags":["Account Groups"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccountGroupDetails"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAccountGroupDetails"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAccountGroupDetails"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupDetails"}}},"description":"Account group partially updated successfully."},"400":{"description":"Invalid input data."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"404":{"description":"Account group not found."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"account_groups_destroy","description":"Delete an account group by ID.","summary":"Delete an account group","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account group.","required":true}],"tags":["Account Groups"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Account group deleted successfully."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"404":{"description":"Account group not found."},"500":{"description":"Internal server error."}}}},"/accounts":{"get":{"operationId":"accounts_list","description":"Retrieve a list of all accounts.","summary":"List accounts","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"customer_id","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"customer_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"customer_id__lt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__lte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Accounts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountList"}}},"description":"Successful response."}}},"post":{"operationId":"accounts_create","description":"A base class providing common functionality for ViewSets in buzz_next. Mix the desired model actions into classes extending this(CreateModelMixin) to specify which operations are supported.","summary":"Create an account","tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Account"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Account"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}}}},"/accounts/bulk":{"post":{"operationId":"accounts_bulk_create","description":"post: Create multiple items patch: Update multiple items","summary":"Bulk create accounts","tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountList"}}},"description":""}}},"patch":{"operationId":"accounts_bulk_partial_update","description":"post: Create multiple items patch: Update multiple items","summary":"Bulk update accounts","tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountList"}}},"description":""}}}},"/accounts/{id}":{"get":{"operationId":"accounts_retrieve","description":"Get account details by ID.","summary":"Retrieve an account","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account.","required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter accounts"}],"tags":["Accounts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account details retrieved successfully."},"404":{"description":"Account not found."}}},"put":{"operationId":"accounts_update","description":"HACK: The instance updated will not include passthrough_deal_list via the related manager because we don't allow 'all_accounts' to be specified for POST requests — if all was updated successfully, return the 'deals list' supplied in the request.","summary":"Update an account","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account.","required":true}],"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Account"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Account"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}}},"patch":{"operationId":"accounts_partial_update","description":"A base class providing common functionality for ViewSets in buzz_next. Mix the desired model actions into classes extending this(CreateModelMixin) to specify which operations are supported.","summary":"Partially update an account","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this account.","required":true}],"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}}}},"/accounts/{id}/settings":{"get":{"operationId":"accounts_settings_retrieve","description":"Get settings for a specific account by ID.","summary":"Retrieve account settings","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["Accounts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"description":""}}},"put":{"operationId":"accounts_settings_update","description":"Replace all settings for a specific account by ID.","summary":"Replace account settings","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountSettings"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"description":""}}},"patch":{"operationId":"accounts_settings_partial_update","description":"Partially update one or more settings for a specific account by ID.","summary":"Partially update account settings","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccountSettings"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAccountSettings"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAccountSettings"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"description":""}}}},"/activity-logs":{"get":{"operationId":"activity_logs_list","description":"Get a paginated list of activity logs for the requesting account.","summary":"List activity logs","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"action","schema":{"type":"string","enum":["CREATE","DELETE","DUPLICATE","UPDATE"]},"description":"CREATE, UPDATE, DUPLICATE, or DELETE\n\n* `CREATE` - Create\n* `UPDATE` - Update\n* `DUPLICATE` - Duplicate\n* `DELETE` - Delete"},{"in":"query","name":"action__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"action__isempty","schema":{"type":"boolean"}},{"in":"query","name":"action__not","schema":{"type":"string","enum":["CREATE","DELETE","DUPLICATE","UPDATE"]},"description":"CREATE, UPDATE, DUPLICATE, or DELETE\n\n* `CREATE` - Create\n* `UPDATE` - Update\n* `DUPLICATE` - Duplicate\n* `DELETE` - Delete"},{"in":"query","name":"action__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"activity_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"activity_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__not","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"activity_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date the activity took place\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"api_version","schema":{"type":"string"}},{"in":"query","name":"api_version__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"api_version__isempty","schema":{"type":"boolean"}},{"in":"query","name":"api_version__not","schema":{"type":"string"}},{"in":"query","name":"api_version__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"log_id","schema":{"type":"integer"}},{"in":"query","name":"log_id__gt","schema":{"type":"integer"}},{"in":"query","name":"log_id__gte","schema":{"type":"integer"}},{"in":"query","name":"log_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"log_id__lt","schema":{"type":"integer"}},{"in":"query","name":"log_id__lte","schema":{"type":"integer"}},{"in":"query","name":"log_id__not","schema":{"type":"integer"}},{"in":"query","name":"log_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_id","schema":{"type":"integer"}},{"in":"query","name":"object_id__gt","schema":{"type":"integer"}},{"in":"query","name":"object_id__gte","schema":{"type":"integer"}},{"in":"query","name":"object_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_id__lt","schema":{"type":"integer"}},{"in":"query","name":"object_id__lte","schema":{"type":"integer"}},{"in":"query","name":"object_id__not","schema":{"type":"integer"}},{"in":"query","name":"object_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_type_id","schema":{"type":"string"}},{"in":"query","name":"object_type_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_type_id__not","schema":{"type":"string"}},{"in":"query","name":"object_type_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"in":"query","name":"user_id","schema":{"type":"integer"}},{"in":"query","name":"user_id__gt","schema":{"type":"integer"}},{"in":"query","name":"user_id__gte","schema":{"type":"integer"}},{"in":"query","name":"user_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"user_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"user_id__lt","schema":{"type":"integer"}},{"in":"query","name":"user_id__lte","schema":{"type":"integer"}},{"in":"query","name":"user_id__not","schema":{"type":"integer"}},{"in":"query","name":"user_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"version_id","schema":{"type":"integer"}},{"in":"query","name":"version_id__gt","schema":{"type":"integer"}},{"in":"query","name":"version_id__gte","schema":{"type":"integer"}},{"in":"query","name":"version_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"version_id__lt","schema":{"type":"integer"}},{"in":"query","name":"version_id__lte","schema":{"type":"integer"}},{"in":"query","name":"version_id__not","schema":{"type":"integer"}},{"in":"query","name":"version_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"}],"tags":["Activity Logs"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedActivityLogList"}}},"description":""}}}},"/activity-logs/{id}":{"get":{"operationId":"activity_logs_retrieve","description":"Retrieve a single activity log entry by its ID.","summary":"Retrieve an activity log","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"Unique id of the log entry"},"required":true}],"tags":["Activity Logs"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityLog"}}},"description":""}}}},"/advertisers":{"get":{"operationId":"advertisers_list","description":"Retrives a list of all advertisers.","summary":"List advertisers","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Advertisers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAdvertiserList"}}},"description":"Advertisers list retrieved successfully."},"403":{"description":"Permission denied."},"404":{"description":"Advertisers not found."},"500":{"description":"Internal server error."}}},"post":{"operationId":"advertisers_create","description":"Create a new advertiser with the provided details.","summary":"Create an advertiser","tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Advertiser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"description":"Advertiser created successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"422":{"description":"Validation error."},"500":{"description":"Internal server error."}}}},"/advertisers/bulk":{"post":{"operationId":"advertiser_bulk_create","description":"Create multiple advertisers at once. The request body should contain a list of advertiser objects.","summary":"Bulk create advertisers","tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAdvertiserList"}}},"description":"Advertisers created successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"advertiser_bulk_update","description":"Update multiple advertisers at once. The request body should contain a list of advertiser objects with the fields to be updated.","summary":"Bulk update advertisers","parameters":[{"in":"query","name":"ids","schema":{"type":"string"},"description":"Comma-separated list of IDs to update or delete","required":true}],"tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAdvertiserList"}}},"description":"Advertisers updated successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"advertiser_bulk_delete","description":"Delete multiple advertisers at once. Advertisers with associated campaigns or creatives cannot be deleted.","summary":"Bulk delete advertisers","parameters":[{"in":"query","name":"ids","schema":{"type":"string"},"description":"Comma-separated list of IDs to update or delete","required":true}],"tags":["Advertisers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Advertisers deleted successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Advertiser not found."},"500":{"description":"Internal server error."}}}},"/advertisers/bulk/validate":{"patch":{"operationId":"advertisers_bulk_validate_partial_update","description":"Confirms the validity of multiple Advertisers by providing a list of warnings and errors prior to updating. Changes are not saved by the endpoint unless the save parameter is used.","summary":"Bulk validate advertisers","tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAdvertiserList"}}},"description":"Advertisers validated successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/advertisers/{id}":{"get":{"operationId":"advertisers_retrieve","description":"Retrieve details of a specific advertiser using its ID.","summary":"Get an advertiser by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this advertiser.","required":true}],"tags":["Advertisers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"description":"Advertiser details retrieved successfully."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Advertiser not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"advertisers_update","description":"Update the details of a specific advertiser using its ID.","summary":"Update an advertiser by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this advertiser.","required":true}],"tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Advertiser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"description":"Advertiser updated successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Advertiser not found."},"422":{"description":"Validation error."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"advertisers_partial_update","description":"Partially update the details of a specific advertiser using its ID.","summary":"Partially update an advertiser by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this advertiser.","required":true}],"tags":["Advertisers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAdvertiser"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Advertiser"}}},"description":"Advertiser partially updated successfully."},"400":{"description":"Invalid data provided."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Advertiser not found."},"422":{"description":"Validation error."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"advertisers_destroy","description":"Delete a specific advertiser using its ID. Advertisers with associated campaigns or creatives cannot be deleted.","summary":"Delete an advertiser by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this advertiser.","required":true}],"tags":["Advertisers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/alerts":{"get":{"operationId":"alerts_list","description":"Retrieve a list of alerts for the current user or account.","summary":"List alerts","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alert_id","schema":{"type":"integer"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"from_address","schema":{"type":"string"}},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"in":"query","name":"subject","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"user_id","schema":{"type":"number"}}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAlertList"}}},"description":""}}},"post":{"operationId":"alerts_create","description":"Create a new alert. Returns the created alert details.","summary":"Create an alert","tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Alert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Alert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":""}}}},"/alerts/dismiss-all":{"post":{"operationId":"alerts_dismiss_all_create","description":"Marks all active alerts for the current user as dismissed.","summary":"Dismiss all alerts","tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Alert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Alert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"All alerts dismissed successfully."}}}},"/alerts/{id}":{"get":{"operationId":"alerts_retrieve","description":"Retrieve a specific alert by ID.","summary":"Retrieve an alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":""}}},"put":{"operationId":"alerts_update","description":"Update an existing alert by ID.","summary":"Update an alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Alert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Alert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":""}}},"patch":{"operationId":"alerts_partial_update","description":"Update specific fields of an existing alert.","summary":"Partially update an alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAlert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAlert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAlert"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":""}}},"delete":{"operationId":"alerts_destroy","description":"Soft-delete an existing alert. Marks it inactive instead of removing it from the database.","summary":"Delete an alert","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["Alerts"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/alerts/{id}/dismiss":{"post":{"operationId":"alerts_dismiss_create","description":"Marks a specific alert as inactive (dismissed). Only accessible to users with appropriate permissions.","summary":"Dismiss an alert","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["Alerts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Alert"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Alert"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Alert dismissed successfully."}}}},"/authenticate":{"post":{"operationId":"authenticate_create","description":"Authenticates a session with email and password.Supports these fields in the request or through basic authentication (if enabled on your account).Returns a cookie to use on subsequent API requests.","summary":"Authenticate a user session","tags":["Authentication"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Authenticate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Authenticate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Authenticate"}}}},"security":[{"nestBasicAuth":[]},{"nestPasswordAuth":[]},{"nestSessionAuth":[]},{}],"responses":{"200":{"description":"Authentication successful. Session cookie returned in the response."},"400":{"description":"Bad request. Missing or invalid input fields (e.g., malformed email or password)."},"401":{"description":"Unauthorized. Invalid email or password, or authentication method not accepted."},"403":{"description":"Forbidden. The user account exists but is inactive or suspended."},"429":{"description":"Too many login attempts. Please wait before trying again."},"500":{"description":"Internal server error. An unexpected issue occurred during authentication."}}}},"/bid-modifiers":{"get":{"operationId":"bid_modifiers_list","description":"Returns a paginated list of all Bid Modifiers for the advertiser.","summary":"List bid modifiers","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"bid_model_id","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__gt","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__gte","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"bid_model_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"bid_model_id__lt","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__lte","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__not","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModifierList"}}},"description":""}}},"post":{"operationId":"bid_modifiers_create","description":"Create a new bid modifier.","summary":"Create a new bid modifier","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Bid Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BidModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModifierList"}}},"description":""}}}},"/bid-modifiers/deleted":{"get":{"operationId":"soft_deleted_bid_modifier_list","description":"Returns a list of Bid Modifiers that have the DELETED status.","summary":"Get list of soft-deleted Bid Modifiers","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"bid_model_id","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__gt","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__gte","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"bid_model_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"bid_model_id__lt","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__lte","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__not","schema":{"type":"number"}},{"in":"query","name":"bid_model_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Filter by name or other fields (if supported by the filter set)."},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModifierList"}}},"description":""}}}},"/bid-modifiers/deleted/{id}":{"get":{"operationId":"deleted_bid_modifier_by_id_retrieve","description":"Returns a single soft-deleted Bid Modifier by its ID.","summary":"Get soft-deleted Bid Modifier by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the Bid Modifier to GET"},"required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"description":""}}}},"/bid-modifiers/{id}":{"get":{"operationId":"bid_modifiers_retrieve","description":"Get a bid modifier by ID.","summary":"Get a bid modifier by ID","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"description":"Bid Modifier ID","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"description":""}}},"put":{"operationId":"bid_modifiers_update","description":"Update a bid modifier by ID.","summary":"Update a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"The ID of the Bid Modifier to GET","required":true}],"tags":["Bid Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BidModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"description":""}}},"patch":{"operationId":"bid_modifiers_partial_update","description":"Partially update a bid modifier by ID. Only the fields provided in the request will be updated.","summary":"Partially update a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"The ID of the Bid Modifier to GET","required":true}],"tags":["Bid Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBidModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBidModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBidModifier"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModifier"}}},"description":""}}},"delete":{"operationId":"bid_modifiers_destroy","description":"Delete a bid modifier by ID. This action is irreversible and will remove the bid modifier and all associated data.","summary":"Delete a bid modifier by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"The ID of the Bid Modifier to GET","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/bid-modifiers/{id}/campaigns":{"get":{"operationId":"bid_modifiers_campaigns_retrieve","description":"Retrieve all campaigns associated with a specific bid modifier.","summary":"List campaigns associated with a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Bid Modifier ID","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Successful response with a paginated list of associated campaigns."},"400":{"description":"Bad request. The provided modifier ID or query parameters are invalid."},"401":{"description":"Unauthorized. Authentication credentials were not provided or are invalid."},"403":{"description":"Forbidden. You do not have permission to access campaigns for this modifier."},"404":{"description":"Modifier not found. Ensure the modifier ID is correct."},"429":{"description":"Too many requests. Please try again later."},"500":{"description":"Internal server error. Try again later or contact support."}}}},"/bid-modifiers/{id}/line-items":{"get":{"operationId":"bid_modifiers_line_items_retrieve","description":"Retrieve all line items associated with a specific bid modifier.","summary":"List line items associated with a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Bid Modifier ID","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Successful response with a paginated list of associated line items."},"400":{"description":"Bad request. The provided modifier ID or query parameters are invalid."},"401":{"description":"Unauthorized. Authentication credentials were not provided or are invalid."},"403":{"description":"Forbidden. You do not have permission to access line items for this modifier."},"404":{"description":"Modifier not found. Ensure the modifier ID is correct."},"429":{"description":"Too many requests. Please try again later."},"500":{"description":"Internal server error. Try again later or contact support."}}}},"/bid-modifiers/{id}/versions":{"get":{"operationId":"bid_modifiers_versions_list","description":"Retrieve versions for this modifier.","summary":"List versions of a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the Bid Modifier to GET"},"required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModifierList"}}},"description":""}}}},"/bulk-uploads/{id}/download":{"get":{"operationId":"bulk_uploads_download_retrieve","description":"Retrieves a list of errors that occurred during a bulk upload.","summary":"Retrieve errors from a bulk upload","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"ID of the bulk item","required":true}],"tags":["Bulk File Upload"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Bulk upload errors retrieved successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/campaigns":{"get":{"operationId":"campaigns_list","description":"Retrieves a list of all campaigns. Each campaign represents a container for multiple line items that define budget, timing, and delivery details.","summary":"List campaigns","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Campaigns"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCampaignList"}}},"description":"Campaign list retrieved successfully."},"500":{"description":"Internal server error."}}},"post":{"operationId":"campaigns_create","description":"Creates a new campaign with the specified budget, advertiser, and targeting details.","summary":"Create a campaign","tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Campaign"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"description":"Campaign created successfully."},"400":{"description":"Invalid request data."}}}},"/campaigns/bulk":{"post":{"operationId":"campaigns_bulk_create","description":"Create multiple campaigns in a single request.","summary":"Bulk create campaigns","tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCampaignList"}}},"description":"Campaigns created successfully."},"400":{"description":"Invalid data."}}},"patch":{"operationId":"campaigns_bulk_partial_update","description":"Update multiple campaigns in a single request.","summary":"Bulk update campaigns","tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCampaignList"}}},"description":"Campaigns updated successfully."},"400":{"description":"Validation errors."}}},"delete":{"operationId":"campaigns_bulk_destroy","description":"Delete multiple campaigns in a single request using their IDs.","summary":"Bulk delete campaigns","tags":["Campaigns"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Campaigns deleted successfully."},"400":{"description":"Invalid request."}}}},"/campaigns/bulk/validate":{"patch":{"operationId":"campaigns_bulk_validate_partial_update","description":"Validates multiple campaigns in bulk, identifying warnings and errors prior to update. Changes are not saved unless the `save` parameter is explicitly provided.","summary":"Bulk validate campaigns","tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Bulk validation completed successfully."},"400":{"description":"Invalid campaign data."}}}},"/campaigns/{id}":{"get":{"operationId":"campaigns_retrieve","description":"Fetches detailed information about a specific campaign identified by its ID.","summary":"Retrieve a campaign by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"description":"Campaign details retrieved successfully."},"404":{"description":"Campaign not found."}}},"put":{"operationId":"campaigns_update","description":"Updates all fields of an existing campaign identified by its ID.","summary":"Update a campaign by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Campaign"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"description":"Campaign updated successfully."},"400":{"description":"Invalid data provided."}}},"patch":{"operationId":"campaigns_partial_update","description":"Partially updates specific fields of a campaign identified by its ID.","summary":"Partially update a campaign by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedCampaign"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaign"}}},"description":"Campaign partially updated successfully."},"400":{"description":"Invalid request data."}}},"delete":{"operationId":"campaigns_destroy","description":"Deletes a specific campaign identified by its ID. This operation is irreversible and will remove the campaign if it has no associated line items.","summary":"Delete a campaign","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Campaign deleted successfully."},"400":{"description":"Cannot delete campaign with active line items."}}}},"/campaigns/{id}/duplicate":{"get":{"operationId":"campaigns_duplicate_retrieve","description":"GET: Retrieve the JSON representation of a campaign and its duplicable entities.POST: Initiates campaign duplication using the provided configuration.","summary":"Duplicate a campaign","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCampaignList"}}},"description":"Campaign duplication completed successfully."},"400":{"description":"Invalid duplication request."}}},"post":{"operationId":"campaigns_duplicate_create","description":"GET: Retrieve the JSON representation of a campaign and its duplicable entities.POST: Initiates campaign duplication using the provided configuration.","summary":"Duplicate a campaign","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Campaigns"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDuplicate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CampaignDuplicate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CampaignDuplicate"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCampaignList"}}},"description":"Campaign duplication completed successfully."},"400":{"description":"Invalid duplication request."}}}},"/campaigns/{id}/metrics":{"get":{"operationId":"campaigns_metrics_retrieve","description":"Retrieves performance metrics for a specific campaign.","summary":"Get a campaign's metrics","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this campaign.","required":true}],"tags":["Metrics"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Campaign metrics retrieved successfully."},"404":{"description":"Campaign not found."}}}},"/change-password":{"post":{"operationId":"change_password_create","description":"Changes the password for the currently authenticated user. Requires a valid session or authentication token.","summary":"Change the current user's password","tags":["Authentication"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordLoggedIn"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ChangePasswordLoggedIn"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ChangePasswordLoggedIn"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Password has been changed successfully."},"400":{"description":"Bad request. Invalid input data or password format."},"401":{"description":"Unauthorized. User is not authenticated or session has expired."},"403":{"description":"Forbidden. The user does not have permission to change the password."},"500":{"description":"Internal server error. Failed to change password."}}}},"/conversion-tag-assignments":{"get":{"operationId":"conversion_tag_assignments_list","description":"Retrieve all event assignments.","summary":"List event assignments","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"conversion_tag_id","schema":{"type":"integer"}},{"in":"query","name":"conversion_tag_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"conversion_tag_id__not","schema":{"type":"integer"}},{"in":"query","name":"conversion_tag_id__not__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_id","schema":{"type":"integer"}},{"in":"query","name":"object_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_id__not","schema":{"type":"integer"}},{"in":"query","name":"object_id__not__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_type","schema":{"type":"string"}},{"in":"query","name":"object_type__contains","schema":{"type":"string"}},{"in":"query","name":"object_type__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"object_type__not","schema":{"type":"string"}},{"in":"query","name":"object_type__not__contains","schema":{"type":"string"}},{"in":"query","name":"object_type__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEventAssignmentList"}}},"description":""}}},"post":{"operationId":"conversion_tag_assignments_create","description":"Create a new event assignment.","summary":"Create an event assignment","tags":["Conversion Tags"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventAssignment"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/EventAssignment"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/EventAssignment"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventAssignment"}}},"description":""}}}},"/conversion-tag-assignments/{id}":{"get":{"operationId":"conversion_tag_assignments_retrieve","description":"Retrieve details of a specific event assignment.","summary":"Retrieve an event assignment","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event assignment.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventAssignment"}}},"description":""}}},"delete":{"operationId":"conversion_tag_assignments_destroy","description":"Delete an existing event assignment.","summary":"Delete an event assignment","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event assignment.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/conversion-tags":{"get":{"operationId":"conversion_tags_list","description":"Retrieve a list of all events.","summary":"List events","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"attribution","schema":{"type":"string"}},{"in":"query","name":"attribution__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"attribution__not","schema":{"type":"string"}},{"in":"query","name":"attribution__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"enabled_for_cpa","schema":{"type":"boolean"}},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not__contains","schema":{"type":"string"}},{"in":"query","name":"name__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"segment_id","schema":{"type":"number"}},{"in":"query","name":"segment_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"segment_id__not","schema":{"type":"number"}},{"in":"query","name":"segment_id__not__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"tag_type_id","schema":{"type":"string"}},{"in":"query","name":"tag_type_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"tag_type_id__not","schema":{"type":"string"}},{"in":"query","name":"tag_type_id__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"type_id","schema":{"type":"integer"}},{"in":"query","name":"type_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"type_id__not","schema":{"type":"integer"}},{"in":"query","name":"type_id__not__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEventList"}}},"description":"Events retrieved successfully."}}},"post":{"operationId":"conversion_tags_create","description":"Create a new event.","summary":"Create an event","tags":["Conversion Tags"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Event"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Event"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}},"description":"Event created successfully."},"400":{"description":"Invalid event data."}}}},"/conversion-tags/bulk-tag":{"get":{"operationId":"conversion_tags_bulk_tag_retrieve","description":"Retrieve rendered tags for filtered events.","summary":"List event tags","tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTag"}}},"description":""}}}},"/conversion-tags/{id}":{"get":{"operationId":"conversion_tags_retrieve","description":"Retrieve details of a specific event.","summary":"Retrieve an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}},"description":"Event retrieved successfully."},"404":{"description":"Event not found."}}},"put":{"operationId":"conversion_tags_update","description":"Update an existing event.","summary":"Update an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Event"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Event"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}},"description":"Event updated successfully."}}},"patch":{"operationId":"conversion_tags_partial_update","description":"Update one or more fields of an existing event.","summary":"Partially update an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedEvent"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedEvent"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedEvent"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}},"description":"Event partially updated successfully."}}},"delete":{"operationId":"conversion_tags_destroy","description":"Delete an existing event.","summary":"Delete an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Event deleted successfully."}}}},"/conversion-tags/{id}/duplicate":{"get":{"operationId":"conversion_tags_duplicate_retrieve","description":"GET returns duplication data. POST creates duplicated event instances.","summary":"Duplicate an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDuplicate"}}},"description":""}}},"post":{"operationId":"conversion_tags_duplicate_create","description":"GET returns duplication data. POST creates duplicated event instances.","summary":"Duplicate an event","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDuplicate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/EventDuplicate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/EventDuplicate"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDuplicate"}}},"description":""}}}},"/conversion-tags/{id}/tag":{"get":{"operationId":"conversion_tags_tag_retrieve","description":"Generate and return the rendered tag for an event.","summary":"Render an event tag","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this event.","required":true}],"tags":["Conversion Tags"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}},"description":""}}}},"/curated-deals":{"get":{"operationId":"curated_deals_list","description":"Retrieve curated deals with inventory source and override metadata.","summary":"List curated deals","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCuratedDealViewList"}}},"description":"Curated deals retrieved successfully."}}}},"/curated-deals/{id}":{"get":{"operationId":"curated_deals_retrieve","description":"Retrieve a curated deal and apply override metadata.","summary":"Get curated deal by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this curated deal view.","required":true}],"tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}}},"description":"Curated deal retrieved successfully."},"404":{"description":"Curated deal not found."}}},"put":{"operationId":"curated_deals_update","description":"Full update of curated deal data.","summary":"Update a curated deal","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this curated deal view.","required":true}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}}},"description":""}}},"patch":{"operationId":"curated_deals_partial_update","description":"Partial update of curated deal data.","summary":"Partially update a curated deal","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this curated deal view.","required":true}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCuratedDealView"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedCuratedDealView"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedCuratedDealView"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CuratedDealView"}}},"description":""}}}},"/custom-list-items":{"get":{"operationId":"custom_list_items_list","description":"Retrieves a list of all custom list items. Custom list items are entities used within custom lists to support targeting and campaign data management.","summary":"List custom list items","parameters":[{"in":"query","name":"active","schema":{"type":"integer"}},{"in":"query","name":"id","schema":{"type":"integer"},"description":"Filter by custom list item ID"},{"in":"query","name":"item","schema":{"type":"string"}},{"in":"query","name":"item__contains","schema":{"type":"string"}},{"in":"query","name":"item__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"item__not","schema":{"type":"string"}},{"in":"query","name":"item__not__contains","schema":{"type":"string"}},{"in":"query","name":"item__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"list_id","schema":{"type":"number"}},{"in":"query","name":"list_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"list_id__not__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"list_item","schema":{"type":"string"},"description":"Filter by custom list item name"},{"in":"query","name":"list_type","schema":{"type":"string"}},{"in":"query","name":"list_type__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"list_type__not","schema":{"type":"string"}},{"in":"query","name":"list_type__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"updated_since_pushed","schema":{"type":"boolean"}}],"tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemList"}}},"description":"Custom list items retrieved successfully."},"404":{"description":"No custom list items found."},"500":{"description":"Internal server error."}}},"post":{"operationId":"custom_list_items_create","description":"Creates a new custom list item with the provided data.","summary":"Create a new custom list item","tags":["Custom List Item"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CustomListItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"description":"Custom list item created successfully."},"400":{"description":"Invalid custom list item data provided."},"500":{"description":"Internal server error."}}}},"/custom-list-items/ack":{"post":{"operationId":"custom_list_items_ack_create","description":"Acknowledges the provided list items. (Admin only)","summary":"Acknowledge custom list items","tags":["Custom List Item"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItemAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CustomListItemAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CustomListItemAck"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Custom list items acknowledged successfully."},"400":{"description":"Invalid acknowledgment data provided."}}}},"/custom-list-items/bulk":{"post":{"operationId":"custom_list_items_bulk_create","description":"Uploads multiple custom list items at once using multipart data.","summary":"Bulk upload custom list items","tags":["Custom List Item"],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CustomListItemBulkUpload"}},"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItemBulkUpload"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItemBulkUpload"}}},"description":"Custom list items uploaded successfully."},"400":{"description":"Invalid file or data provided."}}}},"/custom-list-items/debug":{"get":{"operationId":"custom_list_items_debug_retrieve","description":"Retrieves detailed debug information for custom list items. (Admin only)","summary":"Get debug data for custom list items","tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemDebugList"}}},"description":"Debug data retrieved successfully."}}}},"/custom-list-items/delete-all-for-list/{list_id}":{"delete":{"operationId":"custom_list_items_delete_all_for_list_destroy","description":"Deletes all active custom list items for the given list ID.","summary":"Delete custom list items by ID","parameters":[{"in":"path","name":"list_id","schema":{"type":"string","pattern":"^\\d+$"},"required":true}],"tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemDroneList"}}},"description":"Custom list items have been deleted successfully."}}}},"/custom-list-items/lat-long":{"get":{"operationId":"custom_list_items_lat_long_retrieve","description":"Retrieves list items containing latitude/longitude data. (Admin only)","summary":"Get latitude/longitude list items","tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemDroneLatLongList"}}},"description":"Latitude/longitude list items retrieved successfully."}}}},"/custom-list-items/queued":{"get":{"operationId":"custom_list_items_queued_retrieve","description":"Retrieves custom list items currently queued for processing. (Admin only)","summary":"Get queued custom list items","tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemQueuedList"}}},"description":"Queued custom list items retrieved successfully."}}}},"/custom-list-items/updated-since-pushed":{"get":{"operationId":"custom_list_items_updated_since_pushed_retrieve","description":"Retrieves custom list items updated since their last push to the serving system. (Admin only)","summary":"Get updated custom list items since last push","tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomListItemDroneList"}}},"description":"Updated custom list items retrieved successfully."}}}},"/custom-list-items/{id}":{"get":{"operationId":"custom_list_items_retrieve","description":"Retrieves details of a specific custom list item identified by its ID.","summary":"Get a custom list item by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this custom list item.","required":true}],"tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"description":"Custom list item retrieved successfully."},"404":{"description":"Custom list item not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"custom_list_items_update","description":"Updates details of an existing custom list item identified by its ID.","summary":"Update a custom list item by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this custom list item.","required":true}],"tags":["Custom List Item"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CustomListItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"description":"Custom list item updated successfully."},"400":{"description":"Invalid data provided."},"404":{"description":"Custom list item not found."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"custom_list_items_partial_update","description":"Partially updates one or more fields of a custom list item identified by its ID.","summary":"Partially update a custom list item by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this custom list item.","required":true}],"tags":["Custom List Item"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCustomListItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedCustomListItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedCustomListItem"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomListItem"}}},"description":"Custom list item partially updated successfully."},"400":{"description":"Invalid data provided."},"404":{"description":"Custom list item not found."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"custom_list_items_destroy","description":"Deletes a specific custom list item identified by its ID.","summary":"Delete a custom list item by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this custom list item.","required":true}],"tags":["Custom List Item"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Custom list item deleted successfully."},"404":{"description":"Custom list item not found."},"500":{"description":"Internal server error."}}}},"/deals":{"get":{"operationId":"deals_list","description":"Retrieve a list of all deals.","summary":"List deals","parameters":[{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"archived","schema":{"type":"boolean"},"description":"Archived deals cannot be selected for targeting"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"deal_format","schema":{"type":"string"}},{"in":"query","name":"deal_format__equals_or_null","schema":{"type":"string"}},{"in":"query","name":"deal_format__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"deal_format__isempty","schema":{"type":"string"}},{"in":"query","name":"deal_format__not","schema":{"type":"string"}},{"in":"query","name":"deal_format__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"deal_id","schema":{"type":"string"}},{"in":"query","name":"deal_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"deal_id__isempty","schema":{"type":"string"}},{"in":"query","name":"deal_id__not","schema":{"type":"string"}},{"in":"query","name":"deal_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"end_date__range_or_null","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"inventory_source_viewable","schema":{"type":"boolean"},"description":"Viewability of the inventory source"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"string"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"restricted_adomains__contains","schema":{"type":"string"}},{"in":"query","name":"restricted_adomains__not_contains","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDealList"}}},"description":""}}},"post":{"operationId":"deals_create","description":"Create a new deal with the provided data.","summary":"Create a deal","tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Deal"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Deal"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}},"description":""}}}},"/deals/bulk":{"post":{"operationId":"deals_bulk_create","description":"Create multiple deals in a single request.","summary":"Bulk create deals","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDealList"}}},"description":""}}},"patch":{"operationId":"deals_bulk_partial_update","description":"Update multiple deals in a single request.","summary":"Bulk update deals","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDealList"}}},"description":""}}},"delete":{"operationId":"deals_bulk_destroy","description":"Delete multiple deals by ID.","summary":"Bulk delete deals","tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Deals deleted."}}}},"/deals/{id}":{"get":{"operationId":"deals_retrieve","description":"Retrieve a deal by its ID.","summary":"Get a deal by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deal.","required":true}],"tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}},"description":""}}},"put":{"operationId":"deals_update","description":"Update an existing deal with the provided data.","summary":"Update a deal","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deal.","required":true}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Deal"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Deal"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}},"description":""}}},"patch":{"operationId":"deals_partial_update","description":"Partially update an existing deal with the provided data.","summary":"Partially update a deal","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deal.","required":true}],"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDeal"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedDeal"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedDeal"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}},"description":""}}},"delete":{"operationId":"deals_destroy","description":"Delete an existing deal by its ID.","summary":"Delete a deal","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deal.","required":true}],"tags":["Deals"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Deal deleted"}}}},"/delivery-modifiers":{"get":{"operationId":"delivery_modifiers_list","description":"Get a list of all delivery modifiers.","summary":"List delivery modifiers","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"delivery_model_id","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__gt","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__gte","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"delivery_model_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"delivery_model_id__lt","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__lte","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__not","schema":{"type":"number"}},{"in":"query","name":"delivery_model_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"ids","schema":{"type":"string"},"description":"Comma separated list of IDs, up to 200 delivery modifiers"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Delivery Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDeliveryModifierList"}}},"description":""}}},"post":{"operationId":"delivery_modifiers_create","description":"Create a new delivery modifier.","summary":"Create a new delivery modifier","tags":["Delivery Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"description":""}}}},"/delivery-modifiers/{id}":{"get":{"operationId":"delivery_modifiers_retrieve","description":"Get a delivery modifier by ID.","summary":"Get a delivery modifier by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Delivery Modifier ID","required":true}],"tags":["Delivery Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"description":""}}},"put":{"operationId":"delivery_modifiers_update","description":"Update a delivery modifier","summary":"Update a delivery modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this delivery modifier.","required":true}],"tags":["Delivery Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"description":""}}},"patch":{"operationId":"delivery_modifiers_partial_update","description":"Partially update a delivery modifier by ID. Only the fields provided in the request will be updated.","summary":"Partially update a delivery modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Delivery Modifier ID","required":true}],"tags":["Delivery Modifiers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDeliveryModifier"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedDeliveryModifier"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedDeliveryModifier"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryModifier"}}},"description":""}}},"delete":{"operationId":"delivery_modifiers_destroy","description":"Delete a delivery modifier by ID. This action is irreversible.","summary":"Delete a delivery modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Delivery Modifier ID","required":true}],"tags":["Delivery Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"No response body"}}}},"/delivery-modifiers/{id}/campaigns":{"get":{"operationId":"delivery_modifiers_campaigns_retrieve","description":"Retrieve all campaigns associated with a specific bid modifier.","summary":"List campaigns associated with a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Bid Modifier ID","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Successful response with a paginated list of associated campaigns."},"400":{"description":"Bad request. The provided modifier ID or query parameters are invalid."},"401":{"description":"Unauthorized. Authentication credentials were not provided or are invalid."},"403":{"description":"Forbidden. You do not have permission to access campaigns for this modifier."},"404":{"description":"Modifier not found. Ensure the modifier ID is correct."},"429":{"description":"Too many requests. Please try again later."},"500":{"description":"Internal server error. Try again later or contact support."}}}},"/delivery-modifiers/{id}/line-items":{"get":{"operationId":"delivery_modifiers_line_items_retrieve","description":"Retrieve all line items associated with a specific bid modifier.","summary":"List line items associated with a bid modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"Bid Modifier ID","required":true}],"tags":["Bid Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Successful response with a paginated list of associated line items."},"400":{"description":"Bad request. The provided modifier ID or query parameters are invalid."},"401":{"description":"Unauthorized. Authentication credentials were not provided or are invalid."},"403":{"description":"Forbidden. You do not have permission to access line items for this modifier."},"404":{"description":"Modifier not found. Ensure the modifier ID is correct."},"429":{"description":"Too many requests. Please try again later."},"500":{"description":"Internal server error. Try again later or contact support."}}}},"/delivery-modifiers/{id}/versions":{"get":{"operationId":"delivery_modifiers_versions_list","description":"Retrieve versions for this modifier.","summary":"List versions of a delivery modifier","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this delivery modifier.","required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Delivery Modifiers"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDeliveryModifierList"}}},"description":""}}}},"/dismissed-warnings/{object_type}":{"get":{"operationId":"dismissed_warnings_list","description":"Retrieves a list of warnings that have been dismissed by the user.","summary":"Get a list of dismissed warnings","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"code","schema":{"type":"string"}},{"in":"query","name":"code__contains","schema":{"type":"string"}},{"in":"query","name":"code__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"code__not","schema":{"type":"string"}},{"in":"query","name":"code__not_contains","schema":{"type":"string"}},{"in":"query","name":"code__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"path","name":"object_type","schema":{"type":"string"},"required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Warning"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDismissedWarningList"}}},"description":"Dismissed warnings retrieved successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."}}},"post":{"operationId":"dismissed_warnings_create","description":"Dismiss multiple warnings in bulk.","summary":"Dismiss multiple warnings","parameters":[{"in":"path","name":"object_type","schema":{"type":"string"},"required":true}],"tags":["Warning"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DismissedWarning"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DismissedWarning"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DismissedWarning"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDismissedWarningList"}}},"description":"Warnings dismissed successfully."},"400":{"description":"Invalid data."}}},"delete":{"operationId":"dismissed_warnings_destroy","description":"Re-enable one or more previously dismissed warnings.","summary":"Re-enable dismissed warnings","parameters":[{"in":"path","name":"object_type","schema":{"type":"string"},"required":true}],"tags":["Warning"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Warnings re-enabled successfully."},"400":{"description":"Invalid data."}}}},"/line-items":{"get":{"operationId":"line_items_list","description":"Retrieves a list of all line items. A Line Item defines objectives, budgets, timing, and delivery parameters for a portion of a Campaign. Each Line Item belongs to a single Campaign and may be associated with multiple Creatives. Line Items use targeting expressions to execute buying activities based on specific criteria.","summary":"List line items","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"active__in","schema":{"type":"array","items":{"type":"boolean"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"campaign_id","schema":{"type":"number"}},{"in":"query","name":"campaign_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"campaign_id__gt","schema":{"type":"number"}},{"in":"query","name":"campaign_id__gte","schema":{"type":"number"}},{"in":"query","name":"campaign_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"campaign_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"campaign_id__lt","schema":{"type":"number"}},{"in":"query","name":"campaign_id__lte","schema":{"type":"number"}},{"in":"query","name":"campaign_id__not","schema":{"type":"number"}},{"in":"query","name":"campaign_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLineItemList"}}},"description":"Line items retrieved successfully."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"You do not have permission to perform this action."},"500":{"description":"Internal server error."}}},"post":{"operationId":"line_items_create","description":"Create a new line item under an existing campaign.","summary":"Create a line item","tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"description":"Line item created successfully."},"400":{"description":"Invalid or incomplete request data."},"401":{"description":"Authentication required."},"403":{"description":"You do not have permission to create a line item."},"409":{"description":"Line item already exists with provided details."}}}},"/line-items/bulk":{"patch":{"operationId":"line_items_bulk_partial_update","description":"Performs bulk updates to multiple line items in a single request. Useful for modifying shared fields across multiple line items efficiently. Supports both full and partial updates depending on the provided payload.","summary":"Bulk update line items","tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLineItemList"}}},"description":"Line items updated successfully."},"400":{"description":"Invalid bulk update data or one or more line items failed validation."},"401":{"description":"Authentication required."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/line-items/bulk-targeting":{"post":{"operationId":"line_items_bulk_targeting_create","description":"Processes changes to multiple targeting expressions in a single atomic transaction. Each command in the request applies modifications to all specified targeting expressions. If any validation errors occur, the entire operation is rolled back.","summary":"Bulk update targeting expressions","tags":["Targeting"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TargetingBulkUpdateRequest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TargetingBulkUpdateRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TargetingBulkUpdateRequest"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TargetingBulkUpdateResponse"}}}},"description":"Successful bulk update of targeting expressions."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TargetingBulkUpdateError"}}},"description":"Validation errors occurred during bulk update. No changes were saved."}}}},"/line-items/bulk/validate":{"patch":{"operationId":"line_items_bulk_validate_partial_update","description":"Validate multiple line items simultaneously. Returns warnings and errors without persisting any changes. Useful for pre-validation before bulk updates.","summary":"Validate multiple line items","tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Validation completed successfully."},"400":{"description":"Validation failed for one or more line items."}}}},"/line-items/export":{"get":{"operationId":"line_items_export_list","description":"Exports a list of line items to a CSV file. You can filter the line items by providing a comma-separated list of IDs in the `ids` query parameter (max 200).","summary":"Export Line Items","parameters":[{"in":"query","name":"ids","schema":{"type":"string"},"description":"Comma separated list of IDs, up to 200 line items"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{},"description":""},"400":{"description":"Bad request. Invalid query format."},"401":{"description":"Unauthorized."},"403":{"description":"Forbidden."},"500":{"description":"Internal server error."}}}},"/line-items/import":{"post":{"operationId":"line_items_import_create","description":"Imports a list of line items from a CSV file. Please refer to [this guide](https://docs.beeswax.com/v2.0/docs/lineitembulkimporttemplate) for more information on the template.","summary":"Bulk Import Line Items","parameters":[{"in":"header","name":"line_items_file","schema":{"type":"string"},"description":"CSV file containing line items for bulk import","required":true}],"tags":["Line Items"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"line_items_file":{"type":"string","format":"binary"}},"required":["line_items_file"]}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpload"}}},"description":"Line items CSV uploaded and scheduled for processing."},"400":{"description":"Bad request. Invalid file format or validation error."},"401":{"description":"Unauthorized."},"403":{"description":"Forbidden."},"500":{"description":"Internal server error."}}}},"/line-items/import/template":{"get":{"operationId":"line_items_import_template_list","description":"Exports a CSV template with all required columns for bulk import.","summary":"Line Item Bulk Import Template","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{},"description":"CSV template file"}}}},"/line-items/{id}":{"get":{"operationId":"line_items_retrieve","description":"Retrieve details of a specific line item by its ID.","summary":"Retrieve line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"description":"Line item retrieved successfully."},"401":{"description":"Authentication required."},"404":{"description":"The specified line item was not found."}}},"put":{"operationId":"line_items_update","description":"Update all details of an existing line item by ID.","summary":"Update a line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"description":"Line item updated successfully."},"400":{"description":"Invalid update data provided."},"404":{"description":"The specified line item does not exist."},"409":{"description":"Line item update conflict."}}},"patch":{"operationId":"line_items_partial_update","description":"Partially update one or more fields of a line item by ID.","summary":"Partially update a line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedLineItem"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItem"}}},"description":"Line item partially updated successfully."},"400":{"description":"Invalid data provided for partial update."},"404":{"description":"The specified line item does not exist."}}},"delete":{"operationId":"line_items_destroy","description":"Soft-deletes a line item by ID. The record remains in the system but is marked as deleted.","summary":"Soft-delete a line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Line item deleted successfully."},"400":{"description":"Cannot delete line item due to active associations."},"404":{"description":"The specified line item was not found."}}}},"/line-items/{id}/convert-targeting":{"get":{"operationId":"line_items_convert_targeting_retrieve","description":"Converts the targeting template associated with a line item into an equivalent targeting expression representation. Returns both the original template data and the resulting expression data.","summary":"Convert targeting template to expression","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"description":"Line Item ID","required":true}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Targeting template successfully converted to expression."}}}},"/line-items/{id}/duplicate":{"get":{"operationId":"line_items_duplicate_retrieve","description":"Duplicate a line item with the same configuration. Supports both single and multiple duplication modes based on feature flags.","summary":"Duplicate a line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Line item duplicated successfully."},"400":{"description":"Invalid duplication request."},"404":{"description":"Source line item not found."}}},"post":{"operationId":"line_items_duplicate_create","description":"Duplicate a line item with the same configuration. Supports both single and multiple duplication modes based on feature flags.","summary":"Duplicate a line item","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineItemDuplicate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LineItemDuplicate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LineItemDuplicate"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Line item duplicated successfully."},"400":{"description":"Invalid duplication request."},"404":{"description":"Source line item not found."}}}},"/line-items/{id}/metrics":{"get":{"operationId":"line_items_metrics_retrieve","description":"Retrieves performance metrics (spend, impressions, etc.) for the specified line item.","summary":"Get line item metrics","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Metrics"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Metrics retrieved successfully."}}}},"/line-items/{id}/notifications":{"get":{"operationId":"line_items_notifications_retrieve","description":"Retrieves notifications related to the specified line item and its flights.","summary":"Get line item notifications","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this line item.","required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Notifications retrieved successfully."}}}},"/line-items/{line_item_id}/creatives":{"get":{"operationId":"line_items_creatives_list","description":"Retrieves all creative-line item associations for a given line item. A Line Item must be associated with one or more active Creatives before it can be activated.","summary":"List creative associations","parameters":[{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCreativeLineItemList"}}},"description":"Creative associations retrieved successfully."},"404":{"description":"Line item not found."}}},"post":{"operationId":"line_items_creatives_create","description":"Create a creative association between a Creative and a Line Item. The Line Item cannot be activated until it has one or more active creative associations.","summary":"Create a creative association","parameters":[{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}}},"description":"Creative association created successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication required."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}},"put":{"operationId":"line_items_creatives_update","description":"Create or update multiple creative associations for a specific Line Item. If called with `/validate` endpoint, validation-only mode runs.","summary":"Bulk create or update creative associations","parameters":[{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"description":"Bulk upsert completed successfully."},"400":{"description":"Validation errors or invalid data."}}},"delete":{"operationId":"line_items_creatives_destroy","description":"Delete one or more creative associations between Creatives and a Line Item. If query parameters are provided, performs a bulk delete; otherwise deletes all associations.","summary":"Delete creative associations","parameters":[{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Creative associations deleted successfully."},"400":{"description":"Invalid delete request."},"401":{"description":"Authentication required."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/line-items/{line_item_id}/creatives/validate":{"put":{"operationId":"line_items_creatives_validate_update","description":"Validates the request body for bulk upsert of creative associations without saving any changes.","summary":"Validate a bulk creative associations request","parameters":[{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Validation successful."},"400":{"description":"Validation failed."}}}},"/line-items/{line_item_id}/creatives/{cli_id}":{"get":{"operationId":"line_items_creatives_retrieve","description":"Retrieves details of a specific creative-line item association by its ID.","summary":"Get a creative association by ID","parameters":[{"in":"path","name":"cli_id","schema":{"type":"integer"},"description":"A unique integer value identifying this creative line item assignment.","required":true},{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}}},"description":"Creative association retrieved successfully."},"404":{"description":"Creative association not found."}}},"patch":{"operationId":"line_items_creatives_partial_update","description":"Partially update a creative association between a Creative and a Line Item. Only specified fields in the request body will be updated.","summary":"Partially update a creative association","parameters":[{"in":"path","name":"cli_id","schema":{"type":"integer"},"description":"A unique integer value identifying this creative line item assignment.","required":true},{"in":"path","name":"line_item_id","schema":{"type":"integer"},"required":true}],"tags":["Line Items"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedCreativeLineItem"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedCreativeLineItem"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedCreativeLineItem"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreativeLineItem"}}},"description":"Creative association updated successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication required."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}}},"/lists":{"get":{"operationId":"lists_list","description":"Retrieves a list of all custom lists. Custom lists are reusable entities used for targeting and managing advertising campaigns.","summary":"List custom lists","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"integer"}},{"in":"query","name":"delimiter","schema":{"type":"string"}},{"in":"query","name":"internal_status","schema":{"type":"string"}},{"in":"query","name":"name","schema":{"type":"string"},"description":"Name of the list"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"type","schema":{"type":"string"}},{"in":"query","name":"type__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"type__not","schema":{"type":"string"}},{"in":"query","name":"type__not__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"upload_type","schema":{"type":"string"}}],"tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"Custom lists retrieved successfully."},"404":{"description":"No custom lists found."},"500":{"description":"Internal server error."}}},"post":{"operationId":"lists_create","description":"Creates a new custom list with the provided configuration data.","summary":"Create a new custom list","tags":["Lists"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/List"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/List"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"Custom list created successfully."},"400":{"description":"Invalid custom list data provided."},"500":{"description":"Internal server error."}}}},"/lists/in-use":{"get":{"operationId":"lists_in_use_retrieve","description":"Retrieves the IDs of lists that are currently marked as 'in use' across various entities such as campaigns, line items, or deals.","summary":"Get IDs of lists currently in use","tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"List of in-use custom list IDs retrieved successfully."},"500":{"description":"Internal server error."}}}},"/lists/in-use-by-models":{"get":{"operationId":"lists_in_use_by_models_retrieve","description":"Retrieves the IDs of lists currently in use by active bid model versions.","summary":"Get IDs of lists in use by bid model versions","tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"List of custom list IDs in use by bid models retrieved successfully."},"500":{"description":"Internal server error."}}}},"/lists/{id}":{"get":{"operationId":"lists_retrieve","description":"Retrieves details of a specific custom list identified by its ID.","summary":"Get a custom list by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"Custom list retrieved successfully."},"404":{"description":"Custom list not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"lists_update","description":"Updates the details of an existing custom list identified by its ID.","summary":"Update a custom list by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/List"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/List"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"Custom list updated successfully."},"400":{"description":"Invalid data provided."},"404":{"description":"Custom list not found."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"lists_partial_update","description":"Partially updates one or more fields of a custom list identified by its ID.","summary":"Partially update a custom list by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedList"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedList"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedList"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"Custom list partially updated successfully."},"400":{"description":"Invalid data provided."},"404":{"description":"Custom list not found."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"lists_destroy","description":"Deletes a specific custom list identified by its ID. Lists containing active items cannot be deleted.","summary":"Delete a custom list by ID","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Custom list deleted successfully."},"400":{"description":"List contains items and cannot be deleted."},"404":{"description":"Custom list not found."},"500":{"description":"Internal server error."}}}},"/lists/{id}/duplicate":{"get":{"operationId":"lists_duplicate_retrieve","description":"Duplicates an existing custom list. GET returns the data structure for duplication; POST creates the duplicated list.","summary":"Duplicate a custom list","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"List duplication data retrieved successfully."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"Custom list duplicated successfully."}}},"post":{"operationId":"lists_duplicate_create","description":"Duplicates an existing custom list. GET returns the data structure for duplication; POST creates the duplicated list.","summary":"Duplicate a custom list","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this list.","required":true}],"tags":["Lists"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDuplication"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ListDuplication"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ListDuplication"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"List duplication data retrieved successfully."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedListList"}}},"description":"Custom list duplicated successfully."}}}},"/logout":{"get":{"operationId":"logout_retrieve","description":"Logs out an already authenticated user.Removes the session cookie and triggers Buzz logout synchronization if applicable.","summary":"Logout current user session","tags":["Authentication"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Logout successful. The user session has been terminated and cookies cleared."},"401":{"description":"Unauthorized. No active session found or authentication credentials were not provided."},"403":{"description":"Forbidden. The user does not have permission to perform logout."},"500":{"description":"Internal server error. An unexpected issue occurred during logout."},"502":{"description":"Buzz service logout failed or returned an unexpected response."}}},"post":{"operationId":"logout_create","description":"Logs out an already authenticated user.Removes the session cookie and triggers Buzz logout synchronization if applicable.","summary":"Logout current user session","tags":["Authentication"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Logout successful. The user session has been terminated and cookies cleared."},"401":{"description":"Unauthorized. No active session found or authentication credentials were not provided."},"403":{"description":"Forbidden. The user does not have permission to perform logout."},"500":{"description":"Internal server error. An unexpected issue occurred during logout."},"502":{"description":"Buzz service logout failed or returned an unexpected response."}}}},"/models":{"get":{"operationId":"bid_models_list","description":"Retrieve a list of all models.","summary":"List models","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not__contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"value_type","schema":{"type":"string"}},{"in":"query","name":"value_type__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"value_type__not","schema":{"type":"string"}},{"in":"query","name":"value_type__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"}],"tags":["Models"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModelList"}}},"description":"List retrieved successfully."}}},"post":{"operationId":"bid_models_create","description":"Create a new model.","summary":"Create a model","tags":["Models"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BidModel"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"description":"Model created successfully."}}}},"/models/versions":{"get":{"operationId":"bid_model_versions_list","description":"Retrieve a list of all model versions.","summary":"List all model versions","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"bid_model_id","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__gt","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__gte","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"bid_model_id__lt","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__lte","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__not","schema":{"type":"integer"}},{"in":"query","name":"bid_model_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"manifest_s3_path","schema":{"type":"string"}},{"in":"query","name":"manifest_s3_path__contains","schema":{"type":"string"}},{"in":"query","name":"manifest_s3_path__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"manifest_s3_path__not","schema":{"type":"string"}},{"in":"query","name":"manifest_s3_path__not_contains","schema":{"type":"string"}},{"in":"query","name":"manifest_s3_path__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"upload_status","schema":{"type":"string"}},{"in":"query","name":"upload_status__contains","schema":{"type":"string"}},{"in":"query","name":"upload_status__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"upload_status__not","schema":{"type":"string"}},{"in":"query","name":"upload_status__not_contains","schema":{"type":"string"}},{"in":"query","name":"upload_status__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"}],"tags":["Models"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModelVersionList"}}},"description":"List retrieved successfully."}}}},"/models/versions/{id}":{"get":{"operationId":"models_versions_retrieve","description":"Retrieve a specific model version by ID.","summary":"Retrieve a specific model version","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["Models"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Successful response with model version(s)."},"400":{"description":"Invalid query parameters."},"401":{"description":"Unauthorized access. Ensure the authentication token is valid."},"403":{"description":"Forbidden. The user does not have permission to access this resource."},"404":{"description":"Model version not found. Ensure the ID is correct."},"500":{"description":"Internal server error. Try again later or contact support."}}}},"/models/{id}":{"get":{"operationId":"bid_models_retrieve","description":"Retrieve details of a specific model.","summary":"Retrieve a model","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the BidModel"},"required":true}],"tags":["Models"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"description":"Model retrieved successfully."}}},"put":{"operationId":"bid_models_update","description":"Update an existing model.","summary":"Update a model","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the BidModel"},"required":true}],"tags":["Models"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BidModel"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"description":"Model updated successfully."}}},"patch":{"operationId":"bid_models_partial_update","description":"Update one or more fields of an existing model.","summary":"Partially update a model","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the BidModel"},"required":true}],"tags":["Models"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModel"}}},"description":"Model partially updated successfully."}}}},"/models/{id}/reset-current-version":{"patch":{"operationId":"bid_models_reset_current_version","description":"Reset the upload status of the current model version.","summary":"Reset the current version","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"The ID of the BidModel"},"required":true}],"tags":["Models"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBidModel"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Current version reset successfully."}}}},"/models/{id}/versions":{"get":{"operationId":"bid_model_versions_by_model_list","description":"Retrieve versions filtered by model ID.","summary":"List all versions for a specific model","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Models"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModelVersionList"}}},"description":""}}},"post":{"operationId":"bid_model_versions_by_model_list_2","description":"Retrieve versions filtered by model ID.","summary":"List all versions for a specific model","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Models"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidModelVersion"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BidModelVersion"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BidModelVersion"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBidModelVersionList"}}},"description":""}}}},"/presets":{"get":{"operationId":"presets_list","description":"Retrieves a list of all available presets. Presets are reusable configurations that can be applied to simplify campaign management.","summary":"List presets","parameters":[{"in":"query","name":"account_id","schema":{"type":"number"}},{"in":"query","name":"account_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"account_id__not","schema":{"type":"number"}},{"in":"query","name":"account_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__equals_or_null","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__gte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"advertiser_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"advertiser_id__lt","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__lte","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not","schema":{"type":"number"}},{"in":"query","name":"advertiser_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"favorite","required":false,"in":"query","description":"Filter to the set of objects the user has \"favorited\".","schema":{"type":"boolean"}},{"in":"query","name":"preset_id","schema":{"type":"integer"}},{"in":"query","name":"preset_id__gt","schema":{"type":"integer"}},{"in":"query","name":"preset_id__gte","schema":{"type":"integer"}},{"in":"query","name":"preset_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"preset_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"preset_id__lt","schema":{"type":"integer"}},{"in":"query","name":"preset_id__lte","schema":{"type":"integer"}},{"in":"query","name":"preset_id__not","schema":{"type":"integer"}},{"in":"query","name":"preset_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"type","schema":{"type":"string","enum":["campaign","line_item","targeting_expression"]},"description":"The type of the preset. One of: `\"campaign\"`, `\"line_item\"`, `\"targeting_expression\"`. Note: The v2 endpoint currently does not support campaign presets.\n\n* `campaign` - Campaign\n* `line_item` - Line Item\n* `targeting_expression` - Targeting Expression"},{"in":"query","name":"type__contains","schema":{"type":"string"}},{"in":"query","name":"type__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"type__isempty","schema":{"type":"boolean"}},{"in":"query","name":"type__not","schema":{"type":"string","enum":["campaign","line_item","targeting_expression"]},"description":"The type of the preset. One of: `\"campaign\"`, `\"line_item\"`, `\"targeting_expression\"`. Note: The v2 endpoint currently does not support campaign presets.\n\n* `campaign` - Campaign\n* `line_item` - Line Item\n* `targeting_expression` - Targeting Expression"},{"in":"query","name":"type__not_contains","schema":{"type":"string"}},{"in":"query","name":"type__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"}],"tags":["Preset"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPresetList"}}},"description":"Presets retrieved successfully."},"404":{"description":"No presets found."},"500":{"description":"Internal server error."}}},"post":{"operationId":"presets_create","description":"Creates a new preset with the provided configuration details.","summary":"Create a new preset","tags":["Preset"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Preset"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Preset"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}}},"description":"Preset created successfully."},"400":{"description":"Invalid preset data provided."},"500":{"description":"Internal server error."}}}},"/presets/{preset_id}":{"get":{"operationId":"presets_retrieve","description":"Retrieves details of a specific preset identified by its ID.","summary":"Get a preset by ID","parameters":[{"in":"query","name":"favorite","schema":{"type":"boolean"},"description":"Filter or mark preset as favorite"},{"in":"path","name":"preset_id","schema":{"type":"integer"},"description":"A unique integer value identifying this preset.","required":true}],"tags":["Preset"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}}},"description":"Preset retrieved successfully."},"404":{"description":"Preset not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"presets_update","description":"Updates the details of an existing preset identified by its ID.","summary":"Update a preset by ID","parameters":[{"in":"query","name":"favorite","schema":{"type":"boolean"},"description":"Filter or mark preset as favorite"},{"in":"path","name":"preset_id","schema":{"type":"integer"},"description":"A unique integer value identifying this preset.","required":true}],"tags":["Preset"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Preset"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Preset"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}}},"description":"Preset updated successfully."},"400":{"description":"Invalid preset data provided."},"404":{"description":"Preset not found."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"presets_partial_update","description":"Partially updates one or more fields of an existing preset identified by its ID.","summary":"Partially update a preset by ID","parameters":[{"in":"query","name":"favorite","schema":{"type":"boolean"},"description":"Filter or mark preset as favorite"},{"in":"path","name":"preset_id","schema":{"type":"integer"},"description":"A unique integer value identifying this preset.","required":true}],"tags":["Preset"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedPreset"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedPreset"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedPreset"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}}},"description":"Preset partially updated successfully."},"400":{"description":"Invalid data provided."},"404":{"description":"Preset not found."},"500":{"description":"Internal server error."}}},"delete":{"operationId":"presets_destroy","description":"Deletes a specific preset identified by its ID. Before deletion, associated relationships are cleared to maintain data consistency.","summary":"Delete a preset by ID","parameters":[{"in":"path","name":"preset_id","schema":{"type":"integer"},"description":"A unique integer value identifying this preset.","required":true}],"tags":["Preset"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Preset deleted successfully."},"404":{"description":"Preset not found."},"500":{"description":"Internal server error."}}}},"/roles":{"get":{"operationId":"roles_list","description":"Endpoints for managing roles, including creation, update, retrieval, and deletion. Supports bulk operations and permission assignments.","summary":"Role management","parameters":[{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"archived","schema":{"type":"boolean"},"description":"Archived roles cannot add new users"},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"parent_role_id","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__gt","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__gte","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"parent_role_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"parent_role_id__lt","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__lte","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__not","schema":{"type":"integer"}},{"in":"query","name":"parent_role_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Role"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRoleList"}}},"description":"Roles retrieved successfully."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"500":{"description":"Internal server error."}}},"post":{"operationId":"roles_create","description":"Create a new role along with its permissions and report permissions.","summary":"Create a new role","tags":["Role"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RoleCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RoleCreate"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":"Role created successfully."},"400":{"description":"Invalid data."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied. You do not have rights to manage roles."},"500":{"description":"Internal server error."}}}},"/roles/bulk":{"post":{"operationId":"roles_bulk_create","description":"Create multiple roles in a single request.","summary":"Bulk create roles","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Role"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRoleList"}}},"description":""}}},"patch":{"operationId":"roles_bulk_partial_update","description":"Update multiple roles in a single request.","summary":"Bulk update roles","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["Role"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoleCreate"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRoleList"}}},"description":""}}},"delete":{"operationId":"roles_bulk_destroy","description":"Delete multiple roles by ID.","summary":"Bulk delete roles","tags":["Role"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Roles deleted."}}}},"/roles/{id}":{"get":{"operationId":"roles_retrieve","description":"Retrieve a single role by its ID.","summary":"Retrieve a role","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"Unique ID of the role"},"required":true}],"tags":["Role"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":"Role retrieved successfully."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Role not found."},"500":{"description":"Internal server error."}}},"put":{"operationId":"roles_update","description":"Update role details including permissions and report permissions.","summary":"Update a role","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"Unique ID of the role"},"required":true}],"tags":["Role"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RoleCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RoleCreate"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":"Role updated successfully."},"400":{"description":"Invalid data."},"401":{"description":"Unauthorized."},"403":{"description":"Permission denied."},"404":{"description":"Role not found."},"500":{"description":"Internal server error."}}},"patch":{"operationId":"roles_partial_update","description":"Update one or more fields of a role.","summary":"Partially update a role","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"Unique ID of the role"},"required":true}],"tags":["Role"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedRoleCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedRoleCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedRoleCreate"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":""},"400":{"description":"Invalid data."},"404":{"description":"Role not found."}}},"delete":{"operationId":"roles_destroy","description":"Delete a role if no users are associated with it.","summary":"Delete a role","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"Unique ID of the role"},"required":true}],"tags":["Role"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Role deleted successfully."},"401":{"description":"Unauthorized."},"403":{"description":"Cannot delete role with users."},"404":{"description":"Role not found."},"500":{"description":"Internal server error."}}}},"/targeting-booleans":{"get":{"operationId":"targeting_booleans_list","description":"Retrieve a paginated list of targeting templates or expressions, converted into a boolean-compatible representation. The output adapts automatically depending on whether Targeting V2 is enabled.","summary":"List targeting templates or expressions in boolean format","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"filter","schema":{"type":"string"},"description":"Optional filter to apply on targeting data"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"line_item__active","schema":{"type":"boolean"}},{"in":"query","name":"line_item_id","schema":{"type":"number"}},{"in":"query","name":"line_item_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"line_item_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"line_item_id__not","schema":{"type":"number"}},{"in":"query","name":"line_item_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"integer"},"description":"Page number for pagination"},{"in":"query","name":"page_size","schema":{"type":"integer"},"description":"Number of items per page"},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true},"previous":{"type":"string","nullable":true},"results":{"type":"array","items":{"type":"object"}}}}}}}}},"description":"List of boolean targeting data."},"401":{"description":"Unauthorized."},"403":{"description":"Forbidden."},"500":{"description":"Internal server error."}}}},"/targeting-booleans/{id}":{"get":{"operationId":"targeting_booleans_retrieve","description":"Retrieve a specific targeting template or expression and convert it to its boolean representation. The model used depends on whether Targeting V2 is enabled.","summary":"Retrieve targeting template or expression in boolean format","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"description":"ID of the targeting template or expression","required":true}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Boolean representation retrieved."}}}},"/targeting-expressions":{"get":{"operationId":"targeting_expressions_list","description":"Retrieve a list of targeting expressions, which are complex sets of instructions for ad serving.","summary":"List a targeting expression","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"has_targeting_key","schema":{"type":"string"},"description":"Allows filtering by a specified targeting_key, for example 'country'"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"line_item__active","schema":{"type":"boolean"},"description":"Line Item Active"},{"in":"query","name":"line_item_id","schema":{"type":"number"},"description":"The Line Item ID the Targeting Expression is associated with"},{"in":"query","name":"line_item_id__gt","schema":{"type":"number"}},{"in":"query","name":"line_item_id__gte","schema":{"type":"number"}},{"in":"query","name":"line_item_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"line_item_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"line_item_id__lt","schema":{"type":"number"}},{"in":"query","name":"line_item_id__lte","schema":{"type":"number"}},{"in":"query","name":"line_item_id__not","schema":{"type":"number"}},{"in":"query","name":"line_item_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"name__contains","schema":{"type":"string"}},{"in":"query","name":"name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"name__not","schema":{"type":"string"}},{"in":"query","name":"name__not_contains","schema":{"type":"string"}},{"in":"query","name":"name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"integer"},"description":"Page number for pagination"},{"in":"query","name":"page_size","schema":{"type":"integer"},"description":"Number of items per page"},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedExpressionList"}}},"description":"A list of targeting expressions."},"400":{"description":"The request was invalid. See response body for details."},"401":{"description":"Authentication credentials were not provided or are invalid."},"403":{"description":"You do not have permission to access this resource."},"404":{"description":"The requested resource was not found."},"500":{"description":"An error occurred on the server."}}},"post":{"operationId":"targeting_expressions_create","description":"Create a new targeting expression to define ad serving instructions.","summary":"Create a targeting expression","tags":["Targeting"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expression"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Expression"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Expression"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expression"}}},"description":"Targeting expression created successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication credentials were not provided or are invalid."},"403":{"description":"You do not have permission to access this resource."},"500":{"description":"An error occurred on the server."}}}},"/targeting-expressions/{id}":{"get":{"operationId":"targeting_expressions_retrieve","description":"Get a specific targeting expression by its ID.","summary":"Retrieve a targeting expression","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this expression.","required":true}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expression"}}},"description":"Targeting expression retrieved successfully."},"401":{"description":"Authentication credentials were not provided or are invalid."},"403":{"description":"You do not have permission to access this resource."},"404":{"description":"Targeting expression not found."},"500":{"description":"An error occurred on the server."}}},"put":{"operationId":"targeting_expressions_update","description":"Update an existing targeting expression.","summary":"Update a targeting expression","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this expression.","required":true}],"tags":["Targeting"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expression"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Expression"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Expression"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expression"}}},"description":"Targeting expression updated successfully."},"400":{"description":"Invalid request data."},"401":{"description":"Authentication credentials were not provided or are invalid."},"403":{"description":"You do not have permission to access this resource."},"404":{"description":"Targeting expression not found."},"500":{"description":"An error occurred on the server."}}},"delete":{"operationId":"targeting_expressions_destroy","description":"Delete a targeting expression if it is not associated with a line item.","summary":"Delete a targeting expression","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this expression.","required":true}],"tags":["Targeting"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"description":"Targeting expression deleted successfully."},"401":{"description":"Authentication credentials were not provided or are invalid."},"403":{"description":"You do not have permission to access this resource."},"404":{"description":"Targeting expression not found."},"500":{"description":"An error occurred on the server."}}}},"/users":{"get":{"operationId":"users_list","description":"Get a list of all users.","summary":"List users","parameters":[{"in":"query","name":"active","schema":{"type":"boolean"}},{"in":"query","name":"all_account_access","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id","schema":{"type":"string"}},{"in":"query","name":"alternative_id__contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"alternative_id__not","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_contains","schema":{"type":"string"}},{"in":"query","name":"alternative_id__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"alternative_id__not_startswith","schema":{"type":"string"}},{"in":"query","name":"alternative_id__startswith","schema":{"type":"string"}},{"in":"query","name":"create_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"create_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"create_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was first created\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"customer_id","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__gte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"customer_id__lt","schema":{"type":"integer"}},{"in":"query","name":"customer_id__lte","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not","schema":{"type":"integer"}},{"in":"query","name":"customer_id__not_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"email","schema":{"type":"string"}},{"in":"query","name":"email__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"email__isempty","schema":{"type":"boolean"}},{"in":"query","name":"email__not","schema":{"type":"string"}},{"in":"query","name":"email__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"first_name","schema":{"type":"string"}},{"in":"query","name":"first_name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"first_name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"first_name__not","schema":{"type":"string"}},{"in":"query","name":"first_name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"number"}},{"in":"query","name":"id__gt","schema":{"type":"number"}},{"in":"query","name":"id__gte","schema":{"type":"number"}},{"in":"query","name":"id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id__isempty","schema":{"type":"boolean"}},{"in":"query","name":"id__lt","schema":{"type":"number"}},{"in":"query","name":"id__lte","schema":{"type":"number"}},{"in":"query","name":"id__not","schema":{"type":"number"}},{"in":"query","name":"id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"last_login","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__isempty","schema":{"type":"boolean"}},{"in":"query","name":"last_login__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__not","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"last_login__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"Datetime when the user was successfully logged in last time\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"},{"in":"query","name":"last_name","schema":{"type":"string"}},{"in":"query","name":"last_name__in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"last_name__isempty","schema":{"type":"boolean"}},{"in":"query","name":"last_name__not","schema":{"type":"string"}},{"in":"query","name":"last_name__not_in","schema":{"type":"array","items":{"type":"string"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"role_id","schema":{"type":"number"}},{"in":"query","name":"role_id__gt","schema":{"type":"number"}},{"in":"query","name":"role_id__gte","schema":{"type":"number"}},{"in":"query","name":"role_id__in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"role_id__lt","schema":{"type":"number"}},{"in":"query","name":"role_id__lte","schema":{"type":"number"}},{"in":"query","name":"role_id__not","schema":{"type":"number"}},{"in":"query","name":"role_id__not_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"super_user","schema":{"type":"boolean"}},{"in":"query","name":"update_date","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__isempty","schema":{"type":"boolean"}},{"in":"query","name":"update_date__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"update_date__range","schema":{"type":"string","format":"date-time","nullable":true,"enum":["future","last_14_complete_days","last_14_days","last_24_hours","last_30_complete_days","last_30_days","last_365_complete_days","last_365_days","last_7_complete_days","last_7_days","last_90_complete_days","last_90_days","last_month","last_quarter","last_week","last_year","past","this_month","this_quarter","this_week","this_year","today","until_past_24_hours","yesterday"]},"description":"The date and time the object was last updated\n\n* `today` - From last midnight to next midnight\n* `yesterday` - The last complete calendar day\n* `last_24_hours` - The last 24 hours (as opposed to today, which is from midnight to midnight)\n* `this_week` - From midnight the previous Sunday until midnight the coming Sunday\n* `last_week` - The last complete calendar week\n* `this_year` - From the January 1 to December 31 this year\n* `last_year` - The last complete calendar year\n* `this_month` - From the first day to the last day of the current month\n* `last_month` - The last complete calendar month\n* `this_quarter` - From the first day to the last day of the current quarter\n* `last_quarter` - The last complete calendar quarter\n* `last_7_days` - From midnight 7 days ago to the present\n* `last_7_complete_days` - From midnight 7 days ago to last midnight\n* `last_14_days` - From midnight 14 days ago to the present\n* `last_14_complete_days` - From midnight 14 days ago to last midnight\n* `last_30_days` - From midnight 30 days ago to the present\n* `last_30_complete_days` - From midnight 30 days ago to last midnight\n* `last_90_days` - From midnight 90 days ago to the present\n* `last_90_complete_days` - From midnight 90 days ago to last midnight\n* `last_365_days` - From midnight 365 days ago to the present\n* `last_365_complete_days` - From midnight 365 days ago to last midnight\n* `past` - Any date in the past. Useful for Buzz queries against end_date and similar fields\n* `future` - Any date in the future. Useful for Buzz queries against end_date and similar fields\n* `until_past_24_hours` - From the very first date in the past and up until past 24 hours"}],"tags":["Users"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""}}},"post":{"operationId":"users_create","description":"Create a new user.","summary":"Create a user","parameters":[{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter users"}],"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseUser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BaseUser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BaseUser"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":""}}}},"/users/bulk":{"post":{"operationId":"users_bulk_create","description":"POST: Create multiple users PATCH: Update multiple users DELETE: Delete multiple users","summary":"Bulk user operations","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"204":{"description":"Users deleted successfully."}}},"patch":{"operationId":"users_bulk_partial_update","description":"POST: Create multiple users PATCH: Update multiple users DELETE: Delete multiple users","summary":"Bulk user operations","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"204":{"description":"Users deleted successfully."}}},"delete":{"operationId":"users_bulk_destroy","description":"POST: Create multiple users PATCH: Update multiple users DELETE: Delete multiple users","summary":"Bulk user operations","parameters":[{"name":"order","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["Users"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}},"description":""},"204":{"description":"Users deleted successfully."}}}},"/users/{id}":{"get":{"operationId":"users_retrieve","description":"Get a user by ID.","summary":"Retrieve a user","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"ID of the user"},"required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter users"}],"tags":["Users"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":""}}},"put":{"operationId":"users_update","description":"Update a user by ID.","summary":"Update a user","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"ID of the user"},"required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter users"}],"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseUser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BaseUser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BaseUser"}}},"required":true},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":""}}},"patch":{"operationId":"users_partial_update","description":"Partially update a user by ID. Only the provided fields will be updated.","summary":"Partially update a user","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"ID of the user"},"required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter users"}],"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBaseUser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBaseUser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBaseUser"}}}},"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":""}}},"delete":{"operationId":"users_destroy","description":"Delete a user by ID.","summary":"Delete a user","parameters":[{"in":"path","name":"id","schema":{"type":"integer","description":"ID of the user"},"required":true},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search term to filter users"}],"tags":["Users"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"204":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":""}}}},"/{object_type}/{object_id}/seat":{"get":{"operationId":"seat_retrieve","description":"Retrieve seat assignment information for a given object. Returns the seat configuration associated with the specified object type and ID.","summary":"Retrieve seat assignment","parameters":[{"in":"path","name":"object_id","schema":{"type":"integer"},"description":"The unique identifier of the object.","required":true},{"in":"path","name":"object_type","schema":{"type":"string","enum":["account","advertiser","customer"]},"description":"The type of object to retrieve seat assignment for.","required":true}],"tags":["Seat"],"security":[{"nestSessionAuth":[]},{"nestBasicAuth":[]}],"responses":{"200":{"description":"Seat assignment retrieved successfully."},"401":{"description":"Authentication credentials were not provided."},"403":{"description":"Permission denied."},"404":{"description":"Object not found."}}}}},"components":{"schemas":{"Account":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":100},"active":{"type":"boolean","default":true},"customer_id":{"type":"string"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"timezone":{"$ref":"#/components/schemas/TimezoneEnum"},"passthrough_deal_list_ids":{"type":"array","items":{"type":"string"}}},"required":["id","name","timezone"]},"AccountAlert":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"system_alert_key":{"type":"string","description":"Unique key of the system alert, e.q. \"creative_approval\""},"email":{"type":"string","nullable":true},"slack_api":{"type":"string","nullable":true},"slack_channel":{"type":"string","nullable":true},"slack_emoji":{"type":"string","nullable":true,"maxLength":255},"active":{"type":"boolean","default":true},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}},"required":["account_id","id","system_alert_key"]},"AccountGroupDetails":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"archived":{"type":"boolean","default":true,"description":"Archived account groups cannot be added to users or accounts."},"customer_id":{"type":"string"},"account_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs"},"user_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"An account group name. For example ‘European Clients’.","maxLength":100}},"required":["account_ids","id","name","user_ids"]},"AccountSettings":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"available_dashboards":{"type":"array","items":{"$ref":"#/components/schemas/Dashboard"}},"button_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"creative_approval_vendor_default":{"type":"array","items":{"type":"string"}},"creative_video_autoplay_default":{"type":"string","nullable":true},"currencies_default":{"type":"string","nullable":true,"maxLength":200},"currencies_enabled":{"type":"array","items":{"type":"string"}},"custom_logo_image":{"type":"string","format":"uri","nullable":true},"custom_style":{"type":"boolean","description":"Only available with navigation updates enabled."},"default_creative_rule_key":{"type":"string","nullable":true,"maxLength":200},"default_continent":{"type":"string","nullable":true,"maxLength":200},"default_segment_days_to_live":{"type":"integer","nullable":true},"default_time_of_week_type":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/DefaultTimeOfWeekTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"enabled_continents":{"type":"array","items":{"type":"string"}},"enable_bid_shading_by_default":{"type":"boolean"},"enable_google_adx":{"type":"boolean"},"enable_grafana":{"type":"boolean"},"enable_metamarkets":{"type":"boolean"},"google_adx_account_id":{"type":"integer","nullable":true},"grafana_panel_ids":{"type":"array","items":{"type":"integer"}},"grafana_password":{"type":"string","nullable":true,"maxLength":200},"grafana_url_template":{"type":"string","nullable":true,"maxLength":200},"grafana_username":{"type":"string","nullable":true,"maxLength":200},"list_header_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"main_header_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"max_radius_km":{"type":"integer","nullable":true},"maximum_campaign_budget":{"type":"integer","nullable":true},"maximum_campaign_impressions":{"type":"integer","nullable":true},"maximum_cpm_error":{"type":"string","format":"decimal","pattern":"^-?\\d{0,6}(?:\\.\\d{0,2})?$","nullable":true},"maximum_cpm_warning":{"type":"string","format":"decimal","pattern":"^-?\\d{0,5}(?:\\.\\d{0,2})?$","nullable":true},"metamarkets_company_id":{"type":"integer","nullable":true},"metamarkets_email":{"type":"string","format":"email","nullable":true},"metamarkets_first_name":{"type":"string","nullable":true,"maxLength":200},"metamarkets_last_name":{"type":"string","nullable":true,"maxLength":200},"metamarkets_security_policy_id":{"type":"integer","nullable":true},"passthrough_deal_list_ids":{"type":"array","items":{"type":"string"}},"share_creative_assets_across_advertisers":{"type":"boolean","nullable":true},"text_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"}},"required":["enabled_continents"]},"ActivityLog":{"type":"object","properties":{"action":{"allOf":[{"$ref":"#/components/schemas/ActivityLogActionEnum"}],"description":"CREATE, UPDATE, DUPLICATE, or DELETE\n\n* `CREATE` - Create\n* `UPDATE` - Update\n* `DUPLICATE` - Duplicate\n* `DELETE` - Delete"},"account_id":{"type":"integer","readOnly":true},"activity_date":{"type":"string","format":"date-time","nullable":true,"description":"The date the activity took place"},"api_version":{"type":"string","nullable":true,"description":"Which version of the API created this object","maxLength":30},"details":{},"id":{"type":"integer","readOnly":true,"description":"Unique id of the log entry"},"object_id":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true,"description":"The unique ID of the object that was affected. For example, if a User object was created, this ID will be the id of that User"},"object_type":{"type":"string","description":"The type of object affected. e.g. user or line_item","nullable":true},"user":{"type":"object","additionalProperties":{"type":"string","nullable":true},"readOnly":true}},"required":["account_id","action","details","id","user"]},"ActivityLogActionEnum":{"enum":["CREATE","UPDATE","DUPLICATE","DELETE"],"type":"string","description":"* `CREATE` - Create\n* `UPDATE` - Update\n* `DUPLICATE` - Duplicate\n* `DELETE` - Delete"},"Advertiser":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true,"description":"Defaults to the account in the active session"},"name":{"type":"string","maxLength":191},"app_bundle":{"type":"string","nullable":true},"category":{"type":"string"},"domain":{"type":"string","format":"uri"},"default_click_url":{"type":"string","nullable":true,"format":"uri"},"default_continent":{"type":"string","description":"Unique Key of the continent, e.q. \"EMEA\""},"default_creative_thumbnail_url":{"type":"string","nullable":true},"default_currency":{"type":"string","description":"The key of the currency"},"default_campaign_preset_id":{"type":"integer","nullable":true},"default_line_item_preset_id":{"type":"integer","nullable":true},"default_targeting_preset_id":{"type":"integer","nullable":true},"is_comcast_segment_eligible":{"type":"boolean"},"skad_network":{"allOf":[{"$ref":"#/components/schemas/AdvertiserSkadNetwork"}],"nullable":true},"active":{"type":"boolean","default":false},"last_active":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255}},"required":["account_id","category","create_date","domain","id","last_active","name","update_date"]},"AdvertiserSkadNetwork":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"skad_mmp":{"$ref":"#/components/schemas/SkadMmpEnum"}},"required":["skad_mmp"]},"Alert":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer","nullable":true},"from_address":{"type":"string","format":"email","maxLength":100},"subject":{"type":"string","maxLength":100},"content":{"type":"string"},"object_id":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"object_type":{"type":"string","description":"Unique key of the object type, e.q. \"News Feed\"","nullable":true},"system":{"type":"boolean","default":false},"icon":{"type":"string","nullable":true,"maxLength":20},"active":{"type":"boolean","default":true},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"is_global":{"type":"boolean","writeOnly":true,"default":false}},"required":["account_id","content","from_address","id","subject","update_date"]},"AssignmentLevelEnum":{"enum":["creative_line_item","line_item"],"type":"string","description":"* `creative_line_item` - Creative Line Item\n* `line_item` - Line Item"},"AttributionEnum":{"enum":["ALL","WHITELIST"],"type":"string","description":"* `ALL` - All\n* `WHITELIST` - Whitelist"},"Authenticate":{"type":"object","properties":{"email":{"type":"string","format":"email","description":"Email of user to authenticate"},"password":{"type":"string","description":"Password of user to authenticate"},"account_id":{"type":"integer","nullable":true,"description":"Allows you to masquerate into a different account, if enabled."},"keep_logged_in":{"type":"boolean","description":"When set, will extend the session for up to 30 days."}}},"BaseUser":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"ID of the user"},"all_account_access":{"type":"boolean","default":false},"send_product_comms":{"type":"boolean"},"super_user":{"type":"boolean","default":false},"email":{"type":"string","format":"email"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"first_name":{"type":"string","description":"First name of the user","maxLength":20},"last_name":{"type":"string","description":"Last name of the user","maxLength":20},"last_login":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"Datetime when the user was successfully logged in last time"},"user_type":{"nullable":true,"description":"Type of user access: web, api, or web+api\n\n* `web` - web\n* `api` - api\n* `web+api` - web+api","oneOf":[{"$ref":"#/components/schemas/UserTypeEnum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"account_id":{"type":"integer","nullable":true,"description":"Account of the user that user belongs to"},"role_id":{"type":"integer","description":"Role ID of the user"}},"required":["create_date","email","first_name","id","last_login","last_name","role_id","update_date"]},"BidModel":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"The ID of the BidModel"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Bid Model, e.g. \"CPI Model\"","maxLength":100},"value_type":{"allOf":[{"$ref":"#/components/schemas/ValueTypeEnum"}],"description":"Valid values are BID, MULTIPLIER, or BUDGET_WEIGHT. Determines whether the values in the Bid Model should be multiplied by the base bid at the Line Item level or used instead of that bid. BUDGET_WEIGHT should be used for Delivery Models.\n\n* `BID` - Bid\n* `MULTIPLIER` - Multiplier\n* `BUDGET_WEIGHT` - Budget Weight"},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"current_version":{"type":"integer","description":"The ID of the BidModelVersion","nullable":true}},"required":["account_id","create_date","id","name","update_date","value_type"]},"BidModelVersion":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"The ID of the BidModelVersion"},"bid_model_id":{"type":"integer","description":"The ID of the BidModel"},"name":{"type":"string","description":"Name of the Bid Model Version, e.g. \"Model 17.x.3\"","maxLength":100},"manifest_s3_path":{"type":"string","description":"Path to the file on S3. Should be in the format s3://beeswax-data-<region>/bid_models/<buzz_key>/customer_manifests/<file_name>","maxLength":255},"upload_status":{"allOf":[{"$ref":"#/components/schemas/UploadStatusEnum"}],"description":"The current status of the version.\n\n* `NEW` - New\n* `AVAILABLE` - Available\n* `PENDING` - Pending\n* `LIVE` - Live\n* `FAILED` - Failed"},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"errors":{"type":"array","items":{"$ref":"#/components/schemas/BidModelVersionError"}}},"required":["account_id","bid_model_id","create_date","id","manifest_s3_path","name","update_date"]},"BidModelVersionError":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/BidModelVersionErrorTypeEnum"}],"minimum":-2147483648,"maximum":2147483647},"error_message":{"type":"string","maxLength":255},"file":{"type":"string","nullable":true,"maxLength":255},"first_row":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"region":{"type":"string","maxLength":20}},"required":["error_message","region","type"]},"BidModelVersionErrorTypeEnum":{"enum":[1,2,3,4,5,6],"type":"integer","description":"* `1` - Manifest Error\n* `2` - Prediction Error\n* `3` - Validation Error\n* `4` - Write Error\n* `5` - Read Error\n* `6` - System Error"},"BidModifier":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true,"description":"The ID of the Bid Modifier to GET"},"terms":{"type":"array","items":{"$ref":"#/components/schemas/BidModifierTermV2"},"description":"Refer to the [Bid Modifiers guide](https://docs.beeswax.com/v2.0/docs/bid-modifiers) for more information on Bid Modifier Terms."},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Bid Modifier, e.g. \"Video complete modifier\"","maxLength":191},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"advertiser_id":{"type":"integer","nullable":true,"description":"The ID of the Advertiser, if set"},"bid_model_id":{"type":"integer","description":"The ID of the Bid Model associated with this Bid Modifier","nullable":true}},"required":["account_id","create_date","id","name","terms","update_date"]},"BidModifierTermV2":{"type":"object","properties":{"recency":{"allOf":[{"$ref":"#/components/schemas/TargetingRecency"}],"nullable":true},"comparator":{"allOf":[{"$ref":"#/components/schemas/ComparatorEnum"}],"description":"The method for comparing the defined value against the incoming bid request to determine a match (i.e. equals, in_range, boolean)\n\n* `equals` - Equals\n* `in_range` - In Range\n* `boolean_expression` - Boolean"},"multiplier":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"The amount to multiply the bid price by."},"override_multiplier":{"type":"boolean"},"targeting_key":{"allOf":[{"$ref":"#/components/schemas/TargetingKeyEnum"}],"description":"The targeting key e.g. country\n\n* `ad_position` - Ad Position\n* `ad_size` - Ad Size\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_category` - Content Category\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `ip_address` - IP Address\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `location_type` - Location Type\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `segment` - Segment\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `time_of_week` - Time Of Week\n* `topframe` - Topframe\n* `user_id` - User ID\n* `user_time_of_week` - User Time Of Week\n* `video_api` - Video API\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"value":{"type":"string","description":"The value to match, e.g. USA","maxLength":1024}},"required":["comparator","multiplier","targeting_key","value"]},"BidShadingControlEnum":{"enum":["less_aggressive","more_aggressive","normal"],"type":"string","description":"* `less_aggressive` - Less Aggressive\n* `more_aggressive` - More Aggressive\n* `normal` - Normal"},"Bidding":{"type":"object","description":"A serializer mixin to handle advanced pacing fields for the Bidding model.\n\nThis mixin dynamically adjusts the serializer's behavior based on the state of the\n`ENABLE_PACEMAKER_V2` feature flag and the pacing configuration of the `bidding` instance.\n\n* If Pacemaker V2 is disabled, advanced pacing fields are removed from the serialized output.\n* If Pacemaker V2 is enabled or if the `bidding.pacing` attribute requires processing, default\n  values are applied to pacing-related fields when they are not already set.","properties":{"strategy":{"type":"string","description":"The strategy to use. One of: `\"CPM\"`, `\"CPC\"`, `\"VCR\"`, `\"CPM_PACED\"`, `\"CPC_PACED\"`, `\"VCR_PACED\"`, `\"CPA\"`, `\"CPA_PACED\"`."},"pacing":{"nullable":true,"description":"The algorithmic ability to smooth spend across the duration of the day or lifetime of a line item.\n\n* `daily` - Daily\n* `flight` - Flight\n* `lifetime` - Lifetime\n* `none` - None","oneOf":[{"$ref":"#/components/schemas/PacingEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"pacing_behavior":{"nullable":true,"description":"Pacing behavior determines the rate at which the budget is spent.\n\n* `even` - Even\n* `ahead` - Ahead","oneOf":[{"$ref":"#/components/schemas/PacingBehaviorEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"multiplier":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,3})?$","nullable":true,"description":"Multiplier enables control over spending speed. e.g. setting it to 1.5 will spend 150% of the allocated target amount."},"catchup_behavior":{"nullable":true,"description":"Catchup behavior determines how the pacemaker responds when the budget delivery falls behind and inventory becomes suddenly available at a certain point.\n\n* `immediate` - Immediate\n* `even` - Even\n* `smooth` - Smooth","oneOf":[{"$ref":"#/components/schemas/CatchupBehaviorEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"custom":{"type":"boolean","description":"Whether the strategy is custom."},"bid_shading_control":{"nullable":true,"description":"This field determines how aggressive the bid shading algorithm should be.\n\n* `less_aggressive` - Less Aggressive\n* `more_aggressive` - More Aggressive\n* `normal` - Normal","oneOf":[{"$ref":"#/components/schemas/BidShadingControlEnum"},{"$ref":"#/components/schemas/NullEnum"}]}},"required":["pacing","strategy"]},"BlankEnum":{"enum":[""]},"BudgetCarryOverTypeEnum":{"enum":["None","carry_over","evenly_distribute","prorated_distribute"],"type":"string","description":"* `None` - None\n* `carry_over` - Carry Over\n* `evenly_distribute` - Evenly Distribute\n* `prorated_distribute` - Prorated Distribute"},"BulkPredicate":{"type":"object","properties":{"recency":{"allOf":[{"$ref":"#/components/schemas/NestRecency"}],"nullable":true,"description":"Segment recency object; only valid within \"add\" and if key=\"segment\"."},"cpm_override":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"comparator":{"allOf":[{"$ref":"#/components/schemas/ComparatorEnum"}],"description":"Comparator; e.g. `\"equals\"`\n\n* `equals` - Equals\n* `in_range` - In Range\n* `boolean_expression` - Boolean"},"value":{"type":"string","description":"Targeting value."}},"required":["comparator","value"]},"BulkUpload":{"type":"object","properties":{"id":{"type":"integer","description":"Bulk upload unique identifier."},"status":{"allOf":[{"$ref":"#/components/schemas/StatusEnum"}],"description":"The current status of the Bulk Upload.\n\n* `completed` - Completed\n* `completed_with_errors` - Completed With Errors\n* `processing` - Processing\n* `processing_failed` - Processing Failed"},"message":{"type":"string","readOnly":true,"description":"Descriptive status message of the bulk upload."},"errors":{"allOf":[{"$ref":"#/components/schemas/ErrorsField"}],"description":"Bulk upload errors."}},"required":["errors","id","message","status"]},"Campaign":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"id":{"type":"integer","readOnly":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"last_active":{"type":"string","format":"date-time","nullable":true},"name":{"type":"string","pattern":"^[\\w[('-]","maxLength":191,"minLength":3},"active":{"type":"boolean","default":false},"advertiser_id":{"type":"integer"},"bid_modifier_id":{"type":"integer","description":"The ID of the Bid Modifier to GET","nullable":true},"delivery_modifier_id":{"type":"integer","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"currency":{"type":"string","description":"The key of the currency"},"min_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true},"max_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true},"continents":{"type":"array","items":{"type":"string"},"description":"JSON list of continents, e.g. '[\"EMEA\", \"NAM\"]'. Options include: 'APAC', 'EMEA' and 'NAM'."},"default_line_item_preset_id":{"type":"integer","nullable":true},"default_targeting_preset_id":{"type":"integer","nullable":true},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"skad_network":{"allOf":[{"$ref":"#/components/schemas/SkadNetwork"}],"nullable":true},"revenue":{"allOf":[{"$ref":"#/components/schemas/Revenue"}],"nullable":true,"description":"The configuration of the revenue."},"spend":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true},"impressions":{"type":"integer","readOnly":true,"default":0},"budget_type":{"type":"string","nullable":true,"description":"The type of the budget. One of: `\"spend\"`, `\"impressions\"`, `\"spend including vendor fees\"`."},"spend_budget":{"allOf":[{"$ref":"#/components/schemas/SpendBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is either `\"spend\"` or `\"spend including vendor fees\"`. If the budget type is `\"impressions\"`, null will be populated."},"impressions_budget":{"allOf":[{"$ref":"#/components/schemas/ImpressionsBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is `\"impressions\"`. If the budget type is either `\"spend\"` or `\"spend including vendor fees\"`, null will be populated."},"vendor_fees":{"type":"array","items":{"$ref":"#/components/schemas/VendorFee"},"description":"The list of the vendor fees objects."},"ghost_bidding":{"allOf":[{"$ref":"#/components/schemas/CampaignGhostBidding"}],"nullable":true},"event_ids":{"type":"array","items":{"type":"integer"},"description":"The list of the unique identifiers representing the associated events."},"frequency_caps":{"allOf":[{"$ref":"#/components/schemas/FrequencyCap"}],"nullable":true,"description":"The configuration of the frequency capping."},"segment_extension":{"allOf":[{"$ref":"#/components/schemas/SegmentExtension"}],"nullable":true,"description":"The configuration of the segment extension."},"experiment":{"allOf":[{"$ref":"#/components/schemas/Experiment"}],"nullable":true},"account_id":{"type":"integer","readOnly":true},"was_activated":{"type":"boolean","readOnly":true,"description":"Whether the campaign was already activated at least once."},"invoice_id":{"type":"string","nullable":true,"description":"Coming soon.","maxLength":48}},"required":["account_id","advertiser_id","create_date","id","impressions","name","spend","update_date","was_activated"]},"CampaignDuplicate":{"type":"object","properties":{"name":{"type":"string","pattern":"^[\\w[('-]","maxLength":191,"minLength":3},"advertiser_id":{"type":"integer","readOnly":true,"nullable":true},"duplicate":{"type":"array","items":{"$ref":"#/components/schemas/CampaignDuplicateDuplicateEnum"},"description":"The list of strings that describes a set of entities to be duplicated."},"number_of_copies":{"type":"integer","maximum":10,"minimum":1,"description":"Allow to duplicate number of campaigns."}},"required":["advertiser_id","duplicate","name","number_of_copies"]},"CampaignDuplicateDuplicateEnum":{"enum":["resource","frequency_cap","vendor_fees","custom_event_associations","revenue","skad_network","ghost_bidding","bid_modifier","delivery_modifier","targeting_expression","creative_association","line_item","experiments","segment_extension"],"type":"string","description":"* `resource` - resource\n* `frequency_cap` - frequency_cap\n* `vendor_fees` - vendor_fees\n* `custom_event_associations` - custom_event_associations\n* `revenue` - revenue\n* `skad_network` - skad_network\n* `ghost_bidding` - ghost_bidding\n* `bid_modifier` - bid_modifier\n* `delivery_modifier` - delivery_modifier\n* `targeting_expression` - targeting_expression\n* `creative_association` - creative_association\n* `line_item` - line_item\n* `experiments` - experiments\n* `segment_extension` - segment_extension"},"CampaignGhostBidding":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"id_type":{"$ref":"#/components/schemas/IdType950Enum"},"id_vendor":{"type":"string","nullable":true},"id_vendor_id":{"type":"integer","nullable":true}},"required":["id_type"]},"CampaignLineItemExperiments":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string","description":"The descriptive name of the line item, e.g. \"Spring lead generation\".","maxLength":191},"test_group":{"type":"integer"}},"required":["id","name","test_group"]},"CatchupBehaviorEnum":{"enum":["immediate","even","smooth"],"type":"string","description":"* `immediate` - Immediate\n* `even` - Even\n* `smooth` - Smooth"},"ChangePasswordLoggedIn":{"type":"object","properties":{"new_password":{"type":"string"},"old_password":{"type":"string"}},"required":["new_password","old_password"]},"ComparatorEnum":{"enum":["equals","in_range","boolean_expression"],"type":"string","description":"* `equals` - Equals\n* `in_range` - In Range\n* `boolean_expression` - Boolean"},"CpaModelStatusEnum":{"enum":["NOT_STARTED","MODEL_REQUESTED","PIPELINE_RUNNING","PIPELINE_COMPLETED","NOT_ENOUGH_DATA","FEATURE_SELECTION_ERROR","MODEL_TRAINING_ERROR","BASEBID_SAVING_ERROR","INPUT_ERROR","PROCESSING_ERROR","MEMORY_ERROR","NOT_LISTED_EXCEPTION","PIPELINE_COMPLETED_NOT_SUFFICIENT_ACCURACY"],"type":"string","description":"* `NOT_STARTED` - Not Started\n* `MODEL_REQUESTED` - Model Requested\n* `PIPELINE_RUNNING` - Pipeline Running\n* `PIPELINE_COMPLETED` - Pipeline Completed\n* `NOT_ENOUGH_DATA` - Not Enough Data\n* `FEATURE_SELECTION_ERROR` - Feature Selection Error\n* `MODEL_TRAINING_ERROR` - Model Training Error\n* `BASEBID_SAVING_ERROR` - Basebid Saving Error\n* `INPUT_ERROR` - Input Error\n* `PROCESSING_ERROR` - Processing Error\n* `MEMORY_ERROR` - Memory Error\n* `NOT_LISTED_EXCEPTION` - Not Listed Exception\n* `PIPELINE_COMPLETED_NOT_SUFFICIENT_ACCURACY` - Pipeline Completed Not Sufficient Accuracy"},"Creative":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"start_date":{"type":"string","format":"date-time","description":"The start date of the associated creative."},"end_date":{"type":"string","format":"date-time","description":"The end date of the associated creative."},"name":{"type":"string","description":"The name of the associated creative."},"type":{"type":"string","description":"The type of the associated creative."},"thumbnail_url":{"type":"string","format":"uri","description":"The thumbnail URL of the associated creative."},"template_id":{"type":"integer","description":"The unique identifier of the template of the associated creative."},"height":{"type":"integer","description":"The height of the associated creative."},"width":{"type":"integer","description":"The width of the associated creative."},"active":{"type":"boolean","default":true}},"required":["end_date","height","id","name","start_date","template_id","thumbnail_url","type","width"]},"CreativeLineItem":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"weight":{"type":"integer","maximum":100,"minimum":1,"nullable":true,"description":"The weighting of the creative in the line item."},"start_date":{"type":"string","format":"date-time","nullable":true,"description":"Date/time when this association is available"},"end_date":{"type":"string","format":"date-time","nullable":true,"description":"Date/time when this association become unavailable"},"line_item_id":{"type":"integer"},"creative":{"allOf":[{"$ref":"#/components/schemas/Creative"}],"readOnly":true},"creative_id":{"type":"integer","writeOnly":true}},"required":["account_id","creative","creative_id","id","line_item_id"]},"CuratedDealView":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"inventory_source_key":{"type":"string","readOnly":true},"source":{"type":"string","readOnly":true},"archived":{"type":"boolean","default":true},"cpm_override":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"name_override":{"type":"string","nullable":true,"description":"Override name for the deal","maxLength":191},"floor_price":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","readOnly":true,"nullable":true,"description":"Lowest possible CPM bid price"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"start_date":{"type":"string","format":"date","readOnly":true},"end_date":{"type":"string","format":"date","readOnly":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"deal_format":{"readOnly":true,"nullable":true,"description":"One of: `\"banner\"`, `\"video\"`, `\"native\"`, `\"audio\"`\n\n* `banner` - Banner\n* `video` - Video\n* `native` - Native\n* `audio` - Audio","oneOf":[{"$ref":"#/components/schemas/DealFormatEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"deal_type":{"readOnly":true,"nullable":true,"description":"One of: `\"open_auction\"`, `\"private_auction\"`, `\"preferred\"`, `\"guaranteed\"`, `\"advanced\"`\n\n* `open_auction` - Open Auction\n* `private_auction` - Private Auction\n* `preferred` - Preferred\n* `guaranteed` - Guaranteed\n* `advanced` - Advanced","oneOf":[{"$ref":"#/components/schemas/DealTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"name":{"type":"string","readOnly":true},"publisher":{"type":"string","readOnly":true,"nullable":true},"seller_status":{"type":"string","readOnly":true,"nullable":true,"description":"Seller-side status of the deal from external systems"},"deal_id":{"type":"string","readOnly":true,"description":"The supply-side deal identifier"},"account_id":{"type":"integer","readOnly":true},"currency":{"type":"string","readOnly":true},"advertiser_id":{"type":"integer","readOnly":true}},"required":["account_id","advertiser_id","cpm_override","create_date","currency","deal_format","deal_id","deal_type","end_date","floor_price","id","inventory_source_key","name","publisher","seller_status","source","start_date","update_date"]},"CustomListItem":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true,"description":"Defaults to the account in the active session"},"active":{"type":"boolean","default":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"id":{"type":"integer","readOnly":true,"description":"Unique ID of the list item."},"item":{"type":"string","description":"The item, passed as a string for most list times, or a json object for lat/long custom_lists."},"list_id":{"type":"integer","description":"The unique ID of the list. List must be active."},"pushed_to_server":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"pushed_to_serving":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"name":{"type":"string","description":"Optional name for the list item."},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","description":"A numeric value assigned to the list item that can be used by a Bid Modifier."}},"required":["account_id","create_date","id","item","list_id","pushed_to_server","pushed_to_serving","update_date"]},"CustomListItemAck":{"type":"object","properties":{"ack":{"type":"array","items":{"type":"integer"}},"nack":{"type":"array","items":{"type":"integer"}},"operation":{"$ref":"#/components/schemas/OperationEnum"}},"required":["ack","nack","operation"]},"CustomListItemBulkUpload":{"type":"object","properties":{"list_id":{"type":"integer","description":"The unique ID of the list. List must be active"},"list_items":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItemSanitize"}},"file":{"type":"string","format":"uri"}},"required":["list_id"]},"CustomListItemDebug":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true},"active":{"type":"integer"},"is_in_aerospike":{"type":"boolean","readOnly":true},"internal_status":{"type":"string"},"list_item_id":{"type":"integer"},"list_item":{"type":"string","maxLength":300},"list_id":{"type":"integer","readOnly":true},"list_type":{"type":"string"},"pushed_to_serving":{"type":"string","format":"date-time","nullable":true},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true}},"required":["account_id","active","internal_status","is_in_aerospike","list_id","list_item","list_item_id","list_type"]},"CustomListItemDrone":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"buzz_key":{"type":"string","readOnly":true},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"list_id":{"type":"integer","readOnly":true},"list_item":{"type":"string","maxLength":300},"list_item_id":{"type":"integer"},"list_item_name":{"type":"string","nullable":true,"maxLength":191},"pushed_to_server":{"type":"string","format":"date-time","nullable":true},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true}},"required":["account_id","buzz_key","list_id","list_item","list_item_id","update_date"]},"CustomListItemDroneLatLong":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"buzz_key":{"type":"string","readOnly":true},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"list_id":{"type":"integer","readOnly":true},"list_item":{"type":"string","maxLength":300},"list_item_id":{"type":"integer"},"list_item_name":{"type":"string","nullable":true,"maxLength":191},"pushed_to_server":{"type":"string","format":"date-time","nullable":true},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true},"list_attributes":{"type":"string"}},"required":["account_id","buzz_key","list_attributes","list_id","list_item","list_item_id","update_date"]},"CustomListItemQueued":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true},"list_item_id":{"type":"integer"},"list_item":{"type":"string","maxLength":300},"list_id":{"type":"integer","readOnly":true},"list_type":{"type":"string"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true}},"required":["account_id","list_id","list_item","list_item_id","list_type"]},"CustomListItemSanitize":{"type":"object","properties":{"item":{"type":"string","description":"The item, passed as a string for most list times, or a json object for lat/long custom_lists.","maxLength":300},"name":{"type":"string","nullable":true,"description":"Optional name for the list item.","maxLength":191},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true,"description":"A numeric value assigned to the list item that can be used by a Bid Modifier."}},"required":["item"]},"Dashboard":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"endpoint":{"type":"string"}},"required":["id","name"]},"Deal":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"inventory_source_key":{"type":"string"},"source":{"type":"string","readOnly":true},"archived":{"type":"boolean","default":true,"description":"Archived deals cannot be selected for targeting"},"cpm_override":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"floor_price":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"deal_format":{"nullable":true,"description":"One of: `\"banner\"`, `\"video\"`, `\"native\"`, `\"audio\"`\n\n* `banner` - Banner\n* `video` - Video\n* `native` - Native\n* `audio` - Audio","oneOf":[{"$ref":"#/components/schemas/DealFormatEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"deal_type":{"nullable":true,"description":"One of: `\"open_auction\"`, `\"private_auction\"`, `\"preferred\"`, `\"guaranteed\"`, `\"advanced\"`\n\n* `open_auction` - Open Auction\n* `private_auction` - Private Auction\n* `preferred` - Preferred\n* `guaranteed` - Guaranteed\n* `advanced` - Advanced","oneOf":[{"$ref":"#/components/schemas/DealTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"name":{"type":"string","maxLength":191},"publisher":{"type":"string","nullable":true,"maxLength":191},"deal_id":{"type":"string","description":"The supply-side deal identifier","maxLength":191},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"currency":{"type":"string","description":"Currency in which floor_price and cpm_override are expressed"},"advertiser_id":{"type":"integer","nullable":true}},"required":["account_id","deal_id","id","inventory_source_key","name","source","update_date"]},"DealFormatEnum":{"enum":["banner","video","native","audio"],"type":"string","description":"* `banner` - Banner\n* `video` - Video\n* `native` - Native\n* `audio` - Audio"},"DealTypeEnum":{"enum":["open_auction","private_auction","preferred","guaranteed","advanced"],"type":"string","description":"* `open_auction` - Open Auction\n* `private_auction` - Private Auction\n* `preferred` - Preferred\n* `guaranteed` - Guaranteed\n* `advanced` - Advanced"},"DefaultTimeOfWeekTypeEnum":{"enum":["time_of_week","user_time_of_week"],"type":"string","description":"* `time_of_week` - time_of_week\n* `user_time_of_week` - user_time_of_week"},"DeliveryModifier":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"terms":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryModifierTermV2"},"description":"Refer to the [Delivery Modifiers guide](https://docs.beeswax.com/v2.0/docs/delivery-modifiers) for more information on Delivery Modifier Terms."},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Delivery Modifier, e.g. \"Video complete modifier\"","maxLength":191},"fallback_budget_cap_percentage":{"type":"integer","maximum":100,"minimum":0,"nullable":true,"description":"The maximum percentage of the budget that can be spent on fallback inventory. Must be greater than the fallback's percentage of the total budget."},"fallback_weight":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","description":"The fallback weight value to be used when no terms match. Set to zero to prevent delivery when terms do not match."},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"advertiser_id":{"type":"integer","nullable":true,"description":"Optional. Allows a Delivery Modifier to be restricted to a single Advertiser"},"delivery_model_id":{"type":"integer","description":"The ID of the Bid Model to be associated with this Delivery Modifier. Model must be of type BUDGET_WEIGHT","nullable":true}},"required":["account_id","create_date","fallback_weight","id","name","terms","update_date"]},"DeliveryModifierTermTargeting":{"type":"object","properties":{"key":{"allOf":[{"$ref":"#/components/schemas/DeliveryModifierTermTargetingKeyEnum"}],"description":"The targeting key e.g. country\n\n* `ad_position` - Ad Position\n* `ad_size` - Ad Size\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `user_time_of_week` - User Time Of Week\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"value":{"type":"string","nullable":true,"description":"The targeting key value to match, e.g. USA","maxLength":1024},"comparator":{"allOf":[{"$ref":"#/components/schemas/ComparatorEnum"}],"description":"The method for comparing the defined value against the incoming bid request to determine a match (i.e. equals, in_range, boolean)\n\n* `equals` - Equals\n* `in_range` - In Range\n* `boolean_expression` - Boolean"},"expand_list":{"type":"boolean","description":"List items in expanded lists are interpreted as individual delivery modifier terms"}},"required":["comparator","key"]},"DeliveryModifierTermTargetingKeyEnum":{"enum":["ad_position","ad_size","ads_txt","app_bundle_list","app_id_list","app_name","auction_type","audio_companion_required","audio_content_genre","audio_start_delay","bandwidth","browser","browser_version","carrier","city","companion_required","content_genre","content_rating","country","deal_id","deal_id_list","delivery","device_make","device_model","device_screen_size","device_type","domain_list","environment_type","feed","interstitial","interstitial_type","inventory_source","language","lat_long_list","lat_long_present","metro","native_layout","operating_system","operating_system_version","placement","placement_list","playback_method","player_size","publisher_id","publisher_id_list","region","rewarded","site","site_list","start_delay","user_time_of_week","video_placement_type","zip","zip_code_list"],"type":"string","description":"* `ad_position` - Ad Position\n* `ad_size` - Ad Size\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `user_time_of_week` - User Time Of Week\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"DeliveryModifierTermV2":{"type":"object","properties":{"targeting":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryModifierTermTargeting"}},"budget_cap_percentage":{"type":"integer","maximum":100,"minimum":1,"nullable":true,"description":"The maximum percentage of the budget that can be spent by the term. Must be greater than the term's percentage of the total budget."},"rank":{"type":"integer","maximum":100,"minimum":1,"description":"Tie breaker used when multiple Delivery Modifier Terms match an auction. Delivery will be counted against the Delivery Modifier Term with the highest rank. For this reason, all rank values in a Delivery Modifier must be unique."},"weight":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","description":"The relative weight of delivery of matching auctions. Min = 0 (don't bid), Max = 100."}},"required":["rank","targeting","weight"]},"DismissedWarning":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"code":{"type":"string","description":"The code of the warning."}},"required":["code","id"]},"ErrorsField":{"type":"object","properties":{"url":{"type":"string","readOnly":true},"is_file":{"type":"boolean","readOnly":true},"creative_bulk_upload_id":{"type":"integer"}},"required":["creative_bulk_upload_id","is_file","url"]},"Event":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":100},"type_id":{"type":"integer","maximum":127,"minimum":-128,"description":"The ID of the event type","nullable":true},"tag_type_id":{"type":"string","description":"The key of the event tag type","nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"active":{"type":"boolean","default":true},"click_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"view_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"advertiser_id":{"type":"integer"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$"},"segment_id":{"type":"integer","description":"The unique ID of the segment","nullable":true},"attribution":{"$ref":"#/components/schemas/AttributionEnum"},"enabled_for_cpa":{"type":"integer","readOnly":true},"cpa_model_status":{"readOnly":true,"nullable":true,"oneOf":[{"$ref":"#/components/schemas/CpaModelStatusEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}},"required":["account_id","advertiser_id","cpa_model_status","create_date","enabled_for_cpa","id","name","update_date","value"]},"EventAssignment":{"type":"object","description":"Mixin to validate that an object exists based on an `object_type` and `object_id`.\n\nInitially, used for segment favoriting.  If/when this becomes more generic,\nwe'll need to validate existence of the corresponding objects in different\nways for each object type.","properties":{"id":{"type":"integer","readOnly":true},"object_id":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"object_type":{"type":"string","description":"Unique key of the object type, e.q. \"News Feed\""},"active":{"type":"boolean","default":true},"conversion_tag_id":{"type":"integer"},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"}},"required":["account_id","conversion_tag_id","id","object_id","object_type","update_date"]},"EventDuplicate":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"number_of_copies":{"type":"integer","minimum":1,"default":1,"description":"Number of copies to be created."},"name":{"type":"string"},"type_id":{"type":"integer","maximum":127,"minimum":-128,"description":"The ID of the event type","nullable":true},"advertiser_id":{"type":"integer"},"active":{"type":"boolean","default":true},"tag_type_id":{"type":"string","description":"The key of the event tag type","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$"},"click_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"view_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"segment_id":{"type":"integer","description":"The unique ID of the segment","nullable":true},"duplicate":{"type":"array","items":{"$ref":"#/components/schemas/EventDuplicateDuplicateEnum"},"description":"The list of strings that describes a set of entities to be duplicated."},"attribution":{"$ref":"#/components/schemas/AttributionEnum"}},"required":["advertiser_id","duplicate","name","value"]},"EventDuplicateDuplicateEnum":{"enum":["event_assignments"],"type":"string","description":"* `event_assignments` - event_assignments"},"EventTag":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"tag":{"type":"string","readOnly":true},"error":{"type":"string","readOnly":true}},"required":["error","id","name","tag"]},"Experiment":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"id_type":{"allOf":[{"$ref":"#/components/schemas/IdType950Enum"}],"description":"The type of the experiment.\n\n* `STANDARD` - Standard\n* `IP_ADDR` - IP Address\n* `PERSON` - Person\n* `HOUSEHOLD` - Household"},"id_vendor":{"type":"string","nullable":true,"description":"The valid value depends on which vendors have been enabled at the system level."},"id_vendor_id":{"type":"integer","nullable":true,"description":"The unique identifier of the experiment."},"id_test_plan_id":{"type":"integer"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/CampaignLineItemExperiments"}}},"required":["id_type"]},"Expression":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"modules":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Module"},"description":"Refer to the [targeting guide](https://docs.beeswax.com/v2.0/docs/targeting) for more information on constructing the modules object"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","nullable":true,"maxLength":191},"guaranteed":{"type":"boolean","description":"Whether this Expression is being used to configure a Programmatic Guaranteed Line item. Must match the value of guaranteed on the Line Item. When this is true, only 'deal_id' can be targeted."},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}},"required":["account_id","create_date","id","modules","update_date"]},"ExtensionTypeEnum":{"enum":["person","household","person_extend_only","household_extend_only"],"type":"string","description":"* `person` - Person\n* `household` - Household\n* `person_extend_only` - Person Extend Only\n* `household_extend_only` - Household Extend Only"},"FrequencyCap":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id_type":{"allOf":[{"$ref":"#/components/schemas/FrequencyCapIdTypeEnum"}],"description":"The type of frequency capping method.\n\n* `STANDARD` - Standard\n* `IP_ADDR` - IP Address\n* `CUSTOMER` - Customer ID\n* `PERSON` - Person ID\n* `HOUSEHOLD` - Household ID"},"use_fallback":{"type":"boolean","nullable":true,"description":"Whether the frequency capping type is used with a fallback."},"id_vendor":{"type":"string","nullable":true,"description":"Extends the frequency cap with the device graph. The valid value depends on which vendors have been enabled at the system level. Fees may apply."},"id_vendor_id":{"type":"integer","nullable":true,"description":"The unique identifier of the frequency cap vendor."},"limits":{"type":"array","items":{"$ref":"#/components/schemas/Limit"},"description":"The set of caps that limits the number of times the ad appears."}},"required":["id_type","limits","use_fallback"]},"FrequencyCapIdTypeEnum":{"enum":["STANDARD","IP_ADDR","CUSTOMER","PERSON","HOUSEHOLD"],"type":"string","description":"* `STANDARD` - Standard\n* `IP_ADDR` - IP Address\n* `CUSTOMER` - Customer ID\n* `PERSON` - Person ID\n* `HOUSEHOLD` - Household ID"},"GhostBidding":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"id_type":{"allOf":[{"$ref":"#/components/schemas/IdType950Enum"}],"description":"The type of the ghost bidding.\n\n* `STANDARD` - Standard\n* `IP_ADDR` - IP Address\n* `PERSON` - Person\n* `HOUSEHOLD` - Household"},"id_vendor":{"type":"string","nullable":true,"description":"Extends the ghost bidding with the device graph. The valid value depends on which vendors have been enabled at the system level. Fees may apply."},"id_vendor_id":{"type":"integer","nullable":true,"description":"The unique identifier of the ghost bidding vendor."}},"required":["id_type"]},"IdType950Enum":{"enum":["STANDARD","IP_ADDR","PERSON","HOUSEHOLD"],"type":"string","description":"* `STANDARD` - Standard\n* `IP_ADDR` - IP Address\n* `PERSON` - Person\n* `HOUSEHOLD` - Household"},"ImpressionsBudget":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"lifetime":{"type":"integer","minimum":0.01,"description":"The maximum amount that can be spent or delivered., e.g. 700."},"daily":{"type":"integer","minimum":0,"nullable":true,"description":"The maximum amount that can be spent or delivered per day., e.g. 50."}},"required":["lifetime"]},"Limit":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"duration":{"type":"integer","minimum":1,"description":"The duration of time in which to cap impressions, e.g. 864000 seconds."},"impressions":{"type":"integer","minimum":1,"description":"The number of impressions to allow within the duration set."}},"required":["duration","impressions"]},"LineItem":{"type":"object","description":"A mixed-in class that holds common fields' conversions for both campaigns and line items.","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"last_active":{"type":"string","format":"date-time","readOnly":true,"description":"The last time the object was deactivated."},"advertiser_id":{"type":"integer","readOnly":true,"nullable":true,"description":"The unique identifier of the advertiser that owns the line item."},"campaign_id":{"type":"integer","description":"The unique identifier of the campaign the line item belongs to."},"name":{"type":"string","description":"The descriptive name of the line item, e.g. \"Spring lead generation\".","maxLength":191},"active":{"type":"boolean","default":false},"type":{"type":"string","nullable":true,"description":"The type of the line item. One of: `\"banner\"`, `\"video\"`, `\"native\"`."},"bid_modifier_id":{"type":"integer","description":"The unique identifier of the bid modifier. If it is set, `max_bid` must also be specified.","nullable":true},"delivery_modifier_id":{"type":"integer","nullable":true,"description":"The unique identifier of the delivery modifier."},"targeting_expression_id":{"type":"integer","nullable":true,"description":"The unique identifier of the targeting expression."},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"currency":{"type":"string","description":"The currency code in which both lifetime and daily budgets are expressed, e.g. USD."},"guaranteed":{"type":"boolean","description":"Whether the line item is programmatically guaranteed."},"min_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true,"description":"The minimum bid after taking into consideration any bid modifier, e.g. 1.23."},"max_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true,"description":"The maximum bid after taking into consideration any bid modifier, e.g. 7.89."},"bidding":{"allOf":[{"$ref":"#/components/schemas/Bidding"}],"nullable":true,"description":"The configuration of the bidding strategy and its related settings. It may include information such as the bidding algorithm used and any additional parameters or constraints. Note: When updating the pacing option for the same strategy via a PATCH call, the fields `pacing_behavior`, `multiplier`, and `catchup_behavior` will be reset to their default values."},"skad_network":{"allOf":[{"$ref":"#/components/schemas/LineItemSkadNetwork"}],"nullable":true,"description":"The configuration of the SKAd network."},"revenue":{"allOf":[{"$ref":"#/components/schemas/Revenue"}],"nullable":true,"description":"The configuration of the revenue."},"spend":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true},"impressions":{"type":"integer","readOnly":true,"default":0},"budget_type":{"type":"string","nullable":true,"description":"The type of the budget. One of: `\"spend\"`, `\"impressions\"`, `\"spend including vendor fees\"`."},"spend_budget":{"allOf":[{"$ref":"#/components/schemas/SpendBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is either `\"spend\"` or `\"spend including vendor fees\"`. If the budget type is `\"impressions\"`, null will be populated."},"impressions_budget":{"allOf":[{"$ref":"#/components/schemas/ImpressionsBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is `\"impressions\"`. If the budget type is either `\"spend\"` or `\"spend including vendor fees\"`, null will be populated."},"budget_carry_over_type":{"nullable":true,"description":"Options field to calculate carry-budget over and total budget for flights depends on selection calculate carry/total budget.Requires at least two flights; if only one or no flights are configured, the request will be rejected.\n\n* `None` - None\n* `carry_over` - Carry Over\n* `evenly_distribute` - Evenly Distribute\n* `prorated_distribute` - Prorated Distribute","oneOf":[{"$ref":"#/components/schemas/BudgetCarryOverTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"vendor_fees":{"type":"array","items":{"$ref":"#/components/schemas/VendorFee"},"description":"The list of the vendor fees objects."},"active_flights":{"type":"array","items":{"$ref":"#/components/schemas/LineItemFlight"},"description":"The list of flights with an end date greater than the current time."},"past_flights":{"type":"array","items":{"$ref":"#/components/schemas/LineItemFlight"},"readOnly":true,"description":"The list of flights whose end date is in the past."},"ghost_bidding":{"allOf":[{"$ref":"#/components/schemas/GhostBidding"}],"nullable":true,"description":"The configuration of the ghost bidding. This is used to assess media buy impact by predicting ad outcomes without sending them to the exchange."},"event_ids":{"type":"array","items":{"type":"integer"},"description":"The list of the unique identifiers representing the associated events."},"frequency_caps":{"allOf":[{"$ref":"#/components/schemas/FrequencyCap"}],"nullable":true,"description":"The configuration of the frequency capping."},"segment_extension":{"allOf":[{"$ref":"#/components/schemas/SegmentExtension"}],"nullable":true,"description":"The configuration of the segment extension."},"test_plan_id":{"type":"integer","readOnly":true},"test_group_id":{"type":"integer","nullable":true,"description":"The unique identifier of the test group. This field is used when using Experiments to separate users into different groups for testing purposes."},"user_timezones":{"type":"array","items":{"type":"string"}}},"required":["account_id","advertiser_id","campaign_id","create_date","id","impressions","last_active","name","past_flights","spend","test_plan_id","type","update_date"]},"LineItemDuplicate":{"type":"object","properties":{"name":{"type":"string","description":"The descriptive name of the line item, e.g. \"Spring lead generation\".","maxLength":191},"advertiser_id":{"type":"integer","readOnly":true,"nullable":true,"description":"The unique identifier of the advertiser that owns the line item."},"campaign_id":{"type":"integer","nullable":true,"description":"The unique identifier of the campaign the line item belongs to."},"type":{"type":"string","nullable":true,"description":"The type of the line item. One of: `\"banner\"`, `\"video\"`, `\"native\"`."},"guaranteed":{"type":"boolean","description":"Whether the line item is programmatically guaranteed."},"duplicate":{"type":"array","items":{"$ref":"#/components/schemas/LineItemDuplicateDuplicateEnum"},"description":"The list of strings that describes a set of entities to be duplicated."},"number_of_copies":{"type":"integer","default":1,"description":"Number of copies to be created."}},"required":["advertiser_id","duplicate","name","type"]},"LineItemDuplicateDuplicateEnum":{"enum":["resource","frequency_cap","vendor_fees","custom_event_associations","revenue","skad_network","ghost_bidding","bid_modifier","delivery_modifier","targeting_expression","creative_association","flights"],"type":"string","description":"* `resource` - resource\n* `frequency_cap` - frequency_cap\n* `vendor_fees` - vendor_fees\n* `custom_event_associations` - custom_event_associations\n* `revenue` - revenue\n* `skad_network` - skad_network\n* `ghost_bidding` - ghost_bidding\n* `bid_modifier` - bid_modifier\n* `delivery_modifier` - delivery_modifier\n* `targeting_expression` - targeting_expression\n* `creative_association` - creative_association\n* `flights` - flights"},"LineItemFlight":{"type":"object","description":"A mixed-in class for calculating OSI and days remaining for flights and line items.","properties":{"id":{"type":"integer"},"name":{"type":"string","default":"","description":"The descriptive name of the flight. This field can be left blank.","maxLength":191},"start_date":{"type":"string","format":"date-time"},"end_date":{"type":"string","format":"date-time","nullable":true},"spend_budget":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","nullable":true,"description":"The budget for the flight in currency amount, e.g. 100.12. This field is optional and can be left blank or null. Note that if `impressions_budget` is provided, this field will be ignored."},"impressions_budget":{"type":"integer","minimum":1,"nullable":true,"description":"The budget for the flight in impressions, e.g. 100. This field is optional and can be left blank or null. Note that if `spend_budget` is provided, this field will be ignored."},"on_schedule_indicator":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true,"description":"The metric used to measure how well a line item is pacing against its goal. The OSI is calculated as a percentage."},"days_remaining":{"type":"integer","readOnly":true,"description":"The days remaining until the end date of a flight line item."},"hours_remaining_percentage":{"type":"number","format":"float","readOnly":true,"description":"The hours remaining until the end date of a flight line item. The hours remaining is calculated as a percentage."},"spend":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true,"description":"Actual Spend budget within flight from Stats."},"impressions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true,"description":"Actual Impressions within flight from stats table."},"flight_budget_percentage":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true,"description":"Calculate Actual Budget within flight, Flight budget is calculated as a percentage."},"budget_carry_over":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,6})?$","readOnly":true,"description":"How much carry-over budget is attributed to that flight."},"total_budget":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true,"description":"The target budget sum and how much carry-over budget is attributed to that flight."}},"required":["budget_carry_over","days_remaining","end_date","flight_budget_percentage","hours_remaining_percentage","impressions","on_schedule_indicator","spend","start_date","total_budget"]},"LineItemSkadNetwork":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"enable_skad_tracking":{"type":"boolean","description":"Whether the Apple's SKAd Network tracking is enabled."},"assignment_level":{"allOf":[{"$ref":"#/components/schemas/AssignmentLevelEnum"}],"description":"Determines whether individual SKAd identifiers are assigned to each creative line item association or a single SKAd is assigned to the line item itself.\n\n* `creative_line_item` - Creative Line Item\n* `line_item` - Line Item"},"target_skad":{"type":"boolean","description":"Whether the line item only targets SKAd-enabled Apple inventory."}},"required":["assignment_level","enable_skad_tracking","target_skad"]},"List":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"attributes":{"allOf":[{"$ref":"#/components/schemas/ListAttributes"}],"nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"delimiter":{"type":"string","nullable":true,"maxLength":1},"name":{"type":"string","maxLength":100},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"type":{"type":"string","description":"The type of the list. One of: `\"app_bundle\"`, `\"app_id\"`, `\"deal_id\"`, `\"domain\"`, `\"lat_long\"`, `\"placement_id\"`, `\"publisher_id\"`, `\"site_id\"`, `\"zip_code\"`."},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"upload_type":{"$ref":"#/components/schemas/UploadTypeEnum"}},"required":["account_id","create_date","id","name","type","update_date"]},"ListAttributes":{"type":"object","properties":{"default_radius_km":{"type":"number","format":"double","minimum":0.001}},"required":["default_radius_km"]},"ListDuplication":{"type":"object","properties":{"active":{"type":"boolean","default":true},"attributes":{"allOf":[{"$ref":"#/components/schemas/ListAttributes"}],"nullable":true},"duplicate":{"type":"array","items":{"$ref":"#/components/schemas/ListDuplicationDuplicateEnum"},"description":"The list of strings that describes a set of entities to be duplicated."},"name":{"type":"string","maxLength":100},"number_of_copies":{"type":"integer","default":1,"description":"Number of copies to be created."},"type":{"type":"string","description":"The type of the list. One of: `\"app_bundle\"`, `\"app_id\"`, `\"deal_id\"`, `\"domain\"`, `\"lat_long\"`, `\"placement_id\"`, `\"publisher_id\"`, `\"site_id\"`, `\"zip_code\"`."}},"required":["duplicate","name","type"]},"ListDuplicationDuplicateEnum":{"enum":["resource","items"],"type":"string","description":"* `resource` - resource\n* `items` - items"},"Module":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{}},"any":{"type":"object","additionalProperties":{}},"none":{"type":"object","additionalProperties":{}}}},"NameEnum":{"enum":["liveramp","tapad","freewheel"],"type":"string","description":"* `liveramp` - liveramp\n* `tapad` - tapad\n* `freewheel` - freewheel"},"NestRecency":{"type":"object","properties":{"start":{"type":"integer","maximum":129600,"minimum":0,"nullable":true},"end":{"type":"integer","maximum":129600,"minimum":0,"nullable":true}}},"NullEnum":{"enum":[null]},"OperationEnum":{"enum":["drop","write"],"type":"string","description":"* `drop` - drop\n* `write` - write"},"PacingBehaviorEnum":{"enum":["even","ahead"],"type":"string","description":"* `even` - Even\n* `ahead` - Ahead"},"PacingEnum":{"enum":["daily","flight","lifetime","none"],"type":"string","description":"* `daily` - Daily\n* `flight` - Flight\n* `lifetime` - Lifetime\n* `none` - None"},"PaginatedAccountAlertList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AccountAlert"}}}},"PaginatedAccountGroupDetailsList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AccountGroupDetails"}}}},"PaginatedAccountList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"PaginatedActivityLogList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLog"}}}},"PaginatedAdvertiserList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Advertiser"}}}},"PaginatedAlertList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Alert"}}}},"PaginatedBidModelList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/BidModel"}}}},"PaginatedBidModelVersionList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/BidModelVersion"}}}},"PaginatedBidModifierList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/BidModifier"}}}},"PaginatedCampaignList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}}},"PaginatedCreativeLineItemList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CreativeLineItem"}}}},"PaginatedCuratedDealViewList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CuratedDealView"}}}},"PaginatedCustomListItemDebugList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItemDebug"}}}},"PaginatedCustomListItemDroneLatLongList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItemDroneLatLong"}}}},"PaginatedCustomListItemDroneList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItemDrone"}}}},"PaginatedCustomListItemList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItem"}}}},"PaginatedCustomListItemQueuedList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CustomListItemQueued"}}}},"PaginatedDealList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}}}},"PaginatedDeliveryModifierList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryModifier"}}}},"PaginatedDismissedWarningList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DismissedWarning"}}}},"PaginatedEventAssignmentList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/EventAssignment"}}}},"PaginatedEventList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Event"}}}},"PaginatedExpressionList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Expression"}}}},"PaginatedLineItemList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}}}},"PaginatedListList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/List"}}}},"PaginatedPresetList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Preset"}}}},"PaginatedRoleList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Role"}}}},"PaginatedUserList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/accounts/?page=2"},"results":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}},"PatchedAccount":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":100},"active":{"type":"boolean","default":true},"customer_id":{"type":"string"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"timezone":{"$ref":"#/components/schemas/TimezoneEnum"},"passthrough_deal_list_ids":{"type":"array","items":{"type":"string"}}}},"PatchedAccountAlert":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"system_alert_key":{"type":"string","description":"Unique key of the system alert, e.q. \"creative_approval\""},"email":{"type":"string","nullable":true},"slack_api":{"type":"string","nullable":true},"slack_channel":{"type":"string","nullable":true},"slack_emoji":{"type":"string","nullable":true,"maxLength":255},"active":{"type":"boolean","default":true},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}}},"PatchedAccountGroupDetails":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"archived":{"type":"boolean","default":true,"description":"Archived account groups cannot be added to users or accounts."},"customer_id":{"type":"string"},"account_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs"},"user_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"An account group name. For example ‘European Clients’.","maxLength":100}}},"PatchedAccountSettings":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"available_dashboards":{"type":"array","items":{"$ref":"#/components/schemas/Dashboard"}},"button_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"creative_approval_vendor_default":{"type":"array","items":{"type":"string"}},"creative_video_autoplay_default":{"type":"string","nullable":true},"currencies_default":{"type":"string","nullable":true,"maxLength":200},"currencies_enabled":{"type":"array","items":{"type":"string"}},"custom_logo_image":{"type":"string","format":"uri","nullable":true},"custom_style":{"type":"boolean","description":"Only available with navigation updates enabled."},"default_creative_rule_key":{"type":"string","nullable":true,"maxLength":200},"default_continent":{"type":"string","nullable":true,"maxLength":200},"default_segment_days_to_live":{"type":"integer","nullable":true},"default_time_of_week_type":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/DefaultTimeOfWeekTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"enabled_continents":{"type":"array","items":{"type":"string"}},"enable_bid_shading_by_default":{"type":"boolean"},"enable_google_adx":{"type":"boolean"},"enable_grafana":{"type":"boolean"},"enable_metamarkets":{"type":"boolean"},"google_adx_account_id":{"type":"integer","nullable":true},"grafana_panel_ids":{"type":"array","items":{"type":"integer"}},"grafana_password":{"type":"string","nullable":true,"maxLength":200},"grafana_url_template":{"type":"string","nullable":true,"maxLength":200},"grafana_username":{"type":"string","nullable":true,"maxLength":200},"list_header_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"main_header_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"},"max_radius_km":{"type":"integer","nullable":true},"maximum_campaign_budget":{"type":"integer","nullable":true},"maximum_campaign_impressions":{"type":"integer","nullable":true},"maximum_cpm_error":{"type":"string","format":"decimal","pattern":"^-?\\d{0,6}(?:\\.\\d{0,2})?$","nullable":true},"maximum_cpm_warning":{"type":"string","format":"decimal","pattern":"^-?\\d{0,5}(?:\\.\\d{0,2})?$","nullable":true},"metamarkets_company_id":{"type":"integer","nullable":true},"metamarkets_email":{"type":"string","format":"email","nullable":true},"metamarkets_first_name":{"type":"string","nullable":true,"maxLength":200},"metamarkets_last_name":{"type":"string","nullable":true,"maxLength":200},"metamarkets_security_policy_id":{"type":"integer","nullable":true},"passthrough_deal_list_ids":{"type":"array","items":{"type":"string"}},"share_creative_assets_across_advertisers":{"type":"boolean","nullable":true},"text_color":{"type":"string","nullable":true,"pattern":"^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"}}},"PatchedAdvertiser":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true,"description":"Defaults to the account in the active session"},"name":{"type":"string","maxLength":191},"app_bundle":{"type":"string","nullable":true},"category":{"type":"string"},"domain":{"type":"string","format":"uri"},"default_click_url":{"type":"string","nullable":true,"format":"uri"},"default_continent":{"type":"string","description":"Unique Key of the continent, e.q. \"EMEA\""},"default_creative_thumbnail_url":{"type":"string","nullable":true},"default_currency":{"type":"string","description":"The key of the currency"},"default_campaign_preset_id":{"type":"integer","nullable":true},"default_line_item_preset_id":{"type":"integer","nullable":true},"default_targeting_preset_id":{"type":"integer","nullable":true},"is_comcast_segment_eligible":{"type":"boolean"},"skad_network":{"allOf":[{"$ref":"#/components/schemas/AdvertiserSkadNetwork"}],"nullable":true},"active":{"type":"boolean","default":false},"last_active":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255}}},"PatchedAlert":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer","nullable":true},"from_address":{"type":"string","format":"email","maxLength":100},"subject":{"type":"string","maxLength":100},"content":{"type":"string"},"object_id":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"object_type":{"type":"string","description":"Unique key of the object type, e.q. \"News Feed\"","nullable":true},"system":{"type":"boolean","default":false},"icon":{"type":"string","nullable":true,"maxLength":20},"active":{"type":"boolean","default":true},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"is_global":{"type":"boolean","writeOnly":true,"default":false}}},"PatchedBaseUser":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"ID of the user"},"all_account_access":{"type":"boolean","default":false},"send_product_comms":{"type":"boolean"},"super_user":{"type":"boolean","default":false},"email":{"type":"string","format":"email"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"first_name":{"type":"string","description":"First name of the user","maxLength":20},"last_name":{"type":"string","description":"Last name of the user","maxLength":20},"last_login":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"Datetime when the user was successfully logged in last time"},"user_type":{"nullable":true,"description":"Type of user access: web, api, or web+api\n\n* `web` - web\n* `api` - api\n* `web+api` - web+api","oneOf":[{"$ref":"#/components/schemas/UserTypeEnum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"account_id":{"type":"integer","nullable":true,"description":"Account of the user that user belongs to"},"role_id":{"type":"integer","description":"Role ID of the user"}}},"PatchedBidModel":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"The ID of the BidModel"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Bid Model, e.g. \"CPI Model\"","maxLength":100},"value_type":{"allOf":[{"$ref":"#/components/schemas/ValueTypeEnum"}],"description":"Valid values are BID, MULTIPLIER, or BUDGET_WEIGHT. Determines whether the values in the Bid Model should be multiplied by the base bid at the Line Item level or used instead of that bid. BUDGET_WEIGHT should be used for Delivery Models.\n\n* `BID` - Bid\n* `MULTIPLIER` - Multiplier\n* `BUDGET_WEIGHT` - Budget Weight"},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"current_version":{"type":"integer","description":"The ID of the BidModelVersion","nullable":true}}},"PatchedBidModifier":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true,"description":"The ID of the Bid Modifier to GET"},"terms":{"type":"array","items":{"$ref":"#/components/schemas/BidModifierTermV2"},"description":"Refer to the [Bid Modifiers guide](https://docs.beeswax.com/v2.0/docs/bid-modifiers) for more information on Bid Modifier Terms."},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Bid Modifier, e.g. \"Video complete modifier\"","maxLength":191},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"advertiser_id":{"type":"integer","nullable":true,"description":"The ID of the Advertiser, if set"},"bid_model_id":{"type":"integer","description":"The ID of the Bid Model associated with this Bid Modifier","nullable":true}}},"PatchedCampaign":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"id":{"type":"integer","readOnly":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"last_active":{"type":"string","format":"date-time","nullable":true},"name":{"type":"string","pattern":"^[\\w[('-]","maxLength":191,"minLength":3},"active":{"type":"boolean","default":false},"advertiser_id":{"type":"integer"},"bid_modifier_id":{"type":"integer","description":"The ID of the Bid Modifier to GET","nullable":true},"delivery_modifier_id":{"type":"integer","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"currency":{"type":"string","description":"The key of the currency"},"min_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true},"max_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true},"continents":{"type":"array","items":{"type":"string"},"description":"JSON list of continents, e.g. '[\"EMEA\", \"NAM\"]'. Options include: 'APAC', 'EMEA' and 'NAM'."},"default_line_item_preset_id":{"type":"integer","nullable":true},"default_targeting_preset_id":{"type":"integer","nullable":true},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"skad_network":{"allOf":[{"$ref":"#/components/schemas/SkadNetwork"}],"nullable":true},"revenue":{"allOf":[{"$ref":"#/components/schemas/Revenue"}],"nullable":true,"description":"The configuration of the revenue."},"spend":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true},"impressions":{"type":"integer","readOnly":true,"default":0},"budget_type":{"type":"string","nullable":true,"description":"The type of the budget. One of: `\"spend\"`, `\"impressions\"`, `\"spend including vendor fees\"`."},"spend_budget":{"allOf":[{"$ref":"#/components/schemas/SpendBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is either `\"spend\"` or `\"spend including vendor fees\"`. If the budget type is `\"impressions\"`, null will be populated."},"impressions_budget":{"allOf":[{"$ref":"#/components/schemas/ImpressionsBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is `\"impressions\"`. If the budget type is either `\"spend\"` or `\"spend including vendor fees\"`, null will be populated."},"vendor_fees":{"type":"array","items":{"$ref":"#/components/schemas/VendorFee"},"description":"The list of the vendor fees objects."},"ghost_bidding":{"allOf":[{"$ref":"#/components/schemas/CampaignGhostBidding"}],"nullable":true},"event_ids":{"type":"array","items":{"type":"integer"},"description":"The list of the unique identifiers representing the associated events."},"frequency_caps":{"allOf":[{"$ref":"#/components/schemas/FrequencyCap"}],"nullable":true,"description":"The configuration of the frequency capping."},"segment_extension":{"allOf":[{"$ref":"#/components/schemas/SegmentExtension"}],"nullable":true,"description":"The configuration of the segment extension."},"experiment":{"allOf":[{"$ref":"#/components/schemas/Experiment"}],"nullable":true},"account_id":{"type":"integer","readOnly":true},"was_activated":{"type":"boolean","readOnly":true,"description":"Whether the campaign was already activated at least once."},"invoice_id":{"type":"string","nullable":true,"description":"Coming soon.","maxLength":48}}},"PatchedCreativeLineItem":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"weight":{"type":"integer","maximum":100,"minimum":1,"nullable":true,"description":"The weighting of the creative in the line item."},"start_date":{"type":"string","format":"date-time","nullable":true,"description":"Date/time when this association is available"},"end_date":{"type":"string","format":"date-time","nullable":true,"description":"Date/time when this association become unavailable"},"line_item_id":{"type":"integer"},"creative":{"allOf":[{"$ref":"#/components/schemas/Creative"}],"readOnly":true},"creative_id":{"type":"integer","writeOnly":true}}},"PatchedCuratedDealView":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"inventory_source_key":{"type":"string","readOnly":true},"source":{"type":"string","readOnly":true},"archived":{"type":"boolean","default":true},"cpm_override":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"name_override":{"type":"string","nullable":true,"description":"Override name for the deal","maxLength":191},"floor_price":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","readOnly":true,"nullable":true,"description":"Lowest possible CPM bid price"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"start_date":{"type":"string","format":"date","readOnly":true},"end_date":{"type":"string","format":"date","readOnly":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"deal_format":{"readOnly":true,"nullable":true,"description":"One of: `\"banner\"`, `\"video\"`, `\"native\"`, `\"audio\"`\n\n* `banner` - Banner\n* `video` - Video\n* `native` - Native\n* `audio` - Audio","oneOf":[{"$ref":"#/components/schemas/DealFormatEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"deal_type":{"readOnly":true,"nullable":true,"description":"One of: `\"open_auction\"`, `\"private_auction\"`, `\"preferred\"`, `\"guaranteed\"`, `\"advanced\"`\n\n* `open_auction` - Open Auction\n* `private_auction` - Private Auction\n* `preferred` - Preferred\n* `guaranteed` - Guaranteed\n* `advanced` - Advanced","oneOf":[{"$ref":"#/components/schemas/DealTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"name":{"type":"string","readOnly":true},"publisher":{"type":"string","readOnly":true,"nullable":true},"seller_status":{"type":"string","readOnly":true,"nullable":true,"description":"Seller-side status of the deal from external systems"},"deal_id":{"type":"string","readOnly":true,"description":"The supply-side deal identifier"},"account_id":{"type":"integer","readOnly":true},"currency":{"type":"string","readOnly":true},"advertiser_id":{"type":"integer","readOnly":true}}},"PatchedCustomListItem":{"type":"object","properties":{"account_id":{"type":"integer","readOnly":true,"description":"Defaults to the account in the active session"},"active":{"type":"boolean","default":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"id":{"type":"integer","readOnly":true,"description":"Unique ID of the list item."},"item":{"type":"string","description":"The item, passed as a string for most list times, or a json object for lat/long custom_lists."},"list_id":{"type":"integer","description":"The unique ID of the list. List must be active."},"pushed_to_server":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"pushed_to_serving":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"name":{"type":"string","description":"Optional name for the list item."},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","description":"A numeric value assigned to the list item that can be used by a Bid Modifier."}}},"PatchedDeal":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"inventory_source_key":{"type":"string"},"source":{"type":"string","readOnly":true},"archived":{"type":"boolean","default":true,"description":"Archived deals cannot be selected for targeting"},"cpm_override":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"floor_price":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,2})?$","nullable":true},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"deal_format":{"nullable":true,"description":"One of: `\"banner\"`, `\"video\"`, `\"native\"`, `\"audio\"`\n\n* `banner` - Banner\n* `video` - Video\n* `native` - Native\n* `audio` - Audio","oneOf":[{"$ref":"#/components/schemas/DealFormatEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"deal_type":{"nullable":true,"description":"One of: `\"open_auction\"`, `\"private_auction\"`, `\"preferred\"`, `\"guaranteed\"`, `\"advanced\"`\n\n* `open_auction` - Open Auction\n* `private_auction` - Private Auction\n* `preferred` - Preferred\n* `guaranteed` - Guaranteed\n* `advanced` - Advanced","oneOf":[{"$ref":"#/components/schemas/DealTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"name":{"type":"string","maxLength":191},"publisher":{"type":"string","nullable":true,"maxLength":191},"deal_id":{"type":"string","description":"The supply-side deal identifier","maxLength":191},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"currency":{"type":"string","description":"Currency in which floor_price and cpm_override are expressed"},"advertiser_id":{"type":"integer","nullable":true}}},"PatchedDeliveryModifier":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"terms":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryModifierTermV2"},"description":"Refer to the [Delivery Modifiers guide](https://docs.beeswax.com/v2.0/docs/delivery-modifiers) for more information on Delivery Modifier Terms."},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"name":{"type":"string","description":"Name of the Delivery Modifier, e.g. \"Video complete modifier\"","maxLength":191},"fallback_budget_cap_percentage":{"type":"integer","maximum":100,"minimum":0,"nullable":true,"description":"The maximum percentage of the budget that can be spent on fallback inventory. Must be greater than the fallback's percentage of the total budget."},"fallback_weight":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","description":"The fallback weight value to be used when no terms match. Set to zero to prevent delivery when terms do not match."},"account_id":{"type":"integer","description":"Defaults to the account in the active session"},"advertiser_id":{"type":"integer","nullable":true,"description":"Optional. Allows a Delivery Modifier to be restricted to a single Advertiser"},"delivery_model_id":{"type":"integer","description":"The ID of the Bid Model to be associated with this Delivery Modifier. Model must be of type BUDGET_WEIGHT","nullable":true}}},"PatchedEvent":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":100},"type_id":{"type":"integer","maximum":127,"minimum":-128,"description":"The ID of the event type","nullable":true},"tag_type_id":{"type":"string","description":"The key of the event tag type","nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"active":{"type":"boolean","default":true},"click_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"view_window":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"advertiser_id":{"type":"integer"},"value":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$"},"segment_id":{"type":"integer","description":"The unique ID of the segment","nullable":true},"attribution":{"$ref":"#/components/schemas/AttributionEnum"},"enabled_for_cpa":{"type":"integer","readOnly":true},"cpa_model_status":{"readOnly":true,"nullable":true,"oneOf":[{"$ref":"#/components/schemas/CpaModelStatusEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}}},"PatchedLineItem":{"type":"object","description":"A mixed-in class that holds common fields' conversions for both campaigns and line items.","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"last_active":{"type":"string","format":"date-time","readOnly":true,"description":"The last time the object was deactivated."},"advertiser_id":{"type":"integer","readOnly":true,"nullable":true,"description":"The unique identifier of the advertiser that owns the line item."},"campaign_id":{"type":"integer","description":"The unique identifier of the campaign the line item belongs to."},"name":{"type":"string","description":"The descriptive name of the line item, e.g. \"Spring lead generation\".","maxLength":191},"active":{"type":"boolean","default":false},"type":{"type":"string","nullable":true,"description":"The type of the line item. One of: `\"banner\"`, `\"video\"`, `\"native\"`."},"bid_modifier_id":{"type":"integer","description":"The unique identifier of the bid modifier. If it is set, `max_bid` must also be specified.","nullable":true},"delivery_modifier_id":{"type":"integer","nullable":true,"description":"The unique identifier of the delivery modifier."},"targeting_expression_id":{"type":"integer","nullable":true,"description":"The unique identifier of the targeting expression."},"start_date":{"type":"string","format":"date-time","nullable":true},"end_date":{"type":"string","format":"date-time","nullable":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"currency":{"type":"string","description":"The currency code in which both lifetime and daily budgets are expressed, e.g. USD."},"guaranteed":{"type":"boolean","description":"Whether the line item is programmatically guaranteed."},"min_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true,"description":"The minimum bid after taking into consideration any bid modifier, e.g. 1.23."},"max_bid":{"type":"string","format":"decimal","pattern":"^-?\\d{0,8}(?:\\.\\d{0,2})?$","nullable":true,"description":"The maximum bid after taking into consideration any bid modifier, e.g. 7.89."},"bidding":{"allOf":[{"$ref":"#/components/schemas/Bidding"}],"nullable":true,"description":"The configuration of the bidding strategy and its related settings. It may include information such as the bidding algorithm used and any additional parameters or constraints. Note: When updating the pacing option for the same strategy via a PATCH call, the fields `pacing_behavior`, `multiplier`, and `catchup_behavior` will be reset to their default values."},"skad_network":{"allOf":[{"$ref":"#/components/schemas/LineItemSkadNetwork"}],"nullable":true,"description":"The configuration of the SKAd network."},"revenue":{"allOf":[{"$ref":"#/components/schemas/Revenue"}],"nullable":true,"description":"The configuration of the revenue."},"spend":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","readOnly":true},"impressions":{"type":"integer","readOnly":true,"default":0},"budget_type":{"type":"string","nullable":true,"description":"The type of the budget. One of: `\"spend\"`, `\"impressions\"`, `\"spend including vendor fees\"`."},"spend_budget":{"allOf":[{"$ref":"#/components/schemas/SpendBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is either `\"spend\"` or `\"spend including vendor fees\"`. If the budget type is `\"impressions\"`, null will be populated."},"impressions_budget":{"allOf":[{"$ref":"#/components/schemas/ImpressionsBudget"}],"nullable":true,"description":"The representation of the budget if the budget type is `\"impressions\"`. If the budget type is either `\"spend\"` or `\"spend including vendor fees\"`, null will be populated."},"budget_carry_over_type":{"nullable":true,"description":"Options field to calculate carry-budget over and total budget for flights depends on selection calculate carry/total budget.Requires at least two flights; if only one or no flights are configured, the request will be rejected.\n\n* `None` - None\n* `carry_over` - Carry Over\n* `evenly_distribute` - Evenly Distribute\n* `prorated_distribute` - Prorated Distribute","oneOf":[{"$ref":"#/components/schemas/BudgetCarryOverTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"vendor_fees":{"type":"array","items":{"$ref":"#/components/schemas/VendorFee"},"description":"The list of the vendor fees objects."},"active_flights":{"type":"array","items":{"$ref":"#/components/schemas/LineItemFlight"},"description":"The list of flights with an end date greater than the current time."},"past_flights":{"type":"array","items":{"$ref":"#/components/schemas/LineItemFlight"},"readOnly":true,"description":"The list of flights whose end date is in the past."},"ghost_bidding":{"allOf":[{"$ref":"#/components/schemas/GhostBidding"}],"nullable":true,"description":"The configuration of the ghost bidding. This is used to assess media buy impact by predicting ad outcomes without sending them to the exchange."},"event_ids":{"type":"array","items":{"type":"integer"},"description":"The list of the unique identifiers representing the associated events."},"frequency_caps":{"allOf":[{"$ref":"#/components/schemas/FrequencyCap"}],"nullable":true,"description":"The configuration of the frequency capping."},"segment_extension":{"allOf":[{"$ref":"#/components/schemas/SegmentExtension"}],"nullable":true,"description":"The configuration of the segment extension."},"test_plan_id":{"type":"integer","readOnly":true},"test_group_id":{"type":"integer","nullable":true,"description":"The unique identifier of the test group. This field is used when using Experiments to separate users into different groups for testing purposes."},"user_timezones":{"type":"array","items":{"type":"string"}}}},"PatchedList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"account_id":{"type":"integer","readOnly":true},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"attributes":{"allOf":[{"$ref":"#/components/schemas/ListAttributes"}],"nullable":true},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"delimiter":{"type":"string","nullable":true,"maxLength":1},"name":{"type":"string","maxLength":100},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"type":{"type":"string","description":"The type of the list. One of: `\"app_bundle\"`, `\"app_id\"`, `\"deal_id\"`, `\"domain\"`, `\"lat_long\"`, `\"placement_id\"`, `\"publisher_id\"`, `\"site_id\"`, `\"zip_code\"`."},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"upload_type":{"$ref":"#/components/schemas/UploadTypeEnum"}}},"PatchedPreset":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true,"description":"A unique integer value identifying this preset"},"content":{"type":"object","additionalProperties":{},"description":"The content of the preset, represented as a JSON object. The structure of this object depends on the type of preset being created."},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"advertiser_id":{"type":"integer","nullable":true,"description":"The unique identifier of the advertiser that owns the preset"},"active":{"type":"boolean","description":"Indicates whether the preset is active or not."},"type":{"allOf":[{"$ref":"#/components/schemas/PresetTypeEnum"}],"description":"The type of the preset. One of: `\"campaign\"`, `\"line_item\"`, `\"targeting_expression\"`. Note: The v2 endpoint currently does not support campaign presets.\n\n* `campaign` - Campaign\n* `line_item` - Line Item\n* `targeting_expression` - Targeting Expression"},"name":{"type":"string","description":"The descriptive name of the preset, e.g. \"Spring lead generation\"","maxLength":191},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 200 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}}},"PatchedRoleCreate":{"type":"object","properties":{"account_id":{"type":"integer","nullable":true,"description":"The account associated with the role. Defaults to the current account."},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"archived":{"type":"boolean","readOnly":true,"default":true,"description":"Archived roles cannot add new users"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"dashboard_ids":{"type":"array","items":{},"description":"List of dashboard IDs users associated with this role should be able to access"},"id":{"type":"integer","readOnly":true,"description":"Unique ID of the role"},"is_system":{"type":"boolean","readOnly":true,"description":"If true, the role was created by the system and cannot be changed"},"name":{"type":"string"},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"parent_role_id":{"type":"integer"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Permission"},"description":"Object containing resource-level permissions for this Role"},"report_field_group_ids":{"type":"array","items":{},"description":"List of report field group IDs users associated with this role should be able to access"},"report_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs of reports users associated with this role should be able to access. A list of reports may be queried using /reporting/reports."},"shared_across_accounts":{"type":"boolean","default":false},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"}}},"Permission":{"type":"object","properties":{"object_type":{"type":"string","description":"The name of the resource, e.g. \"advertiser\" (note, these are singular)"},"permission":{"type":"integer"}},"required":["object_type","permission"]},"Preset":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer","readOnly":true,"description":"A unique integer value identifying this preset"},"content":{"type":"object","additionalProperties":{},"description":"The content of the preset, represented as a JSON object. The structure of this object depends on the type of preset being created."},"create_date":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"advertiser_id":{"type":"integer","nullable":true,"description":"The unique identifier of the advertiser that owns the preset"},"active":{"type":"boolean","description":"Indicates whether the preset is active or not."},"type":{"allOf":[{"$ref":"#/components/schemas/PresetTypeEnum"}],"description":"The type of the preset. One of: `\"campaign\"`, `\"line_item\"`, `\"targeting_expression\"`. Note: The v2 endpoint currently does not support campaign presets.\n\n* `campaign` - Campaign\n* `line_item` - Line Item\n* `targeting_expression` - Targeting Expression"},"name":{"type":"string","description":"The descriptive name of the preset, e.g. \"Spring lead generation\"","maxLength":191},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 200 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"account_id":{"type":"integer","description":"Defaults to the account in the active session"}},"required":["account_id","active","content","id","name","type","update_date"]},"PresetTypeEnum":{"enum":["campaign","line_item","targeting_expression"],"type":"string","description":"* `campaign` - Campaign\n* `line_item` - Line Item\n* `targeting_expression` - Targeting Expression"},"Revenue":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"type":{"type":"string","description":"The type of the revenue. One of: `\"CPM\"`, `\"CPC\"`, `\"CPCV\"`, `\"CPI\"`, `\"CPA\"`."},"amount":{"type":"string","format":"decimal","pattern":"^-?\\d{0,11}(?:\\.\\d{0,4})?$","description":"The basis of the revenue calculation, e.g. 5.125."}},"required":["amount","type"]},"Role":{"type":"object","properties":{"account_id":{"type":"integer","nullable":true,"description":"The account associated with the role. Defaults to the current account."},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"archived":{"type":"boolean","default":true,"description":"Archived roles cannot add new users"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"dashboard_ids":{"type":"array","items":{},"description":"List of dashboard IDs users associated with this role should be able to access"},"id":{"type":"integer","readOnly":true,"description":"Unique ID of the role"},"is_system":{"type":"boolean","readOnly":true,"description":"If true, the role was created by the system and cannot be changed"},"name":{"type":"string"},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"parent_role_id":{"type":"integer"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Permission"},"description":"Object containing resource-level permissions for this Role"},"report_field_group_ids":{"type":"array","items":{},"description":"List of report field group IDs users associated with this role should be able to access"},"report_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs of reports users associated with this role should be able to access. A list of reports may be queried using /reporting/reports."},"shared_across_accounts":{"type":"boolean","default":false},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"}},"required":["create_date","id","is_system","name","parent_role_id","update_date"]},"RoleCreate":{"type":"object","properties":{"account_id":{"type":"integer","nullable":true,"description":"The account associated with the role. Defaults to the current account."},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"archived":{"type":"boolean","readOnly":true,"default":true,"description":"Archived roles cannot add new users"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"dashboard_ids":{"type":"array","items":{},"description":"List of dashboard IDs users associated with this role should be able to access"},"id":{"type":"integer","readOnly":true,"description":"Unique ID of the role"},"is_system":{"type":"boolean","readOnly":true,"description":"If true, the role was created by the system and cannot be changed"},"name":{"type":"string"},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"parent_role_id":{"type":"integer"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Permission"},"description":"Object containing resource-level permissions for this Role"},"report_field_group_ids":{"type":"array","items":{},"description":"List of report field group IDs users associated with this role should be able to access"},"report_ids":{"type":"array","items":{"type":"integer"},"description":"List of IDs of reports users associated with this role should be able to access. A list of reports may be queried using /reporting/reports."},"shared_across_accounts":{"type":"boolean","default":false},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"}},"required":["archived","create_date","id","is_system","name","parent_role_id","update_date"]},"SegmentExtension":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"extension_type":{"allOf":[{"$ref":"#/components/schemas/ExtensionTypeEnum"}],"description":"The default type of person and household segment extension.\n\n* `person` - Person\n* `household` - Household\n* `person_extend_only` - Person Extend Only\n* `household_extend_only` - Household Extend Only"},"segment_type":{"allOf":[{"$ref":"#/components/schemas/SegmentTypeEnum"}],"description":"The type of segment extension.\n\n* `all` - ALL\n* `1st_party` - 1P\n* `3rd_party` - 3P"},"vendors":{"type":"array","items":{"$ref":"#/components/schemas/SegmentExtensionVendor"},"description":"The list of vendors to use for audience extension."}},"required":["extension_type","segment_type","vendors"]},"SegmentExtensionVendor":{"type":"object","properties":{"id":{"type":"integer","minimum":1},"name":{"allOf":[{"$ref":"#/components/schemas/NameEnum"}],"description":"The name of the vendor.\n\n* `liveramp` - liveramp\n* `tapad` - tapad\n* `freewheel` - freewheel"}}},"SegmentTypeEnum":{"enum":["all","1st_party","3rd_party"],"type":"string","description":"* `all` - ALL\n* `1st_party` - 1P\n* `3rd_party` - 3P"},"SkadMmpEnum":{"enum":["APPSFLYER","SINGULAR","NONE"],"type":"string","description":"* `APPSFLYER` - Appsflyer\n* `SINGULAR` - Singular\n* `NONE` - None"},"SkadNetwork":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"enable_skad_tracking":{"type":"boolean","description":"Whether the Apple's SKAd Network tracking is enabled."}},"required":["enable_skad_tracking"]},"SpendBudget":{"type":"object","description":"Convenience mixin to deserialize nullable nested JSON objects to _root_\nfields of a line item.\n\nImplement `get_default` in mixed-in class. If a _null_ is passed we need to\nset internal value to a default value for all fields included in the nested\nserializer.","properties":{"lifetime":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","description":"The maximum amount that can be spent or delivered., e.g. 700.35."},"daily":{"type":"string","format":"decimal","pattern":"^-?\\d{0,12}(?:\\.\\d{0,2})?$","nullable":true,"description":"The maximum amount that can be spent or delivered per day., e.g. 50.25."},"include_fees":{"type":"boolean","readOnly":true}},"required":["include_fees","lifetime"]},"StatusEnum":{"enum":["completed","completed_with_errors","processing","processing_failed"],"type":"string","description":"* `completed` - Completed\n* `completed_with_errors` - Completed With Errors\n* `processing` - Processing\n* `processing_failed` - Processing Failed"},"TargetingBulkUpdateCommand":{"type":"object","properties":{"action":{"allOf":[{"$ref":"#/components/schemas/TargetingBulkUpdateCommandActionEnum"}],"description":"One of: `\"add\"`, `\"remove\"`, `\"replace\"`\n\n* `add` - Add\n* `remove` - Remove\n* `replace` - Replace"},"key":{"allOf":[{"$ref":"#/components/schemas/TargetingBulkUpdateCommandKeyEnum"}],"description":"Targeting key; e.g. `\"city\"`\n\n* `ad_position` - Ad Position\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_category` - Content Category\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `ip_address` - IP Address\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `location_type` - Location Type\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `segment` - Segment\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `time_of_week` - Time Of Week\n* `topframe` - Topframe\n* `user_id` - User ID\n* `user_time_of_week` - User Time Of Week\n* `video_api` - Video API\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"to_group":{"type":"array","items":{"$ref":"#/components/schemas/ToGroupEnum"},"description":"Key group, predicate group pair; e.g. `[\"all\", \"any\"]`"},"from_groups":{"type":"array","items":{"type":"array","items":{"enum":["any","all","none"],"type":"string","description":"* `any` - Any\n* `all` - All\n* `none` - None"}},"description":"Array of key group, predicate group pairs; e.g. `[[\"all\", \"any\"], [\"none\", \"any\"]]`"},"add":{"type":"array","items":{"$ref":"#/components/schemas/BulkPredicate"},"description":"Predicate objects to add"},"remove":{"type":"array","items":{"$ref":"#/components/schemas/BulkPredicate"},"description":"Predicate objects to remove"}},"required":["action","key"]},"TargetingBulkUpdateCommandActionEnum":{"enum":["add","remove","replace"],"type":"string","description":"* `add` - Add\n* `remove` - Remove\n* `replace` - Replace"},"TargetingBulkUpdateCommandKeyEnum":{"enum":["ad_position","ads_txt","app_bundle_list","app_id_list","app_name","auction_type","audio_companion_required","audio_content_genre","audio_start_delay","bandwidth","browser","browser_version","carrier","city","companion_required","content_category","content_genre","content_rating","country","deal_id","deal_id_list","delivery","device_make","device_model","device_screen_size","device_type","domain_list","environment_type","feed","interstitial","interstitial_type","inventory_source","ip_address","language","lat_long_list","lat_long_present","location_type","metro","native_layout","operating_system","operating_system_version","placement","placement_list","playback_method","player_size","publisher_id","publisher_id_list","region","rewarded","segment","site","site_list","start_delay","time_of_week","topframe","user_id","user_time_of_week","video_api","video_placement_type","zip","zip_code_list"],"type":"string","description":"* `ad_position` - Ad Position\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_category` - Content Category\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `ip_address` - IP Address\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `location_type` - Location Type\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `segment` - Segment\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `time_of_week` - Time Of Week\n* `topframe` - Topframe\n* `user_id` - User ID\n* `user_time_of_week` - User Time Of Week\n* `video_api` - Video API\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"TargetingBulkUpdateError":{"type":"object","properties":{"id":{"type":"integer"},"targeting_expression_id":{"type":"integer"},"errors":{"type":"object","additionalProperties":{}}},"required":["errors","id","targeting_expression_id"]},"TargetingBulkUpdateRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"Array of Line Item ids"},"commands":{"type":"array","items":{"$ref":"#/components/schemas/TargetingBulkUpdateCommand"}}},"required":["commands","ids"]},"TargetingBulkUpdateResponse":{"type":"object","properties":{"id":{"type":"integer"},"targeting_expression_id":{"type":"integer"},"created":{"type":"boolean"}},"required":["created","id","targeting_expression_id"]},"TargetingKeyEnum":{"enum":["ad_position","ad_size","ads_txt","app_bundle_list","app_id_list","app_name","auction_type","audio_companion_required","audio_content_genre","audio_start_delay","bandwidth","browser","browser_version","carrier","city","companion_required","content_category","content_genre","content_rating","country","deal_id","deal_id_list","delivery","device_make","device_model","device_screen_size","device_type","domain_list","environment_type","feed","interstitial","interstitial_type","inventory_source","ip_address","language","lat_long_list","lat_long_present","location_type","metro","native_layout","operating_system","operating_system_version","placement","placement_list","playback_method","player_size","publisher_id","publisher_id_list","region","rewarded","segment","site","site_list","start_delay","time_of_week","topframe","user_id","user_time_of_week","video_api","video_placement_type","zip","zip_code_list"],"type":"string","description":"* `ad_position` - Ad Position\n* `ad_size` - Ad Size\n* `ads_txt` - Ads Txt\n* `app_bundle_list` - App Bundle List\n* `app_id_list` - App ID List\n* `app_name` - App Name\n* `auction_type` - Auction Type\n* `audio_companion_required` - Audio Companion Required\n* `audio_content_genre` - Audio Content Genre\n* `audio_start_delay` - Audio Start Delay\n* `bandwidth` - Bandwidth\n* `browser` - Browser\n* `browser_version` - Browser Version\n* `carrier` - Carrier\n* `city` - City\n* `companion_required` - Companion Required\n* `content_category` - Content Category\n* `content_genre` - Content Genre\n* `content_rating` - Content Rating\n* `country` - Country\n* `deal_id` - Deal ID\n* `deal_id_list` - Deal ID List\n* `delivery` - Delivery\n* `device_make` - Device Make\n* `device_model` - Device Model\n* `device_screen_size` - Device Screen Size\n* `device_type` - Device Type\n* `domain_list` - Domain List ID\n* `environment_type` - Environment Type\n* `feed` - Feed\n* `interstitial` - Interstitial\n* `interstitial_type` - Interstitial Type\n* `inventory_source` - Inventory Source\n* `ip_address` - IP Address\n* `language` - Language\n* `lat_long_list` - Latitude & Longitude List\n* `lat_long_present` - Latitude & Longitude Present\n* `location_type` - Location Type\n* `metro` - Metro\n* `native_layout` - Native Layout\n* `operating_system` - Operating System\n* `operating_system_version` - Operating System Version\n* `placement` - Placement ID\n* `placement_list` - Placement ID List\n* `playback_method` - Playback Method\n* `player_size` - Player Size\n* `publisher_id` - Publisher ID\n* `publisher_id_list` - Publisher ID List\n* `region` - Region\n* `rewarded` - Rewarded\n* `segment` - Segment\n* `site` - Site ID\n* `site_list` - Site ID List\n* `start_delay` - Video Start Delay\n* `time_of_week` - Time Of Week\n* `topframe` - Topframe\n* `user_id` - User ID\n* `user_time_of_week` - User Time Of Week\n* `video_api` - Video API\n* `video_placement_type` - Video Placement Type\n* `zip` - Zip\n* `zip_code_list` - Zip Code List"},"TargetingRecency":{"type":"object","properties":{"start":{"type":"integer","maximum":129600,"minimum":0,"nullable":true},"end":{"type":"integer","maximum":129600,"minimum":0,"nullable":true}}},"TimezoneEnum":{"enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","CET","CST6CDT","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Chile/Continental","Chile/EasterIsland","Cuba","EET","EST","EST5EDT","Egypt","Eire","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Greenwich","HST","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Iran","Israel","Jamaica","Japan","Kwajalein","Libya","MET","MST","MST7MDT","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","NZ","NZ-CHAT","Navajo","PRC","PST8PDT","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Poland","Portugal","ROC","ROK","Singapore","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Samoa","UTC","Universal","W-SU","WET","Zulu"],"type":"string","description":"* `Africa/Abidjan` - Africa/Abidjan\n* `Africa/Accra` - Africa/Accra\n* `Africa/Addis_Ababa` - Africa/Addis_Ababa\n* `Africa/Algiers` - Africa/Algiers\n* `Africa/Asmara` - Africa/Asmara\n* `Africa/Asmera` - Africa/Asmera\n* `Africa/Bamako` - Africa/Bamako\n* `Africa/Bangui` - Africa/Bangui\n* `Africa/Banjul` - Africa/Banjul\n* `Africa/Bissau` - Africa/Bissau\n* `Africa/Blantyre` - Africa/Blantyre\n* `Africa/Brazzaville` - Africa/Brazzaville\n* `Africa/Bujumbura` - Africa/Bujumbura\n* `Africa/Cairo` - Africa/Cairo\n* `Africa/Casablanca` - Africa/Casablanca\n* `Africa/Ceuta` - Africa/Ceuta\n* `Africa/Conakry` - Africa/Conakry\n* `Africa/Dakar` - Africa/Dakar\n* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam\n* `Africa/Djibouti` - Africa/Djibouti\n* `Africa/Douala` - Africa/Douala\n* `Africa/El_Aaiun` - Africa/El_Aaiun\n* `Africa/Freetown` - Africa/Freetown\n* `Africa/Gaborone` - Africa/Gaborone\n* `Africa/Harare` - Africa/Harare\n* `Africa/Johannesburg` - Africa/Johannesburg\n* `Africa/Juba` - Africa/Juba\n* `Africa/Kampala` - Africa/Kampala\n* `Africa/Khartoum` - Africa/Khartoum\n* `Africa/Kigali` - Africa/Kigali\n* `Africa/Kinshasa` - Africa/Kinshasa\n* `Africa/Lagos` - Africa/Lagos\n* `Africa/Libreville` - Africa/Libreville\n* `Africa/Lome` - Africa/Lome\n* `Africa/Luanda` - Africa/Luanda\n* `Africa/Lubumbashi` - Africa/Lubumbashi\n* `Africa/Lusaka` - Africa/Lusaka\n* `Africa/Malabo` - Africa/Malabo\n* `Africa/Maputo` - Africa/Maputo\n* `Africa/Maseru` - Africa/Maseru\n* `Africa/Mbabane` - Africa/Mbabane\n* `Africa/Mogadishu` - Africa/Mogadishu\n* `Africa/Monrovia` - Africa/Monrovia\n* `Africa/Nairobi` - Africa/Nairobi\n* `Africa/Ndjamena` - Africa/Ndjamena\n* `Africa/Niamey` - Africa/Niamey\n* `Africa/Nouakchott` - Africa/Nouakchott\n* `Africa/Ouagadougou` - Africa/Ouagadougou\n* `Africa/Porto-Novo` - Africa/Porto-Novo\n* `Africa/Sao_Tome` - Africa/Sao_Tome\n* `Africa/Timbuktu` - Africa/Timbuktu\n* `Africa/Tripoli` - Africa/Tripoli\n* `Africa/Tunis` - Africa/Tunis\n* `Africa/Windhoek` - Africa/Windhoek\n* `America/Adak` - America/Adak\n* `America/Anchorage` - America/Anchorage\n* `America/Anguilla` - America/Anguilla\n* `America/Antigua` - America/Antigua\n* `America/Araguaina` - America/Araguaina\n* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires\n* `America/Argentina/Catamarca` - America/Argentina/Catamarca\n* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia\n* `America/Argentina/Cordoba` - America/Argentina/Cordoba\n* `America/Argentina/Jujuy` - America/Argentina/Jujuy\n* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja\n* `America/Argentina/Mendoza` - America/Argentina/Mendoza\n* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos\n* `America/Argentina/Salta` - America/Argentina/Salta\n* `America/Argentina/San_Juan` - America/Argentina/San_Juan\n* `America/Argentina/San_Luis` - America/Argentina/San_Luis\n* `America/Argentina/Tucuman` - America/Argentina/Tucuman\n* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia\n* `America/Aruba` - America/Aruba\n* `America/Asuncion` - America/Asuncion\n* `America/Atikokan` - America/Atikokan\n* `America/Atka` - America/Atka\n* `America/Bahia` - America/Bahia\n* `America/Bahia_Banderas` - America/Bahia_Banderas\n* `America/Barbados` - America/Barbados\n* `America/Belem` - America/Belem\n* `America/Belize` - America/Belize\n* `America/Blanc-Sablon` - America/Blanc-Sablon\n* `America/Boa_Vista` - America/Boa_Vista\n* `America/Bogota` - America/Bogota\n* `America/Boise` - America/Boise\n* `America/Buenos_Aires` - America/Buenos_Aires\n* `America/Cambridge_Bay` - America/Cambridge_Bay\n* `America/Campo_Grande` - America/Campo_Grande\n* `America/Cancun` - America/Cancun\n* `America/Caracas` - America/Caracas\n* `America/Catamarca` - America/Catamarca\n* `America/Cayenne` - America/Cayenne\n* `America/Cayman` - America/Cayman\n* `America/Chicago` - America/Chicago\n* `America/Chihuahua` - America/Chihuahua\n* `America/Ciudad_Juarez` - America/Ciudad_Juarez\n* `America/Coral_Harbour` - America/Coral_Harbour\n* `America/Cordoba` - America/Cordoba\n* `America/Costa_Rica` - America/Costa_Rica\n* `America/Coyhaique` - America/Coyhaique\n* `America/Creston` - America/Creston\n* `America/Cuiaba` - America/Cuiaba\n* `America/Curacao` - America/Curacao\n* `America/Danmarkshavn` - America/Danmarkshavn\n* `America/Dawson` - America/Dawson\n* `America/Dawson_Creek` - America/Dawson_Creek\n* `America/Denver` - America/Denver\n* `America/Detroit` - America/Detroit\n* `America/Dominica` - America/Dominica\n* `America/Edmonton` - America/Edmonton\n* `America/Eirunepe` - America/Eirunepe\n* `America/El_Salvador` - America/El_Salvador\n* `America/Ensenada` - America/Ensenada\n* `America/Fort_Nelson` - America/Fort_Nelson\n* `America/Fort_Wayne` - America/Fort_Wayne\n* `America/Fortaleza` - America/Fortaleza\n* `America/Glace_Bay` - America/Glace_Bay\n* `America/Godthab` - America/Godthab\n* `America/Goose_Bay` - America/Goose_Bay\n* `America/Grand_Turk` - America/Grand_Turk\n* `America/Grenada` - America/Grenada\n* `America/Guadeloupe` - America/Guadeloupe\n* `America/Guatemala` - America/Guatemala\n* `America/Guayaquil` - America/Guayaquil\n* `America/Guyana` - America/Guyana\n* `America/Halifax` - America/Halifax\n* `America/Havana` - America/Havana\n* `America/Hermosillo` - America/Hermosillo\n* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis\n* `America/Indiana/Knox` - America/Indiana/Knox\n* `America/Indiana/Marengo` - America/Indiana/Marengo\n* `America/Indiana/Petersburg` - America/Indiana/Petersburg\n* `America/Indiana/Tell_City` - America/Indiana/Tell_City\n* `America/Indiana/Vevay` - America/Indiana/Vevay\n* `America/Indiana/Vincennes` - America/Indiana/Vincennes\n* `America/Indiana/Winamac` - America/Indiana/Winamac\n* `America/Indianapolis` - America/Indianapolis\n* `America/Inuvik` - America/Inuvik\n* `America/Iqaluit` - America/Iqaluit\n* `America/Jamaica` - America/Jamaica\n* `America/Jujuy` - America/Jujuy\n* `America/Juneau` - America/Juneau\n* `America/Kentucky/Louisville` - America/Kentucky/Louisville\n* `America/Kentucky/Monticello` - America/Kentucky/Monticello\n* `America/Knox_IN` - America/Knox_IN\n* `America/Kralendijk` - America/Kralendijk\n* `America/La_Paz` - America/La_Paz\n* `America/Lima` - America/Lima\n* `America/Los_Angeles` - America/Los_Angeles\n* `America/Louisville` - America/Louisville\n* `America/Lower_Princes` - America/Lower_Princes\n* `America/Maceio` - America/Maceio\n* `America/Managua` - America/Managua\n* `America/Manaus` - America/Manaus\n* `America/Marigot` - America/Marigot\n* `America/Martinique` - America/Martinique\n* `America/Matamoros` - America/Matamoros\n* `America/Mazatlan` - America/Mazatlan\n* `America/Mendoza` - America/Mendoza\n* `America/Menominee` - America/Menominee\n* `America/Merida` - America/Merida\n* `America/Metlakatla` - America/Metlakatla\n* `America/Mexico_City` - America/Mexico_City\n* `America/Miquelon` - America/Miquelon\n* `America/Moncton` - America/Moncton\n* `America/Monterrey` - America/Monterrey\n* `America/Montevideo` - America/Montevideo\n* `America/Montreal` - America/Montreal\n* `America/Montserrat` - America/Montserrat\n* `America/Nassau` - America/Nassau\n* `America/New_York` - America/New_York\n* `America/Nipigon` - America/Nipigon\n* `America/Nome` - America/Nome\n* `America/Noronha` - America/Noronha\n* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah\n* `America/North_Dakota/Center` - America/North_Dakota/Center\n* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem\n* `America/Nuuk` - America/Nuuk\n* `America/Ojinaga` - America/Ojinaga\n* `America/Panama` - America/Panama\n* `America/Pangnirtung` - America/Pangnirtung\n* `America/Paramaribo` - America/Paramaribo\n* `America/Phoenix` - America/Phoenix\n* `America/Port-au-Prince` - America/Port-au-Prince\n* `America/Port_of_Spain` - America/Port_of_Spain\n* `America/Porto_Acre` - America/Porto_Acre\n* `America/Porto_Velho` - America/Porto_Velho\n* `America/Puerto_Rico` - America/Puerto_Rico\n* `America/Punta_Arenas` - America/Punta_Arenas\n* `America/Rainy_River` - America/Rainy_River\n* `America/Rankin_Inlet` - America/Rankin_Inlet\n* `America/Recife` - America/Recife\n* `America/Regina` - America/Regina\n* `America/Resolute` - America/Resolute\n* `America/Rio_Branco` - America/Rio_Branco\n* `America/Rosario` - America/Rosario\n* `America/Santa_Isabel` - America/Santa_Isabel\n* `America/Santarem` - America/Santarem\n* `America/Santiago` - America/Santiago\n* `America/Santo_Domingo` - America/Santo_Domingo\n* `America/Sao_Paulo` - America/Sao_Paulo\n* `America/Scoresbysund` - America/Scoresbysund\n* `America/Shiprock` - America/Shiprock\n* `America/Sitka` - America/Sitka\n* `America/St_Barthelemy` - America/St_Barthelemy\n* `America/St_Johns` - America/St_Johns\n* `America/St_Kitts` - America/St_Kitts\n* `America/St_Lucia` - America/St_Lucia\n* `America/St_Thomas` - America/St_Thomas\n* `America/St_Vincent` - America/St_Vincent\n* `America/Swift_Current` - America/Swift_Current\n* `America/Tegucigalpa` - America/Tegucigalpa\n* `America/Thule` - America/Thule\n* `America/Thunder_Bay` - America/Thunder_Bay\n* `America/Tijuana` - America/Tijuana\n* `America/Toronto` - America/Toronto\n* `America/Tortola` - America/Tortola\n* `America/Vancouver` - America/Vancouver\n* `America/Virgin` - America/Virgin\n* `America/Whitehorse` - America/Whitehorse\n* `America/Winnipeg` - America/Winnipeg\n* `America/Yakutat` - America/Yakutat\n* `America/Yellowknife` - America/Yellowknife\n* `Antarctica/Casey` - Antarctica/Casey\n* `Antarctica/Davis` - Antarctica/Davis\n* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville\n* `Antarctica/Macquarie` - Antarctica/Macquarie\n* `Antarctica/Mawson` - Antarctica/Mawson\n* `Antarctica/McMurdo` - Antarctica/McMurdo\n* `Antarctica/Palmer` - Antarctica/Palmer\n* `Antarctica/Rothera` - Antarctica/Rothera\n* `Antarctica/South_Pole` - Antarctica/South_Pole\n* `Antarctica/Syowa` - Antarctica/Syowa\n* `Antarctica/Troll` - Antarctica/Troll\n* `Antarctica/Vostok` - Antarctica/Vostok\n* `Arctic/Longyearbyen` - Arctic/Longyearbyen\n* `Asia/Aden` - Asia/Aden\n* `Asia/Almaty` - Asia/Almaty\n* `Asia/Amman` - Asia/Amman\n* `Asia/Anadyr` - Asia/Anadyr\n* `Asia/Aqtau` - Asia/Aqtau\n* `Asia/Aqtobe` - Asia/Aqtobe\n* `Asia/Ashgabat` - Asia/Ashgabat\n* `Asia/Ashkhabad` - Asia/Ashkhabad\n* `Asia/Atyrau` - Asia/Atyrau\n* `Asia/Baghdad` - Asia/Baghdad\n* `Asia/Bahrain` - Asia/Bahrain\n* `Asia/Baku` - Asia/Baku\n* `Asia/Bangkok` - Asia/Bangkok\n* `Asia/Barnaul` - Asia/Barnaul\n* `Asia/Beirut` - Asia/Beirut\n* `Asia/Bishkek` - Asia/Bishkek\n* `Asia/Brunei` - Asia/Brunei\n* `Asia/Calcutta` - Asia/Calcutta\n* `Asia/Chita` - Asia/Chita\n* `Asia/Choibalsan` - Asia/Choibalsan\n* `Asia/Chongqing` - Asia/Chongqing\n* `Asia/Chungking` - Asia/Chungking\n* `Asia/Colombo` - Asia/Colombo\n* `Asia/Dacca` - Asia/Dacca\n* `Asia/Damascus` - Asia/Damascus\n* `Asia/Dhaka` - Asia/Dhaka\n* `Asia/Dili` - Asia/Dili\n* `Asia/Dubai` - Asia/Dubai\n* `Asia/Dushanbe` - Asia/Dushanbe\n* `Asia/Famagusta` - Asia/Famagusta\n* `Asia/Gaza` - Asia/Gaza\n* `Asia/Harbin` - Asia/Harbin\n* `Asia/Hebron` - Asia/Hebron\n* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh\n* `Asia/Hong_Kong` - Asia/Hong_Kong\n* `Asia/Hovd` - Asia/Hovd\n* `Asia/Irkutsk` - Asia/Irkutsk\n* `Asia/Istanbul` - Asia/Istanbul\n* `Asia/Jakarta` - Asia/Jakarta\n* `Asia/Jayapura` - Asia/Jayapura\n* `Asia/Jerusalem` - Asia/Jerusalem\n* `Asia/Kabul` - Asia/Kabul\n* `Asia/Kamchatka` - Asia/Kamchatka\n* `Asia/Karachi` - Asia/Karachi\n* `Asia/Kashgar` - Asia/Kashgar\n* `Asia/Kathmandu` - Asia/Kathmandu\n* `Asia/Katmandu` - Asia/Katmandu\n* `Asia/Khandyga` - Asia/Khandyga\n* `Asia/Kolkata` - Asia/Kolkata\n* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk\n* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur\n* `Asia/Kuching` - Asia/Kuching\n* `Asia/Kuwait` - Asia/Kuwait\n* `Asia/Macao` - Asia/Macao\n* `Asia/Macau` - Asia/Macau\n* `Asia/Magadan` - Asia/Magadan\n* `Asia/Makassar` - Asia/Makassar\n* `Asia/Manila` - Asia/Manila\n* `Asia/Muscat` - Asia/Muscat\n* `Asia/Nicosia` - Asia/Nicosia\n* `Asia/Novokuznetsk` - Asia/Novokuznetsk\n* `Asia/Novosibirsk` - Asia/Novosibirsk\n* `Asia/Omsk` - Asia/Omsk\n* `Asia/Oral` - Asia/Oral\n* `Asia/Phnom_Penh` - Asia/Phnom_Penh\n* `Asia/Pontianak` - Asia/Pontianak\n* `Asia/Pyongyang` - Asia/Pyongyang\n* `Asia/Qatar` - Asia/Qatar\n* `Asia/Qostanay` - Asia/Qostanay\n* `Asia/Qyzylorda` - Asia/Qyzylorda\n* `Asia/Rangoon` - Asia/Rangoon\n* `Asia/Riyadh` - Asia/Riyadh\n* `Asia/Saigon` - Asia/Saigon\n* `Asia/Sakhalin` - Asia/Sakhalin\n* `Asia/Samarkand` - Asia/Samarkand\n* `Asia/Seoul` - Asia/Seoul\n* `Asia/Shanghai` - Asia/Shanghai\n* `Asia/Singapore` - Asia/Singapore\n* `Asia/Srednekolymsk` - Asia/Srednekolymsk\n* `Asia/Taipei` - Asia/Taipei\n* `Asia/Tashkent` - Asia/Tashkent\n* `Asia/Tbilisi` - Asia/Tbilisi\n* `Asia/Tehran` - Asia/Tehran\n* `Asia/Tel_Aviv` - Asia/Tel_Aviv\n* `Asia/Thimbu` - Asia/Thimbu\n* `Asia/Thimphu` - Asia/Thimphu\n* `Asia/Tokyo` - Asia/Tokyo\n* `Asia/Tomsk` - Asia/Tomsk\n* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang\n* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar\n* `Asia/Ulan_Bator` - Asia/Ulan_Bator\n* `Asia/Urumqi` - Asia/Urumqi\n* `Asia/Ust-Nera` - Asia/Ust-Nera\n* `Asia/Vientiane` - Asia/Vientiane\n* `Asia/Vladivostok` - Asia/Vladivostok\n* `Asia/Yakutsk` - Asia/Yakutsk\n* `Asia/Yangon` - Asia/Yangon\n* `Asia/Yekaterinburg` - Asia/Yekaterinburg\n* `Asia/Yerevan` - Asia/Yerevan\n* `Atlantic/Azores` - Atlantic/Azores\n* `Atlantic/Bermuda` - Atlantic/Bermuda\n* `Atlantic/Canary` - Atlantic/Canary\n* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde\n* `Atlantic/Faeroe` - Atlantic/Faeroe\n* `Atlantic/Faroe` - Atlantic/Faroe\n* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen\n* `Atlantic/Madeira` - Atlantic/Madeira\n* `Atlantic/Reykjavik` - Atlantic/Reykjavik\n* `Atlantic/South_Georgia` - Atlantic/South_Georgia\n* `Atlantic/St_Helena` - Atlantic/St_Helena\n* `Atlantic/Stanley` - Atlantic/Stanley\n* `Australia/ACT` - Australia/ACT\n* `Australia/Adelaide` - Australia/Adelaide\n* `Australia/Brisbane` - Australia/Brisbane\n* `Australia/Broken_Hill` - Australia/Broken_Hill\n* `Australia/Canberra` - Australia/Canberra\n* `Australia/Currie` - Australia/Currie\n* `Australia/Darwin` - Australia/Darwin\n* `Australia/Eucla` - Australia/Eucla\n* `Australia/Hobart` - Australia/Hobart\n* `Australia/LHI` - Australia/LHI\n* `Australia/Lindeman` - Australia/Lindeman\n* `Australia/Lord_Howe` - Australia/Lord_Howe\n* `Australia/Melbourne` - Australia/Melbourne\n* `Australia/NSW` - Australia/NSW\n* `Australia/North` - Australia/North\n* `Australia/Perth` - Australia/Perth\n* `Australia/Queensland` - Australia/Queensland\n* `Australia/South` - Australia/South\n* `Australia/Sydney` - Australia/Sydney\n* `Australia/Tasmania` - Australia/Tasmania\n* `Australia/Victoria` - Australia/Victoria\n* `Australia/West` - Australia/West\n* `Australia/Yancowinna` - Australia/Yancowinna\n* `Brazil/Acre` - Brazil/Acre\n* `Brazil/DeNoronha` - Brazil/DeNoronha\n* `Brazil/East` - Brazil/East\n* `Brazil/West` - Brazil/West\n* `CET` - CET\n* `CST6CDT` - CST6CDT\n* `Canada/Atlantic` - Canada/Atlantic\n* `Canada/Central` - Canada/Central\n* `Canada/Eastern` - Canada/Eastern\n* `Canada/Mountain` - Canada/Mountain\n* `Canada/Newfoundland` - Canada/Newfoundland\n* `Canada/Pacific` - Canada/Pacific\n* `Canada/Saskatchewan` - Canada/Saskatchewan\n* `Canada/Yukon` - Canada/Yukon\n* `Chile/Continental` - Chile/Continental\n* `Chile/EasterIsland` - Chile/EasterIsland\n* `Cuba` - Cuba\n* `EET` - EET\n* `EST` - EST\n* `EST5EDT` - EST5EDT\n* `Egypt` - Egypt\n* `Eire` - Eire\n* `Etc/GMT` - Etc/GMT\n* `Etc/GMT+0` - Etc/GMT+0\n* `Etc/GMT+1` - Etc/GMT+1\n* `Etc/GMT+10` - Etc/GMT+10\n* `Etc/GMT+11` - Etc/GMT+11\n* `Etc/GMT+12` - Etc/GMT+12\n* `Etc/GMT+2` - Etc/GMT+2\n* `Etc/GMT+3` - Etc/GMT+3\n* `Etc/GMT+4` - Etc/GMT+4\n* `Etc/GMT+5` - Etc/GMT+5\n* `Etc/GMT+6` - Etc/GMT+6\n* `Etc/GMT+7` - Etc/GMT+7\n* `Etc/GMT+8` - Etc/GMT+8\n* `Etc/GMT+9` - Etc/GMT+9\n* `Etc/GMT-0` - Etc/GMT-0\n* `Etc/GMT-1` - Etc/GMT-1\n* `Etc/GMT-10` - Etc/GMT-10\n* `Etc/GMT-11` - Etc/GMT-11\n* `Etc/GMT-12` - Etc/GMT-12\n* `Etc/GMT-13` - Etc/GMT-13\n* `Etc/GMT-14` - Etc/GMT-14\n* `Etc/GMT-2` - Etc/GMT-2\n* `Etc/GMT-3` - Etc/GMT-3\n* `Etc/GMT-4` - Etc/GMT-4\n* `Etc/GMT-5` - Etc/GMT-5\n* `Etc/GMT-6` - Etc/GMT-6\n* `Etc/GMT-7` - Etc/GMT-7\n* `Etc/GMT-8` - Etc/GMT-8\n* `Etc/GMT-9` - Etc/GMT-9\n* `Etc/GMT0` - Etc/GMT0\n* `Etc/Greenwich` - Etc/Greenwich\n* `Etc/UCT` - Etc/UCT\n* `Etc/UTC` - Etc/UTC\n* `Etc/Universal` - Etc/Universal\n* `Etc/Zulu` - Etc/Zulu\n* `Europe/Amsterdam` - Europe/Amsterdam\n* `Europe/Andorra` - Europe/Andorra\n* `Europe/Astrakhan` - Europe/Astrakhan\n* `Europe/Athens` - Europe/Athens\n* `Europe/Belfast` - Europe/Belfast\n* `Europe/Belgrade` - Europe/Belgrade\n* `Europe/Berlin` - Europe/Berlin\n* `Europe/Bratislava` - Europe/Bratislava\n* `Europe/Brussels` - Europe/Brussels\n* `Europe/Bucharest` - Europe/Bucharest\n* `Europe/Budapest` - Europe/Budapest\n* `Europe/Busingen` - Europe/Busingen\n* `Europe/Chisinau` - Europe/Chisinau\n* `Europe/Copenhagen` - Europe/Copenhagen\n* `Europe/Dublin` - Europe/Dublin\n* `Europe/Gibraltar` - Europe/Gibraltar\n* `Europe/Guernsey` - Europe/Guernsey\n* `Europe/Helsinki` - Europe/Helsinki\n* `Europe/Isle_of_Man` - Europe/Isle_of_Man\n* `Europe/Istanbul` - Europe/Istanbul\n* `Europe/Jersey` - Europe/Jersey\n* `Europe/Kaliningrad` - Europe/Kaliningrad\n* `Europe/Kiev` - Europe/Kiev\n* `Europe/Kirov` - Europe/Kirov\n* `Europe/Kyiv` - Europe/Kyiv\n* `Europe/Lisbon` - Europe/Lisbon\n* `Europe/Ljubljana` - Europe/Ljubljana\n* `Europe/London` - Europe/London\n* `Europe/Luxembourg` - Europe/Luxembourg\n* `Europe/Madrid` - Europe/Madrid\n* `Europe/Malta` - Europe/Malta\n* `Europe/Mariehamn` - Europe/Mariehamn\n* `Europe/Minsk` - Europe/Minsk\n* `Europe/Monaco` - Europe/Monaco\n* `Europe/Moscow` - Europe/Moscow\n* `Europe/Nicosia` - Europe/Nicosia\n* `Europe/Oslo` - Europe/Oslo\n* `Europe/Paris` - Europe/Paris\n* `Europe/Podgorica` - Europe/Podgorica\n* `Europe/Prague` - Europe/Prague\n* `Europe/Riga` - Europe/Riga\n* `Europe/Rome` - Europe/Rome\n* `Europe/Samara` - Europe/Samara\n* `Europe/San_Marino` - Europe/San_Marino\n* `Europe/Sarajevo` - Europe/Sarajevo\n* `Europe/Saratov` - Europe/Saratov\n* `Europe/Simferopol` - Europe/Simferopol\n* `Europe/Skopje` - Europe/Skopje\n* `Europe/Sofia` - Europe/Sofia\n* `Europe/Stockholm` - Europe/Stockholm\n* `Europe/Tallinn` - Europe/Tallinn\n* `Europe/Tirane` - Europe/Tirane\n* `Europe/Tiraspol` - Europe/Tiraspol\n* `Europe/Ulyanovsk` - Europe/Ulyanovsk\n* `Europe/Uzhgorod` - Europe/Uzhgorod\n* `Europe/Vaduz` - Europe/Vaduz\n* `Europe/Vatican` - Europe/Vatican\n* `Europe/Vienna` - Europe/Vienna\n* `Europe/Vilnius` - Europe/Vilnius\n* `Europe/Volgograd` - Europe/Volgograd\n* `Europe/Warsaw` - Europe/Warsaw\n* `Europe/Zagreb` - Europe/Zagreb\n* `Europe/Zaporozhye` - Europe/Zaporozhye\n* `Europe/Zurich` - Europe/Zurich\n* `Factory` - Factory\n* `GB` - GB\n* `GB-Eire` - GB-Eire\n* `GMT` - GMT\n* `GMT+0` - GMT+0\n* `GMT-0` - GMT-0\n* `GMT0` - GMT0\n* `Greenwich` - Greenwich\n* `HST` - HST\n* `Hongkong` - Hongkong\n* `Iceland` - Iceland\n* `Indian/Antananarivo` - Indian/Antananarivo\n* `Indian/Chagos` - Indian/Chagos\n* `Indian/Christmas` - Indian/Christmas\n* `Indian/Cocos` - Indian/Cocos\n* `Indian/Comoro` - Indian/Comoro\n* `Indian/Kerguelen` - Indian/Kerguelen\n* `Indian/Mahe` - Indian/Mahe\n* `Indian/Maldives` - Indian/Maldives\n* `Indian/Mauritius` - Indian/Mauritius\n* `Indian/Mayotte` - Indian/Mayotte\n* `Indian/Reunion` - Indian/Reunion\n* `Iran` - Iran\n* `Israel` - Israel\n* `Jamaica` - Jamaica\n* `Japan` - Japan\n* `Kwajalein` - Kwajalein\n* `Libya` - Libya\n* `MET` - MET\n* `MST` - MST\n* `MST7MDT` - MST7MDT\n* `Mexico/BajaNorte` - Mexico/BajaNorte\n* `Mexico/BajaSur` - Mexico/BajaSur\n* `Mexico/General` - Mexico/General\n* `NZ` - NZ\n* `NZ-CHAT` - NZ-CHAT\n* `Navajo` - Navajo\n* `PRC` - PRC\n* `PST8PDT` - PST8PDT\n* `Pacific/Apia` - Pacific/Apia\n* `Pacific/Auckland` - Pacific/Auckland\n* `Pacific/Bougainville` - Pacific/Bougainville\n* `Pacific/Chatham` - Pacific/Chatham\n* `Pacific/Chuuk` - Pacific/Chuuk\n* `Pacific/Easter` - Pacific/Easter\n* `Pacific/Efate` - Pacific/Efate\n* `Pacific/Enderbury` - Pacific/Enderbury\n* `Pacific/Fakaofo` - Pacific/Fakaofo\n* `Pacific/Fiji` - Pacific/Fiji\n* `Pacific/Funafuti` - Pacific/Funafuti\n* `Pacific/Galapagos` - Pacific/Galapagos\n* `Pacific/Gambier` - Pacific/Gambier\n* `Pacific/Guadalcanal` - Pacific/Guadalcanal\n* `Pacific/Guam` - Pacific/Guam\n* `Pacific/Honolulu` - Pacific/Honolulu\n* `Pacific/Johnston` - Pacific/Johnston\n* `Pacific/Kanton` - Pacific/Kanton\n* `Pacific/Kiritimati` - Pacific/Kiritimati\n* `Pacific/Kosrae` - Pacific/Kosrae\n* `Pacific/Kwajalein` - Pacific/Kwajalein\n* `Pacific/Majuro` - Pacific/Majuro\n* `Pacific/Marquesas` - Pacific/Marquesas\n* `Pacific/Midway` - Pacific/Midway\n* `Pacific/Nauru` - Pacific/Nauru\n* `Pacific/Niue` - Pacific/Niue\n* `Pacific/Norfolk` - Pacific/Norfolk\n* `Pacific/Noumea` - Pacific/Noumea\n* `Pacific/Pago_Pago` - Pacific/Pago_Pago\n* `Pacific/Palau` - Pacific/Palau\n* `Pacific/Pitcairn` - Pacific/Pitcairn\n* `Pacific/Pohnpei` - Pacific/Pohnpei\n* `Pacific/Ponape` - Pacific/Ponape\n* `Pacific/Port_Moresby` - Pacific/Port_Moresby\n* `Pacific/Rarotonga` - Pacific/Rarotonga\n* `Pacific/Saipan` - Pacific/Saipan\n* `Pacific/Samoa` - Pacific/Samoa\n* `Pacific/Tahiti` - Pacific/Tahiti\n* `Pacific/Tarawa` - Pacific/Tarawa\n* `Pacific/Tongatapu` - Pacific/Tongatapu\n* `Pacific/Truk` - Pacific/Truk\n* `Pacific/Wake` - Pacific/Wake\n* `Pacific/Wallis` - Pacific/Wallis\n* `Pacific/Yap` - Pacific/Yap\n* `Poland` - Poland\n* `Portugal` - Portugal\n* `ROC` - ROC\n* `ROK` - ROK\n* `Singapore` - Singapore\n* `Turkey` - Turkey\n* `UCT` - UCT\n* `US/Alaska` - US/Alaska\n* `US/Aleutian` - US/Aleutian\n* `US/Arizona` - US/Arizona\n* `US/Central` - US/Central\n* `US/East-Indiana` - US/East-Indiana\n* `US/Eastern` - US/Eastern\n* `US/Hawaii` - US/Hawaii\n* `US/Indiana-Starke` - US/Indiana-Starke\n* `US/Michigan` - US/Michigan\n* `US/Mountain` - US/Mountain\n* `US/Pacific` - US/Pacific\n* `US/Samoa` - US/Samoa\n* `UTC` - UTC\n* `Universal` - Universal\n* `W-SU` - W-SU\n* `WET` - WET\n* `Zulu` - Zulu"},"ToGroupEnum":{"enum":["any","all","none"],"type":"string","description":"* `any` - Any\n* `all` - All\n* `none` - None"},"UploadStatusEnum":{"enum":["NEW","AVAILABLE","PENDING","LIVE","FAILED"],"type":"string","description":"* `NEW` - New\n* `AVAILABLE` - Available\n* `PENDING` - Pending\n* `LIVE` - Live\n* `FAILED` - Failed"},"UploadTypeEnum":{"enum":["DIRECT_UPLOAD","BULK_UPLOAD"],"type":"string","description":"* `DIRECT_UPLOAD` - Direct Upload\n* `BULK_UPLOAD` - Bulk Upload"},"User":{"type":"object","description":"Allows for fields to be conditionally included on a serializer based on a\nfeature flag. A `flagged_fields` mapping from feature flag to field name\nshould be defined on the serializer's Meta class.","properties":{"id":{"type":"integer","readOnly":true,"description":"ID of the user"},"all_account_access":{"type":"boolean","default":false},"send_product_comms":{"type":"boolean"},"super_user":{"type":"boolean","default":false},"email":{"type":"string","format":"email"},"create_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was first created"},"update_date":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"The date and time the object was last updated"},"active":{"type":"boolean","default":true},"alternative_id":{"type":"string","nullable":true,"description":"An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.","maxLength":200},"notes":{"type":"string","nullable":true,"description":"Free-form notes of up to 255 characters.","maxLength":255},"first_name":{"type":"string","description":"First name of the user","maxLength":20},"last_name":{"type":"string","description":"Last name of the user","maxLength":20},"last_login":{"type":"string","format":"date-time","readOnly":true,"nullable":true,"description":"Datetime when the user was successfully logged in last time"},"user_type":{"nullable":true,"description":"Type of user access: web, api, or web+api\n\n* `web` - web\n* `api` - api\n* `web+api` - web+api","oneOf":[{"$ref":"#/components/schemas/UserTypeEnum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"account_id":{"type":"integer","nullable":true,"description":"Account of the user that user belongs to"},"role_id":{"type":"integer","description":"Role ID of the user"}},"required":["create_date","email","first_name","id","last_login","last_name","role_id","update_date"]},"UserTypeEnum":{"enum":["web","api","web+api"],"type":"string","description":"* `web` - web\n* `api` - api\n* `web+api` - web+api"},"ValueTypeEnum":{"enum":["BID","MULTIPLIER","BUDGET_WEIGHT"],"type":"string","description":"* `BID` - Bid\n* `MULTIPLIER` - Multiplier\n* `BUDGET_WEIGHT` - Budget Weight"},"VendorFee":{"type":"object","description":"A mixin that should be inherited by a custom serializer to include the logic for validating warnings.\n\nThis mixin works by recursively descending into nested levels of the root serializer,\ncollecting warnings in a dictionary structure, and raising them at a higher level.\n\nTo implement warnings in a custom serializer, two types of methods must be used.\nThe first type is used to handle field errors: `warn_<field name>()`.\nThe second type is used for non-field warnings: `warn()`.\n\nUsage:\n    class NestedSerializer(WarningsSerializerMixin, serializers.Serializer):\n        baz = serializers.IntegerField()\n\n        def warn_baz(self, value):\n            ...\n\n        def warn(self, attrs):\n            ....\n\n    class RootSerializer(WarningsSerializerMixin, serializers.Serializer):\n        foo = NestedSerializer()\n        bar = serializers.CharField()\n\n        def warn_bar(self, value):\n            ...\n\n        def warn(self, attrs):\n            ...","properties":{"id":{"type":"integer"},"vendor":{"type":"string","description":"The vendor associated with the vendor fee. Note that if `vendor_id` is also provided, both fields must be the same."},"vendor_id":{"type":"integer","description":"The unique identifier of the vendor associated with the vendor fee. Note that if `vendor` is also provided, both fields must be the same."},"name":{"type":"string","description":"The descriptive name of the vendor fee.","maxLength":100},"cpm_currency":{"type":"string","description":"The currency code for the CPM fee amount, e.g. USD.","nullable":true},"cpm_amount":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,3})?$","nullable":true,"description":"The fee amount of the CPM, e.g. 90.123. Note that only one of `cpm_amount` and `percentage` can be specified."},"percentage":{"type":"string","format":"decimal","pattern":"^-?\\d{0,3}(?:\\.\\d{0,3})?$","nullable":true,"description":"The fee amount in a percentage."}},"required":["name"]}},"securitySchemes":{"nestBasicAuth":{"type":"http","scheme":"basic","description":"Form-based Basic Authentication"},"nestPasswordAuth":{"type":"http","scheme":"basic","description":"Form-based Basic Authentication"},"nestSessionAuth":{"type":"http","scheme":"basic","description":"Form-based Basic Authentication"}}},"x-explorer-enabled":false,"x-samples-languages":["curl","node","ruby","javascript","python","php","java"],"servers":[{"url":"https://{buzz_key}.api.beeswax.com/rest/v2","variables":{"buzz_key":{"default":"stingersbx","description":"Unique customer ID assigned by the Beeswax"}}}],"x-readme":{"proxy-enabled":true}}