Skip to content

Commit

Permalink
[240118] Automatic update of SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamishan9 committed Jan 18, 2024
1 parent d345221 commit 8a08662
Show file tree
Hide file tree
Showing 486 changed files with 8,807 additions and 3,104 deletions.
2 changes: 0 additions & 2 deletions sdks/marketingsolutions_2023-01/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ criteo_api_marketingsolutions_v2023_01/model/replace_audience_response.py
criteo_api_marketingsolutions_v2023_01/model/request_ad_set_search.py
criteo_api_marketingsolutions_v2023_01/model/requests_ad_set_id.py
criteo_api_marketingsolutions_v2023_01/model/requests_patch_ad_set.py
criteo_api_marketingsolutions_v2023_01/model/response_ad_set_id.py
criteo_api_marketingsolutions_v2023_01/model/response_read_ad_set.py
criteo_api_marketingsolutions_v2023_01/model/responses_ad_set_id.py
criteo_api_marketingsolutions_v2023_01/model/responses_read_ad_set.py
Expand Down Expand Up @@ -221,7 +220,6 @@ docs/ReplaceAudienceResponse.md
docs/RequestAdSetSearch.md
docs/RequestsAdSetId.md
docs/RequestsPatchAdSet.md
docs/ResponseAdSetId.md
docs/ResponseReadAdSet.md
docs/ResponsesAdSetId.md
docs/ResponsesReadAdSet.md
Expand Down
7 changes: 3 additions & 4 deletions sdks/marketingsolutions_2023-01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ More information: [https://developers.criteo.com/](https://developers.criteo.com

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- Package version: 2023.01.0.231113
- Package version: 2023.01.0.240118

## Requirements

Expand All @@ -18,9 +18,9 @@ Python 2.7 and 3.5+
### pip install

```sh
pip install criteo-api-marketingsolutions-sdk==2023.01.0.231113
pip install criteo-api-marketingsolutions-sdk==2023.01.0.240118
```
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.01.0.231113`)
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.01.0.240118`)

Then import the package:
```python
Expand Down Expand Up @@ -149,7 +149,6 @@ Class | Method | HTTP request | Description
- [RequestAdSetSearch](docs/RequestAdSetSearch.md)
- [RequestsAdSetId](docs/RequestsAdSetId.md)
- [RequestsPatchAdSet](docs/RequestsPatchAdSet.md)
- [ResponseAdSetId](docs/ResponseAdSetId.md)
- [ResponseReadAdSet](docs/ResponseReadAdSet.md)
- [ResponsesAdSetId](docs/ResponsesAdSetId.md)
- [ResponsesReadAdSet](docs/ResponsesReadAdSet.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""


__version__ = "2023.01.0.231113"
__version__ = "2023.01.0.240118"

# import ApiClient
from criteo_api_marketingsolutions_v2023_01.api_client import ApiClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from criteo_api_marketingsolutions_v2023_01.model.request_ad_set_search import RequestAdSetSearch
from criteo_api_marketingsolutions_v2023_01.model.requests_ad_set_id import RequestsAdSetId
from criteo_api_marketingsolutions_v2023_01.model.requests_patch_ad_set import RequestsPatchAdSet
from criteo_api_marketingsolutions_v2023_01.model.response_ad_set_id import ResponseAdSetId
from criteo_api_marketingsolutions_v2023_01.model.response_read_ad_set import ResponseReadAdSet
from criteo_api_marketingsolutions_v2023_01.model.responses_ad_set_id import ResponsesAdSetId
from criteo_api_marketingsolutions_v2023_01.model.responses_read_ad_set import ResponsesReadAdSet
Expand Down Expand Up @@ -270,7 +269,7 @@ def __init__(self, api_client=None):
)
self.patch_ad_sets_endpoint = _Endpoint(
settings={
'response_type': (ResponseAdSetId,),
'response_type': (ResponsesAdSetId,),
'auth': [
'oauth',
'oauth'
Expand Down Expand Up @@ -1111,7 +1110,7 @@ def patch_ad_sets(
async_req (bool): execute request asynchronously
Returns:
ResponseAdSetId
ResponsesAdSetId
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/2023.01.0.231113/python'
self.user_agent = 'OpenAPI-Generator/2023.01.0.240118/python'

def __enter__(self):
return self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2023-01\n"\
"SDK Package Version: 2023.01.0.231113".\
"SDK Package Version: 2023.01.0.240118".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

def lazy_import():
from criteo_api_marketingsolutions_v2023_01.model.ad_set_category_bid_resource import AdSetCategoryBidResource
from criteo_api_marketingsolutions_v2023_01.model.problem_details import ProblemDetails
from criteo_api_marketingsolutions_v2023_01.model.common_problem import CommonProblem
globals()['AdSetCategoryBidResource'] = AdSetCategoryBidResource
globals()['ProblemDetails'] = ProblemDetails
globals()['CommonProblem'] = CommonProblem


class AdSetCategoryBidListResponse(ModelNormal):
Expand Down Expand Up @@ -64,12 +64,6 @@ class AdSetCategoryBidListResponse(ModelNormal):
}

validations = {
('data',): {
},
('warnings',): {
},
('errors',): {
},
}

@cached_property
Expand All @@ -96,8 +90,8 @@ def openapi_types():
lazy_import()
return {
'data': ([AdSetCategoryBidResource], none_type,), # noqa: E501
'warnings': ([ProblemDetails], none_type,), # noqa: E501
'errors': ([ProblemDetails], none_type,), # noqa: E501
'warnings': ([CommonProblem], none_type,), # noqa: E501
'errors': ([CommonProblem], none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -155,8 +149,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
warnings ([CommonProblem], none_type): [optional] # noqa: E501
errors ([CommonProblem], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -243,8 +237,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
warnings ([CommonProblem], none_type): [optional] # noqa: E501
errors ([CommonProblem], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ class AdSetDeliveryLimitations(ModelNormal):
}

validations = {
('environments',): {
},
('devices',): {
},
('operating_systems',): {
},
}

@cached_property
Expand Down Expand Up @@ -162,9 +156,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
environments ([str], none_type): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str], none_type): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str], none_type): List of operating systems which the ad set should target. [optional] # noqa: E501
environments ([str], none_type): [optional] # noqa: E501
devices ([str], none_type): [optional] # noqa: E501
operating_systems ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -250,9 +244,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
environments ([str], none_type): List of environments which the ad set should target. [optional] # noqa: E501
devices ([str], none_type): List of devices which the ad set should target. [optional] # noqa: E501
operating_systems ([str], none_type): List of operating systems which the ad set should target. [optional] # noqa: E501
environments ([str], none_type): [optional] # noqa: E501
devices ([str], none_type): [optional] # noqa: E501
operating_systems ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

def lazy_import():
from criteo_api_marketingsolutions_v2023_01.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource
from criteo_api_marketingsolutions_v2023_01.model.problem_details import ProblemDetails
from criteo_api_marketingsolutions_v2023_01.model.common_problem import CommonProblem
globals()['AdSetDisplayMultiplierResource'] = AdSetDisplayMultiplierResource
globals()['ProblemDetails'] = ProblemDetails
globals()['CommonProblem'] = CommonProblem


class AdSetDisplayMultiplierListResponse(ModelNormal):
Expand Down Expand Up @@ -64,12 +64,6 @@ class AdSetDisplayMultiplierListResponse(ModelNormal):
}

validations = {
('data',): {
},
('warnings',): {
},
('errors',): {
},
}

@cached_property
Expand All @@ -96,8 +90,8 @@ def openapi_types():
lazy_import()
return {
'data': ([AdSetDisplayMultiplierResource], none_type,), # noqa: E501
'warnings': ([ProblemDetails], none_type,), # noqa: E501
'errors': ([ProblemDetails], none_type,), # noqa: E501
'warnings': ([CommonProblem], none_type,), # noqa: E501
'errors': ([CommonProblem], none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -155,8 +149,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
warnings ([CommonProblem], none_type): [optional] # noqa: E501
errors ([CommonProblem], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -243,8 +237,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
warnings ([ProblemDetails], none_type): [optional] # noqa: E501
errors ([ProblemDetails], none_type): [optional] # noqa: E501
warnings ([CommonProblem], none_type): [optional] # noqa: E501
errors ([CommonProblem], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
frequency (str, none_type): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int, none_type): Maximum impressions for the specified period. [optional] # noqa: E501
frequency (str, none_type): [optional] # noqa: E501
maximum_impressions (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -230,8 +230,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
frequency (str, none_type): Period on which impression limitation is calculated. [optional] # noqa: E501
maximum_impressions (int, none_type): Maximum impressions for the specified period. [optional] # noqa: E501
frequency (str, none_type): [optional] # noqa: E501
maximum_impressions (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ class AdSetSearchFilter(ModelNormal):
}

validations = {
('ad_set_ids',): {
},
('advertiser_ids',): {
},
('campaign_ids',): {
},
}

@cached_property
Expand Down Expand Up @@ -144,9 +138,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
ad_set_ids ([str], none_type): Ad set ids to filter on. [optional] # noqa: E501
advertiser_ids ([str], none_type): Advertiser ids which ad sets belongs to (indirectly via their marketing campaign). [optional] # noqa: E501
campaign_ids ([str], none_type): Campaign ids to filter on. [optional] # noqa: E501
ad_set_ids ([str], none_type): [optional] # noqa: E501
advertiser_ids ([str], none_type): [optional] # noqa: E501
campaign_ids ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -232,9 +226,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
ad_set_ids ([str], none_type): Ad set ids to filter on. [optional] # noqa: E501
advertiser_ids ([str], none_type): Advertiser ids which ad sets belongs to (indirectly via their marketing campaign). [optional] # noqa: E501
campaign_ids ([str], none_type): Campaign ids to filter on. [optional] # noqa: E501
ad_set_ids ([str], none_type): [optional] # noqa: E501
advertiser_ids ([str], none_type): [optional] # noqa: E501
campaign_ids ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ class AdSetTargetingRule(ModelNormal):
}

validations = {
('values',): {
},
}

@cached_property
Expand Down Expand Up @@ -144,8 +142,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
operand (str, none_type): Operand which states how the values should be applied. [optional] # noqa: E501
values ([str], none_type): List of values to apply. [optional] # noqa: E501
operand (str, none_type): [optional] # noqa: E501
values ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -231,8 +229,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
operand (str, none_type): Operand which states how the values should be applied. [optional] # noqa: E501
values ([str], none_type): List of values to apply. [optional] # noqa: E501
operand (str, none_type): [optional] # noqa: E501
values ([str], none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
name (str, none_type): Name of the campaign. [optional] # noqa: E501
advertiser_id (str, none_type): Advertiser id of the campaign. [optional] # noqa: E501
objective (str, none_type): Campaign's marketing objective. [optional] # noqa: E501
name (str, none_type): [optional] # noqa: E501
advertiser_id (str, none_type): [optional] # noqa: E501
objective (str, none_type): [optional] # noqa: E501
spend_limit (CampaignSpendLimit): [optional] # noqa: E501
goal (str, none_type): Goal of the campaign. [optional] # noqa: E501
goal (str, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -244,11 +244,11 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
name (str, none_type): Name of the campaign. [optional] # noqa: E501
advertiser_id (str, none_type): Advertiser id of the campaign. [optional] # noqa: E501
objective (str, none_type): Campaign's marketing objective. [optional] # noqa: E501
name (str, none_type): [optional] # noqa: E501
advertiser_id (str, none_type): [optional] # noqa: E501
objective (str, none_type): [optional] # noqa: E501
spend_limit (CampaignSpendLimit): [optional] # noqa: E501
goal (str, none_type): Goal of the campaign. [optional] # noqa: E501
goal (str, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Loading

0 comments on commit 8a08662

Please sign in to comment.