criteo-api-retailmedia-sdk 2024.1.0.240808__py3-none-any.whl → 2024.1.0.250129__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2024.1.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-2024.1.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250129.dist-info}/RECORD +45 -49
- {criteo_api_retailmedia_sdk-2024.1.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_01/__init__.py +1 -1
- criteo_api_retailmedia_v2024_01/api/analytics_api.py +3 -3
- criteo_api_retailmedia_v2024_01/api/campaign_api.py +21 -278
- criteo_api_retailmedia_v2024_01/api_client.py +1 -1
- criteo_api_retailmedia_v2024_01/configuration.py +1 -1
- criteo_api_retailmedia_v2024_01/model/async_campaigns_report.py +40 -0
- criteo_api_retailmedia_v2024_01/model/async_line_items_report.py +40 -0
- criteo_api_retailmedia_v2024_01/model/async_revenue_report.py +29 -2
- criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2024_01/model/campaign_v202301.py +4 -0
- criteo_api_retailmedia_v2024_01/model/choice_option.py +1 -8
- criteo_api_retailmedia_v2024_01/model/choice_variable_specification.py +1 -8
- criteo_api_retailmedia_v2024_01/model/choice_variable_value.py +1 -7
- criteo_api_retailmedia_v2024_01/model/color_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_01/model/creative202110.py +7 -13
- criteo_api_retailmedia_v2024_01/model/creative202110_list_response.py +13 -20
- criteo_api_retailmedia_v2024_01/model/creative202210.py +12 -19
- criteo_api_retailmedia_v2024_01/model/creative202210_list_response.py +13 -20
- criteo_api_retailmedia_v2024_01/model/creative202210_response.py +10 -17
- criteo_api_retailmedia_v2024_01/model/creative_create_model202207.py +4 -11
- criteo_api_retailmedia_v2024_01/model/creative_update_model202207.py +4 -11
- criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2024_01/model/external_account.py +4 -0
- criteo_api_retailmedia_v2024_01/model/files_variable_value.py +2 -7
- criteo_api_retailmedia_v2024_01/model/files_variables_specification.py +7 -15
- criteo_api_retailmedia_v2024_01/model/hyperlink_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_01/model/{page_type_environment.py → page_type_environment202210.py} +12 -16
- criteo_api_retailmedia_v2024_01/model/resource_of_creative202110.py +6 -13
- criteo_api_retailmedia_v2024_01/model/resource_of_creative202210.py +2 -9
- criteo_api_retailmedia_v2024_01/model/resource_of_template.py +2 -9
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/section.py +12 -17
- criteo_api_retailmedia_v2024_01/model/template.py +13 -24
- criteo_api_retailmedia_v2024_01/model/template_list_response.py +13 -20
- criteo_api_retailmedia_v2024_01/model/template_response.py +10 -17
- criteo_api_retailmedia_v2024_01/model/template_variable.py +1 -8
- criteo_api_retailmedia_v2024_01/model/template_variable_value.py +7 -8
- criteo_api_retailmedia_v2024_01/model/text_variable_specification.py +2 -8
- criteo_api_retailmedia_v2024_01/model/text_variable_value.py +7 -19
- criteo_api_retailmedia_v2024_01/model/{proposal_status_model_resource.py → video_variable_value.py} +39 -22
- criteo_api_retailmedia_v2024_01/models/__init__.py +2 -6
- criteo_api_retailmedia_v2024_01/model/approval_status_model.py +0 -292
- criteo_api_retailmedia_v2024_01/model/negotiation_state_model.py +0 -293
- criteo_api_retailmedia_v2024_01/model/proposal_status_model.py +0 -284
- criteo_api_retailmedia_v2024_01/model/proposal_status_model_response.py +0 -274
- {criteo_api_retailmedia_sdk-2024.1.0.240808.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -64,7 +64,6 @@ from criteo_api_retailmedia_v2024_01.model.preferred_line_item_create_model20211
|
|
|
64
64
|
from criteo_api_retailmedia_v2024_01.model.preferred_line_item_update_model202110_request import PreferredLineItemUpdateModel202110Request
|
|
65
65
|
from criteo_api_retailmedia_v2024_01.model.promoted_product202110_list_request import PromotedProduct202110ListRequest
|
|
66
66
|
from criteo_api_retailmedia_v2024_01.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse
|
|
67
|
-
from criteo_api_retailmedia_v2024_01.model.proposal_status_model_response import ProposalStatusModelResponse
|
|
68
67
|
from criteo_api_retailmedia_v2024_01.model.put_campaign_v202301 import PutCampaignV202301
|
|
69
68
|
from criteo_api_retailmedia_v2024_01.model.resource_outcome import ResourceOutcome
|
|
70
69
|
from criteo_api_retailmedia_v2024_01.model.set_bids_model_request import SetBidsModelRequest
|
|
@@ -256,58 +255,6 @@ class CampaignApi(object):
|
|
|
256
255
|
},
|
|
257
256
|
api_client=api_client
|
|
258
257
|
)
|
|
259
|
-
self.fetch_proposal_endpoint = _Endpoint(
|
|
260
|
-
settings={
|
|
261
|
-
'response_type': (ProposalStatusModelResponse,),
|
|
262
|
-
'auth': [
|
|
263
|
-
'oauth',
|
|
264
|
-
'oauth'
|
|
265
|
-
],
|
|
266
|
-
'endpoint_path': '/2024-01/retail-media/preferred-deal-line-items/{id}/proposal',
|
|
267
|
-
'operation_id': 'fetch_proposal',
|
|
268
|
-
'http_method': 'GET',
|
|
269
|
-
'servers': None,
|
|
270
|
-
},
|
|
271
|
-
params_map={
|
|
272
|
-
'all': [
|
|
273
|
-
'id',
|
|
274
|
-
],
|
|
275
|
-
'required': [
|
|
276
|
-
'id',
|
|
277
|
-
],
|
|
278
|
-
'nullable': [
|
|
279
|
-
],
|
|
280
|
-
'enum': [
|
|
281
|
-
],
|
|
282
|
-
'validation': [
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
root_map={
|
|
286
|
-
'validations': {
|
|
287
|
-
},
|
|
288
|
-
'allowed_values': {
|
|
289
|
-
},
|
|
290
|
-
'openapi_types': {
|
|
291
|
-
'id':
|
|
292
|
-
(str,),
|
|
293
|
-
},
|
|
294
|
-
'attribute_map': {
|
|
295
|
-
'id': 'id',
|
|
296
|
-
},
|
|
297
|
-
'location_map': {
|
|
298
|
-
'id': 'path',
|
|
299
|
-
},
|
|
300
|
-
'collection_format_map': {
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
headers_map={
|
|
304
|
-
'accept': [
|
|
305
|
-
'application/json'
|
|
306
|
-
],
|
|
307
|
-
'content_type': [],
|
|
308
|
-
},
|
|
309
|
-
api_client=api_client
|
|
310
|
-
)
|
|
311
258
|
self.get_api202110_external_account_creatives_by_account_id_endpoint = _Endpoint(
|
|
312
259
|
settings={
|
|
313
260
|
'response_type': (Creative202110ListResponse,),
|
|
@@ -354,7 +301,9 @@ class CampaignApi(object):
|
|
|
354
301
|
},
|
|
355
302
|
headers_map={
|
|
356
303
|
'accept': [
|
|
357
|
-
'
|
|
304
|
+
'text/plain',
|
|
305
|
+
'application/json',
|
|
306
|
+
'text/json'
|
|
358
307
|
],
|
|
359
308
|
'content_type': [],
|
|
360
309
|
},
|
|
@@ -989,7 +938,9 @@ class CampaignApi(object):
|
|
|
989
938
|
},
|
|
990
939
|
headers_map={
|
|
991
940
|
'accept': [
|
|
992
|
-
'
|
|
941
|
+
'text/plain',
|
|
942
|
+
'application/json',
|
|
943
|
+
'text/json'
|
|
993
944
|
],
|
|
994
945
|
'content_type': [],
|
|
995
946
|
},
|
|
@@ -1041,7 +992,9 @@ class CampaignApi(object):
|
|
|
1041
992
|
},
|
|
1042
993
|
headers_map={
|
|
1043
994
|
'accept': [
|
|
1044
|
-
'
|
|
995
|
+
'text/plain',
|
|
996
|
+
'application/json',
|
|
997
|
+
'text/json'
|
|
1045
998
|
],
|
|
1046
999
|
'content_type': [],
|
|
1047
1000
|
},
|
|
@@ -1099,7 +1052,9 @@ class CampaignApi(object):
|
|
|
1099
1052
|
},
|
|
1100
1053
|
headers_map={
|
|
1101
1054
|
'accept': [
|
|
1102
|
-
'
|
|
1055
|
+
'text/plain',
|
|
1056
|
+
'application/json',
|
|
1057
|
+
'text/json'
|
|
1103
1058
|
],
|
|
1104
1059
|
'content_type': [],
|
|
1105
1060
|
},
|
|
@@ -2802,7 +2757,9 @@ class CampaignApi(object):
|
|
|
2802
2757
|
},
|
|
2803
2758
|
headers_map={
|
|
2804
2759
|
'accept': [
|
|
2805
|
-
'
|
|
2760
|
+
'text/plain',
|
|
2761
|
+
'application/json',
|
|
2762
|
+
'text/json'
|
|
2806
2763
|
],
|
|
2807
2764
|
'content_type': [
|
|
2808
2765
|
'application/json'
|
|
@@ -2862,7 +2819,9 @@ class CampaignApi(object):
|
|
|
2862
2819
|
},
|
|
2863
2820
|
headers_map={
|
|
2864
2821
|
'accept': [
|
|
2865
|
-
'
|
|
2822
|
+
'text/plain',
|
|
2823
|
+
'application/json',
|
|
2824
|
+
'text/json'
|
|
2866
2825
|
],
|
|
2867
2826
|
'content_type': [],
|
|
2868
2827
|
},
|
|
@@ -3330,7 +3289,9 @@ class CampaignApi(object):
|
|
|
3330
3289
|
},
|
|
3331
3290
|
headers_map={
|
|
3332
3291
|
'accept': [
|
|
3333
|
-
'
|
|
3292
|
+
'text/plain',
|
|
3293
|
+
'application/json',
|
|
3294
|
+
'text/json'
|
|
3334
3295
|
],
|
|
3335
3296
|
'content_type': [
|
|
3336
3297
|
'application/json'
|
|
@@ -3572,58 +3533,6 @@ class CampaignApi(object):
|
|
|
3572
3533
|
},
|
|
3573
3534
|
api_client=api_client
|
|
3574
3535
|
)
|
|
3575
|
-
self.submit_proposal_endpoint = _Endpoint(
|
|
3576
|
-
settings={
|
|
3577
|
-
'response_type': (ProposalStatusModelResponse,),
|
|
3578
|
-
'auth': [
|
|
3579
|
-
'oauth',
|
|
3580
|
-
'oauth'
|
|
3581
|
-
],
|
|
3582
|
-
'endpoint_path': '/2024-01/retail-media/preferred-deal-line-items/{id}/proposal/submit',
|
|
3583
|
-
'operation_id': 'submit_proposal',
|
|
3584
|
-
'http_method': 'POST',
|
|
3585
|
-
'servers': None,
|
|
3586
|
-
},
|
|
3587
|
-
params_map={
|
|
3588
|
-
'all': [
|
|
3589
|
-
'id',
|
|
3590
|
-
],
|
|
3591
|
-
'required': [
|
|
3592
|
-
'id',
|
|
3593
|
-
],
|
|
3594
|
-
'nullable': [
|
|
3595
|
-
],
|
|
3596
|
-
'enum': [
|
|
3597
|
-
],
|
|
3598
|
-
'validation': [
|
|
3599
|
-
]
|
|
3600
|
-
},
|
|
3601
|
-
root_map={
|
|
3602
|
-
'validations': {
|
|
3603
|
-
},
|
|
3604
|
-
'allowed_values': {
|
|
3605
|
-
},
|
|
3606
|
-
'openapi_types': {
|
|
3607
|
-
'id':
|
|
3608
|
-
(str,),
|
|
3609
|
-
},
|
|
3610
|
-
'attribute_map': {
|
|
3611
|
-
'id': 'id',
|
|
3612
|
-
},
|
|
3613
|
-
'location_map': {
|
|
3614
|
-
'id': 'path',
|
|
3615
|
-
},
|
|
3616
|
-
'collection_format_map': {
|
|
3617
|
-
}
|
|
3618
|
-
},
|
|
3619
|
-
headers_map={
|
|
3620
|
-
'accept': [
|
|
3621
|
-
'application/json'
|
|
3622
|
-
],
|
|
3623
|
-
'content_type': [],
|
|
3624
|
-
},
|
|
3625
|
-
api_client=api_client
|
|
3626
|
-
)
|
|
3627
3536
|
self.update_campaign_budget_overrides_endpoint = _Endpoint(
|
|
3628
3537
|
settings={
|
|
3629
3538
|
'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
|
|
@@ -3997,89 +3906,6 @@ class CampaignApi(object):
|
|
|
3997
3906
|
id
|
|
3998
3907
|
return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
|
|
3999
3908
|
|
|
4000
|
-
def fetch_proposal(
|
|
4001
|
-
self,
|
|
4002
|
-
id,
|
|
4003
|
-
**kwargs
|
|
4004
|
-
):
|
|
4005
|
-
"""fetch_proposal # noqa: E501
|
|
4006
|
-
|
|
4007
|
-
Includes the state of the proposal, the status of the booking and approval, as well as any comments explaining why it might have been rejected. # noqa: E501
|
|
4008
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4009
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4010
|
-
|
|
4011
|
-
>>> thread = api.fetch_proposal(id, async_req=True)
|
|
4012
|
-
>>> result = thread.get()
|
|
4013
|
-
|
|
4014
|
-
Args:
|
|
4015
|
-
id (str): ID of the line item
|
|
4016
|
-
|
|
4017
|
-
Keyword Args:
|
|
4018
|
-
_return_http_data_only (bool): response data without head status
|
|
4019
|
-
code and headers. Default is True.
|
|
4020
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4021
|
-
will be returned without reading/decoding response data.
|
|
4022
|
-
Default is True.
|
|
4023
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4024
|
-
one number provided, it will be total request timeout. It can also
|
|
4025
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4026
|
-
Default is None.
|
|
4027
|
-
_check_input_type (bool): specifies if type checking
|
|
4028
|
-
should be done one the data sent to the server.
|
|
4029
|
-
Default is True.
|
|
4030
|
-
_check_return_type (bool): specifies if type checking
|
|
4031
|
-
should be done one the data received from the server.
|
|
4032
|
-
Default is True.
|
|
4033
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4034
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4035
|
-
False if the variable names in the input data
|
|
4036
|
-
are pythonic names, e.g. snake case (default)
|
|
4037
|
-
_content_type (str/None): force body content-type.
|
|
4038
|
-
Default is None and content-type will be predicted by allowed
|
|
4039
|
-
content-types and body.
|
|
4040
|
-
_host_index (int/None): specifies the index of the server
|
|
4041
|
-
that we want to use.
|
|
4042
|
-
Default is read from the configuration.
|
|
4043
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4044
|
-
request; this effectively ignores the authentication
|
|
4045
|
-
in the spec for a single request.
|
|
4046
|
-
Default is None
|
|
4047
|
-
async_req (bool): execute request asynchronously
|
|
4048
|
-
|
|
4049
|
-
Returns:
|
|
4050
|
-
ProposalStatusModelResponse
|
|
4051
|
-
If the method is called asynchronously, returns the request
|
|
4052
|
-
thread.
|
|
4053
|
-
"""
|
|
4054
|
-
kwargs['async_req'] = kwargs.get(
|
|
4055
|
-
'async_req', False
|
|
4056
|
-
)
|
|
4057
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4058
|
-
'_return_http_data_only', True
|
|
4059
|
-
)
|
|
4060
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4061
|
-
'_preload_content', True
|
|
4062
|
-
)
|
|
4063
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4064
|
-
'_request_timeout', None
|
|
4065
|
-
)
|
|
4066
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4067
|
-
'_check_input_type', True
|
|
4068
|
-
)
|
|
4069
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4070
|
-
'_check_return_type', True
|
|
4071
|
-
)
|
|
4072
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4073
|
-
'_spec_property_naming', False
|
|
4074
|
-
)
|
|
4075
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4076
|
-
'_content_type')
|
|
4077
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4078
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4079
|
-
kwargs['id'] = \
|
|
4080
|
-
id
|
|
4081
|
-
return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
|
|
4082
|
-
|
|
4083
3909
|
def get_api202110_external_account_creatives_by_account_id(
|
|
4084
3910
|
self,
|
|
4085
3911
|
account_id,
|
|
@@ -8791,89 +8617,6 @@ class CampaignApi(object):
|
|
|
8791
8617
|
id
|
|
8792
8618
|
return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
|
|
8793
8619
|
|
|
8794
|
-
def submit_proposal(
|
|
8795
|
-
self,
|
|
8796
|
-
id,
|
|
8797
|
-
**kwargs
|
|
8798
|
-
):
|
|
8799
|
-
"""submit_proposal # noqa: E501
|
|
8800
|
-
|
|
8801
|
-
Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501
|
|
8802
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
8803
|
-
asynchronous HTTP request, please pass async_req=True
|
|
8804
|
-
|
|
8805
|
-
>>> thread = api.submit_proposal(id, async_req=True)
|
|
8806
|
-
>>> result = thread.get()
|
|
8807
|
-
|
|
8808
|
-
Args:
|
|
8809
|
-
id (str): ID of the line item
|
|
8810
|
-
|
|
8811
|
-
Keyword Args:
|
|
8812
|
-
_return_http_data_only (bool): response data without head status
|
|
8813
|
-
code and headers. Default is True.
|
|
8814
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
8815
|
-
will be returned without reading/decoding response data.
|
|
8816
|
-
Default is True.
|
|
8817
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
8818
|
-
one number provided, it will be total request timeout. It can also
|
|
8819
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
8820
|
-
Default is None.
|
|
8821
|
-
_check_input_type (bool): specifies if type checking
|
|
8822
|
-
should be done one the data sent to the server.
|
|
8823
|
-
Default is True.
|
|
8824
|
-
_check_return_type (bool): specifies if type checking
|
|
8825
|
-
should be done one the data received from the server.
|
|
8826
|
-
Default is True.
|
|
8827
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
8828
|
-
are serialized names, as specified in the OpenAPI document.
|
|
8829
|
-
False if the variable names in the input data
|
|
8830
|
-
are pythonic names, e.g. snake case (default)
|
|
8831
|
-
_content_type (str/None): force body content-type.
|
|
8832
|
-
Default is None and content-type will be predicted by allowed
|
|
8833
|
-
content-types and body.
|
|
8834
|
-
_host_index (int/None): specifies the index of the server
|
|
8835
|
-
that we want to use.
|
|
8836
|
-
Default is read from the configuration.
|
|
8837
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
8838
|
-
request; this effectively ignores the authentication
|
|
8839
|
-
in the spec for a single request.
|
|
8840
|
-
Default is None
|
|
8841
|
-
async_req (bool): execute request asynchronously
|
|
8842
|
-
|
|
8843
|
-
Returns:
|
|
8844
|
-
ProposalStatusModelResponse
|
|
8845
|
-
If the method is called asynchronously, returns the request
|
|
8846
|
-
thread.
|
|
8847
|
-
"""
|
|
8848
|
-
kwargs['async_req'] = kwargs.get(
|
|
8849
|
-
'async_req', False
|
|
8850
|
-
)
|
|
8851
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
8852
|
-
'_return_http_data_only', True
|
|
8853
|
-
)
|
|
8854
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
8855
|
-
'_preload_content', True
|
|
8856
|
-
)
|
|
8857
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
8858
|
-
'_request_timeout', None
|
|
8859
|
-
)
|
|
8860
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
8861
|
-
'_check_input_type', True
|
|
8862
|
-
)
|
|
8863
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
8864
|
-
'_check_return_type', True
|
|
8865
|
-
)
|
|
8866
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
8867
|
-
'_spec_property_naming', False
|
|
8868
|
-
)
|
|
8869
|
-
kwargs['_content_type'] = kwargs.get(
|
|
8870
|
-
'_content_type')
|
|
8871
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
8872
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
8873
|
-
kwargs['id'] = \
|
|
8874
|
-
id
|
|
8875
|
-
return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
|
|
8876
|
-
|
|
8877
8620
|
def update_campaign_budget_overrides(
|
|
8878
8621
|
self,
|
|
8879
8622
|
campaign_id,
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2024.01.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2024.01.0.250129/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: 2024-01\n"\
|
|
398
|
-
"SDK Package Version: 2024.01.0.
|
|
398
|
+
"SDK Package Version: 2024.01.0.250129".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -55,6 +55,18 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('search_term_types',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'UNKNOWN': "unknown",
|
|
61
|
+
'SEARCHED': "searched",
|
|
62
|
+
'ENTERED': "entered",
|
|
63
|
+
},
|
|
64
|
+
('search_term_targetings',): {
|
|
65
|
+
'None': None,
|
|
66
|
+
'UNKNOWN': "unknown",
|
|
67
|
+
'AUTOMATIC': "automatic",
|
|
68
|
+
'MANUAL': "manual",
|
|
69
|
+
},
|
|
58
70
|
('campaign_type',): {
|
|
59
71
|
'None': None,
|
|
60
72
|
'ALL': "all",
|
|
@@ -84,6 +96,7 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
84
96
|
'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
|
|
85
97
|
'ENVIRONMENT': "environment",
|
|
86
98
|
'SERVEDCATEGORY': "servedCategory",
|
|
99
|
+
'CAPOUT': "capout",
|
|
87
100
|
},
|
|
88
101
|
('click_attribution_window',): {
|
|
89
102
|
'None': None,
|
|
@@ -122,9 +135,18 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
122
135
|
'ENVIRONMENT': "environment",
|
|
123
136
|
'PAGETYPENAME': "pageTypeName",
|
|
124
137
|
'PAGECATEGORY': "pageCategory",
|
|
138
|
+
'SERVEDCATEGORY': "servedCategory",
|
|
125
139
|
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
126
140
|
'KEYWORD': "keyword",
|
|
127
141
|
'SEARCHTERM': "searchTerm",
|
|
142
|
+
'SEARCHTERMTYPE': "searchTermType",
|
|
143
|
+
'SEARCHTERMTARGETING': "searchTermTargeting",
|
|
144
|
+
'CREATIVEID': "creativeId",
|
|
145
|
+
'CREATIVENAME': "creativeName",
|
|
146
|
+
'CREATIVETYPEID': "creativeTypeId",
|
|
147
|
+
'CREATIVETYPENAME': "creativeTypeName",
|
|
148
|
+
'CREATIVETEMPLATEID': "creativeTemplateId",
|
|
149
|
+
'CREATIVETEMPLATENAME': "creativeTemplateName",
|
|
128
150
|
},
|
|
129
151
|
('metrics',): {
|
|
130
152
|
'None': None,
|
|
@@ -149,6 +171,16 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
149
171
|
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
150
172
|
'VIDEOPLAYINGRATE': "videoPlayingRate",
|
|
151
173
|
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
174
|
+
'VIDEOIMPRESSIONS': "videoImpressions",
|
|
175
|
+
'VIDEOMUTED': "videoMuted",
|
|
176
|
+
'VIDEOUNMUTED': "videoUnmuted",
|
|
177
|
+
'VIDEOPAUSED': "videoPaused",
|
|
178
|
+
'VIDEORESUMED': "videoResumed",
|
|
179
|
+
'VIDEOAVGINTERACTIONRATE': "videoAvgInteractionRate",
|
|
180
|
+
'VIDEOVIEWABILITY': "videoViewability",
|
|
181
|
+
'VIDEOSTARTINGRATE': "videoStartingRate",
|
|
182
|
+
'VIDEOCPC': "videoCPC",
|
|
183
|
+
'VIDEOCPCV': "videoCPCV",
|
|
152
184
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
153
185
|
'FREQUENCY': "frequency",
|
|
154
186
|
},
|
|
@@ -182,6 +214,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
182
214
|
'end_date': (datetime,), # noqa: E501
|
|
183
215
|
'ids': ([str], none_type,), # noqa: E501
|
|
184
216
|
'id': (str, none_type,), # noqa: E501
|
|
217
|
+
'search_term_types': ([str], none_type,), # noqa: E501
|
|
218
|
+
'search_term_targetings': ([str], none_type,), # noqa: E501
|
|
185
219
|
'campaign_type': (str, none_type,), # noqa: E501
|
|
186
220
|
'sales_channel': (str, none_type,), # noqa: E501
|
|
187
221
|
'format': (str, none_type,), # noqa: E501
|
|
@@ -203,6 +237,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
203
237
|
'end_date': 'endDate', # noqa: E501
|
|
204
238
|
'ids': 'ids', # noqa: E501
|
|
205
239
|
'id': 'id', # noqa: E501
|
|
240
|
+
'search_term_types': 'searchTermTypes', # noqa: E501
|
|
241
|
+
'search_term_targetings': 'searchTermTargetings', # noqa: E501
|
|
206
242
|
'campaign_type': 'campaignType', # noqa: E501
|
|
207
243
|
'sales_channel': 'salesChannel', # noqa: E501
|
|
208
244
|
'format': 'format', # noqa: E501
|
|
@@ -261,6 +297,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
261
297
|
_visited_composed_classes = (Animal,)
|
|
262
298
|
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
263
299
|
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
300
|
+
search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
|
|
301
|
+
search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
|
|
264
302
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
265
303
|
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
266
304
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
@@ -363,6 +401,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
363
401
|
_visited_composed_classes = (Animal,)
|
|
364
402
|
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
365
403
|
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
404
|
+
search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
|
|
405
|
+
search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
|
|
366
406
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
367
407
|
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
368
408
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
@@ -55,6 +55,18 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('search_term_types',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'UNKNOWN': "unknown",
|
|
61
|
+
'SEARCHED': "searched",
|
|
62
|
+
'ENTERED': "entered",
|
|
63
|
+
},
|
|
64
|
+
('search_term_targetings',): {
|
|
65
|
+
'None': None,
|
|
66
|
+
'UNKNOWN': "unknown",
|
|
67
|
+
'AUTOMATIC': "automatic",
|
|
68
|
+
'MANUAL': "manual",
|
|
69
|
+
},
|
|
58
70
|
('campaign_type',): {
|
|
59
71
|
'None': None,
|
|
60
72
|
'ALL': "all",
|
|
@@ -84,6 +96,7 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
84
96
|
'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
|
|
85
97
|
'ENVIRONMENT': "environment",
|
|
86
98
|
'SERVEDCATEGORY': "servedCategory",
|
|
99
|
+
'CAPOUT': "capout",
|
|
87
100
|
},
|
|
88
101
|
('click_attribution_window',): {
|
|
89
102
|
'None': None,
|
|
@@ -122,9 +135,18 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
122
135
|
'ENVIRONMENT': "environment",
|
|
123
136
|
'PAGETYPENAME': "pageTypeName",
|
|
124
137
|
'PAGECATEGORY': "pageCategory",
|
|
138
|
+
'SERVEDCATEGORY': "servedCategory",
|
|
125
139
|
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
126
140
|
'KEYWORD': "keyword",
|
|
127
141
|
'SEARCHTERM': "searchTerm",
|
|
142
|
+
'SEARCHTERMTYPE': "searchTermType",
|
|
143
|
+
'SEARCHTERMTARGETING': "searchTermTargeting",
|
|
144
|
+
'CREATIVEID': "creativeId",
|
|
145
|
+
'CREATIVENAME': "creativeName",
|
|
146
|
+
'CREATIVETYPEID': "creativeTypeId",
|
|
147
|
+
'CREATIVETYPENAME': "creativeTypeName",
|
|
148
|
+
'CREATIVETEMPLATEID': "creativeTemplateId",
|
|
149
|
+
'CREATIVETEMPLATENAME': "creativeTemplateName",
|
|
128
150
|
},
|
|
129
151
|
('metrics',): {
|
|
130
152
|
'None': None,
|
|
@@ -149,6 +171,16 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
149
171
|
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
150
172
|
'VIDEOPLAYINGRATE': "videoPlayingRate",
|
|
151
173
|
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
174
|
+
'VIDEOIMPRESSIONS': "videoImpressions",
|
|
175
|
+
'VIDEOMUTED': "videoMuted",
|
|
176
|
+
'VIDEOUNMUTED': "videoUnmuted",
|
|
177
|
+
'VIDEOPAUSED': "videoPaused",
|
|
178
|
+
'VIDEORESUMED': "videoResumed",
|
|
179
|
+
'VIDEOAVGINTERACTIONRATE': "videoAvgInteractionRate",
|
|
180
|
+
'VIDEOVIEWABILITY': "videoViewability",
|
|
181
|
+
'VIDEOSTARTINGRATE': "videoStartingRate",
|
|
182
|
+
'VIDEOCPC': "videoCPC",
|
|
183
|
+
'VIDEOCPCV': "videoCPCV",
|
|
152
184
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
153
185
|
'FREQUENCY': "frequency",
|
|
154
186
|
},
|
|
@@ -182,6 +214,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
182
214
|
'end_date': (datetime,), # noqa: E501
|
|
183
215
|
'ids': ([str], none_type,), # noqa: E501
|
|
184
216
|
'id': (str, none_type,), # noqa: E501
|
|
217
|
+
'search_term_types': ([str], none_type,), # noqa: E501
|
|
218
|
+
'search_term_targetings': ([str], none_type,), # noqa: E501
|
|
185
219
|
'campaign_type': (str, none_type,), # noqa: E501
|
|
186
220
|
'sales_channel': (str, none_type,), # noqa: E501
|
|
187
221
|
'format': (str, none_type,), # noqa: E501
|
|
@@ -203,6 +237,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
203
237
|
'end_date': 'endDate', # noqa: E501
|
|
204
238
|
'ids': 'ids', # noqa: E501
|
|
205
239
|
'id': 'id', # noqa: E501
|
|
240
|
+
'search_term_types': 'searchTermTypes', # noqa: E501
|
|
241
|
+
'search_term_targetings': 'searchTermTargetings', # noqa: E501
|
|
206
242
|
'campaign_type': 'campaignType', # noqa: E501
|
|
207
243
|
'sales_channel': 'salesChannel', # noqa: E501
|
|
208
244
|
'format': 'format', # noqa: E501
|
|
@@ -261,6 +297,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
261
297
|
_visited_composed_classes = (Animal,)
|
|
262
298
|
ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
|
|
263
299
|
id (str, none_type): Line Item id to report on. [optional] # noqa: E501
|
|
300
|
+
search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
|
|
301
|
+
search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
|
|
264
302
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
265
303
|
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
266
304
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
@@ -363,6 +401,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
363
401
|
_visited_composed_classes = (Animal,)
|
|
364
402
|
ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
|
|
365
403
|
id (str, none_type): Line Item id to report on. [optional] # noqa: E501
|
|
404
|
+
search_term_types ([str], none_type): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
|
|
405
|
+
search_term_targetings ([str], none_type): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
|
|
366
406
|
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
367
407
|
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
368
408
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|