├── test ├── __init__.py ├── test_bid.py ├── test_error.py ├── test_state.py ├── test_report.py ├── test_match_type.py ├── test_campaign_tags.py ├── test_inline_object.py ├── test_suggested_bid.py ├── test_brand_response.py ├── test_inline_object2.py ├── test_expression_type.py ├── test_ad_group_response.py ├── test_keyword_response.py ├── test_snapshot_request.py ├── test_campaign_response.py ├── test_category_response.py ├── test_snapshot_response.py ├── test_negative_match_type.py ├── test_product_ad_response.py ├── test_bidding_adjustments.py ├── test_inline_response2001.py ├── test_inline_response2002.py ├── test_ad_group.py ├── test_product_ad.py ├── test_ad_group_ex.py ├── test_negative_keyword_response.py ├── test_targeting_clause_response.py ├── test_refinements_response_brands.py ├── test_bid_recommendations_response.py ├── test_bidding.py ├── test_create_ad_group.py ├── test_update_ad_group.py ├── test_update_keyword.py ├── test_create_product_ad.py ├── test_targeting_expression_predicate.py ├── test_update_product_ad.py ├── test_update_campaign_negative_keyword.py ├── test_targeting_expression_expressions.py ├── test_campaign_negative_keyword_response.py ├── test_negative_targeting_clause_response.py ├── test_product_ad_ex_serving_status_details.py ├── test_ad_group_suggested_keywords_response.py ├── test_update_negative_keyword.py ├── test_keyword.py ├── test_bulk_get_asin_suggested_keywords_response.py ├── test_keyword_ex.py ├── test_inline_object1.py ├── test_create_keyword.py ├── test_snapshots_api.py ├── test_campaign_negative_keyword.py ├── test_refinements_response.py ├── test_inline_response200.py ├── test_bid_recommendation_request.py ├── test_campaign_negative_keyword_ex.py ├── test_targeting_expression.py ├── test_negative_keyword.py ├── test_create_campaign_negative_keyword.py ├── test_negative_keyword_ex.py ├── test_ad_group_suggested_keywords_response_ex.py ├── test_keyword_bid_recommendations_response.py ├── test_product_recommendations_response_recommended_products.py ├── test_ad_group_bid_recommendations_response.py ├── test_product_ad_ex.py ├── test_campaign.py ├── test_keyword_bid_recommendations_data_keywords.py ├── test_campaign_ex.py ├── test_create_negative_keyword.py ├── test_create_campaign.py ├── test_update_campaign.py ├── test_keyword_bid_recommendations_data.py ├── test_reports_api.py ├── test_get_asin_suggested_keywords_response_suggested_keywords.py ├── test_product_recommendations_response.py ├── test_get_asin_suggested_keywords_response.py ├── test_bid_recommendations_for_targets_response.py ├── test_inline_response200_recommendations.py ├── test_negative_targeting_clause.py ├── test_negative_targeting_clause_ex.py ├── test_targeting_clause.py ├── test_targeting_clause_ex.py ├── test_create_negative_targeting_clause.py ├── test_update_negative_targeting_clause.py ├── test_bid_recommendations_for_targets_response_recommendations.py └── test_create_targeting_clause.py ├── .openapi-generator └── VERSION ├── test-requirements.txt ├── setup.cfg ├── requirements.txt ├── config.json ├── tox.ini ├── amazon_ads_sponsored_products_client ├── api │ └── __init__.py ├── model │ └── __init__.py ├── __init__.py └── apis │ └── __init__.py ├── .travis.yml ├── docs ├── ExpressionType.md ├── State.md ├── BulkGetAsinSuggestedKeywordsResponse.md ├── SnapshotRequest.md ├── CampaignTags.md ├── BrandResponse.md ├── UpdateProductAd.md ├── TargetingExpressionExpressions.md ├── UpdateNegativeKeyword.md ├── Error.md ├── ProductRecommendationsResponseRecommendedProducts.md ├── KeywordBidRecommendationsDataKeywords.md ├── MatchType.md ├── AdGroupBidRecommendationsResponse.md ├── TargetingExpression.md ├── AdGroupSuggestedKeywordsResponse.md ├── InlineObject1.md ├── NegativeMatchType.md ├── RefinementsResponse.md ├── GetAsinSuggestedKeywordsResponseSuggestedKeywords.md ├── InlineObject.md ├── SnapshotResponse.md ├── BidRecommendationsForTargetsResponseRecommendations.md ├── InlineObject2.md ├── UpdateKeyword.md ├── CampaignResponse.md ├── UpdateCampaignNegativeKeyword.md ├── InlineResponse200.md ├── RefinementsResponseBrands.md ├── BidRecommendationRequest.md ├── InlineResponse200Recommendations.md ├── SuggestedBid.md ├── BidRecommendationsResponse.md ├── ProductRecommendationsResponse.md ├── KeywordBidRecommendationsData.md ├── GetAsinSuggestedKeywordsResponse.md ├── InlineResponse2002.md ├── ProductAdResponse.md ├── UpdateAdGroup.md ├── KeywordBidRecommendationsResponse.md ├── KeywordResponse.md ├── AdGroupResponse.md ├── CreateAdGroup.md ├── NegativeKeywordResponse.md ├── BidRecommendationsForTargetsResponse.md ├── UpdateNegativeTargetingClause.md ├── CategoryResponse.md ├── TargetingClauseResponse.md ├── CampaignNegativeKeywordResponse.md ├── NegativeTargetingClauseResponse.md ├── CreateProductAd.md ├── AdGroup.md ├── ProductAd.md ├── CreateCampaignNegativeKeyword.md ├── CreateNegativeKeyword.md ├── InlineResponse2001.md ├── CreateNegativeTargetingClause.md ├── UpdateTargetingClause.md ├── CampaignNegativeKeyword.md ├── NegativeKeyword.md ├── AdGroupSuggestedKeywordsResponseEx.md ├── BiddingAdjustments.md ├── ProductAdExServingStatusDetails.md ├── CreateTargetingClause.md ├── Keyword.md ├── NegativeTargetingClause.md ├── TargetingClause.md ├── AdGroupEx.md ├── Bidding.md ├── NegativeKeywordEx.md ├── CampaignNegativeKeywordEx.md ├── CreateKeyword.md ├── Bid.md ├── UpdateCampaign.md ├── ProductAdEx.md ├── CreateCampaign.md ├── TargetingClauseEx.md ├── Campaign.md └── NegativeTargetingClauseEx.md ├── .gitlab-ci.yml ├── .gitignore ├── .openapi-generator-ignore └── LICENSE /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 5.3.1 -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-cov>=2.8.1 2 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length=99 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | python_dateutil >= 2.5.3 2 | setuptools >= 21.0.0 3 | urllib3 >= 1.25.3 4 | -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "packageName": "amazon_ads_sponsored_products_client", 3 | "packageVersion": "0.0.3", 4 | "projectName": "amazon-ads-sponsored-products-client" 5 | } 6 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py3 3 | 4 | [testenv] 5 | deps=-r{toxinidir}/requirements.txt 6 | -r{toxinidir}/test-requirements.txt 7 | 8 | commands= 9 | pytest --cov=amazon_ads_sponsored_products_client 10 | -------------------------------------------------------------------------------- /amazon_ads_sponsored_products_client/api/__init__.py: -------------------------------------------------------------------------------- 1 | # do not import all apis into this module because that uses a lot of memory and stack frames 2 | # if you need the ability to import all apis from one package, import them with 3 | # from amazon_ads_sponsored_products_client.apis import AdGroupsApi 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.travis-ci.com/user/languages/python 2 | language: python 3 | python: 4 | - "3.6" 5 | - "3.7" 6 | - "3.8" 7 | - "3.9" 8 | # command to install dependencies 9 | install: 10 | - "pip install -r requirements.txt" 11 | - "pip install -r test-requirements.txt" 12 | # command to run tests 13 | script: pytest --cov=amazon_ads_sponsored_products_client 14 | -------------------------------------------------------------------------------- /amazon_ads_sponsored_products_client/model/__init__.py: -------------------------------------------------------------------------------- 1 | # we can not import model classes here because that would create a circular 2 | # reference which would not work in python2 3 | # do not import all models into this module because that uses a lot of memory and stack frames 4 | # if you need the ability to import all models from one package, import them with 5 | # from {{packageName}.models import ModelA, ModelB 6 | -------------------------------------------------------------------------------- /docs/ExpressionType.md: -------------------------------------------------------------------------------- 1 | # ExpressionType 2 | 3 | The type of expression. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **value** | **str** | The type of expression. | must be one of ["auto", "manual", ] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/State.md: -------------------------------------------------------------------------------- 1 | # State 2 | 3 | The current resource state. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **value** | **str** | The current resource state. | must be one of ["enabled", "paused", "archived", ] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BulkGetAsinSuggestedKeywordsResponse.md: -------------------------------------------------------------------------------- 1 | # BulkGetAsinSuggestedKeywordsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **value** | **[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** | | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.gitlab.com/ee/ci/README.html 2 | 3 | stages: 4 | - test 5 | 6 | .tests: 7 | stage: test 8 | script: 9 | - pip install -r requirements.txt 10 | - pip install -r test-requirements.txt 11 | - pytest --cov=amazon_ads_sponsored_products_client 12 | 13 | test-3.6: 14 | extends: .tests 15 | image: python:3.6-alpine 16 | test-3.7: 17 | extends: .tests 18 | image: python:3.7-alpine 19 | test-3.8: 20 | extends: .tests 21 | image: python:3.8-alpine 22 | test-3.9: 23 | extends: .tests 24 | image: python:3.9-alpine 25 | -------------------------------------------------------------------------------- /docs/SnapshotRequest.md: -------------------------------------------------------------------------------- 1 | # SnapshotRequest 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **state_filter** | **str** | | [optional] 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CampaignTags.md: -------------------------------------------------------------------------------- 1 | # CampaignTags 2 | 3 | A list of advertiser-specified custom identifiers for the campaign. Each customer identifier is a key-value pair. You can specify a maximum of 50 identifiers. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **any string name** | **str** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BrandResponse.md: -------------------------------------------------------------------------------- 1 | # BrandResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **float** | The brand identifier. | [optional] 8 | **name** | **str** | The brand name. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/UpdateProductAd.md: -------------------------------------------------------------------------------- 1 | # UpdateProductAd 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_id** | **float** | The product ad identifier. | [optional] 8 | **state** | [**State**](State.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/TargetingExpressionExpressions.md: -------------------------------------------------------------------------------- 1 | # TargetingExpressionExpressions 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **type** | **[str]** | The type. | [optional] 8 | **value** | **str** | The expression value | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/UpdateNegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # UpdateNegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifer of the keyword. | [optional] 8 | **state** | [**State**](State.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/Error.md: -------------------------------------------------------------------------------- 1 | # Error 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **code** | **str** | An enumerated error for machine use. | [optional] [readonly] 8 | **details** | **str** | A human-readable description of the error. | [optional] [readonly] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ProductRecommendationsResponseRecommendedProducts.md: -------------------------------------------------------------------------------- 1 | # ProductRecommendationsResponseRecommendedProducts 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **recommended_target_asin** | **str** | The recommended ASIN for targeting. | [optional] 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/KeywordBidRecommendationsDataKeywords.md: -------------------------------------------------------------------------------- 1 | # KeywordBidRecommendationsDataKeywords 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword** | **str** | The keyword text. | [optional] 8 | **match_type** | [**MatchType**](MatchType.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/MatchType.md: -------------------------------------------------------------------------------- 1 | # MatchType 2 | 3 | The type of match. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Ads support center. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **value** | **str** | The type of match. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Ads support center. | must be one of ["exact", "phrase", "broad", ] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AdGroupBidRecommendationsResponse.md: -------------------------------------------------------------------------------- 1 | # AdGroupBidRecommendationsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group. | [optional] 8 | **suggested_bid** | [**SuggestedBid**](SuggestedBid.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/TargetingExpression.md: -------------------------------------------------------------------------------- 1 | # TargetingExpression 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **expressions** | [**[TargetingExpressionExpressions]**](TargetingExpressionExpressions.md) | List of targeting expressions for which to generate bid recommendations. | [optional] 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AdGroupSuggestedKeywordsResponse.md: -------------------------------------------------------------------------------- 1 | # AdGroupSuggestedKeywordsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The ad group identifier. | [optional] 8 | **suggesteded_keywords** | **[str]** | An array of suggested keywords. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineObject1.md: -------------------------------------------------------------------------------- 1 | # InlineObject1 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The ad group identifier. | [optional] 8 | **expressions** | [**[[TargetingExpressionPredicate]]**](TargetingExpressionPredicate.md) | The list of targeting expressions. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NegativeMatchType.md: -------------------------------------------------------------------------------- 1 | # NegativeMatchType 2 | 3 | The type of match. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Ads support center. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **value** | **str** | The type of match. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Ads support center. | must be one of ["negativeExact", "negativePhrase", ] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/RefinementsResponse.md: -------------------------------------------------------------------------------- 1 | # RefinementsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **category_id** | **float** | The category identifier. | [optional] 8 | **brands** | [**[RefinementsResponseBrands]**](RefinementsResponseBrands.md) | The brands found in this category. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/GetAsinSuggestedKeywordsResponseSuggestedKeywords.md: -------------------------------------------------------------------------------- 1 | # GetAsinSuggestedKeywordsResponseSuggestedKeywords 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_text** | **str** | The text of the suggested keyword. | [optional] 8 | **match_type** | [**MatchType**](MatchType.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineObject.md: -------------------------------------------------------------------------------- 1 | # InlineObject 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **asins** | **[str]** | A list of ASINs. | [optional] 8 | **max_num_suggestions** | **int** | The maximum number of suggested keywords in the response. | [optional] if omitted the server will use the default value of 100 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/SnapshotResponse.md: -------------------------------------------------------------------------------- 1 | # SnapshotResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **snapshot_id** | **str** | The snapshot identifier. | [optional] 8 | **record_type** | **str** | The record type of the report. | [optional] 9 | **status** | **str** | The generation status of the snapshot. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/BidRecommendationsForTargetsResponseRecommendations.md: -------------------------------------------------------------------------------- 1 | # BidRecommendationsForTargetsResponseRecommendations 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **suggested_bid** | [**SuggestedBid**](SuggestedBid.md) | | [optional] 8 | **expressions** | [**TargetingExpression**](TargetingExpression.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineObject2.md: -------------------------------------------------------------------------------- 1 | # InlineObject2 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **page_size** | **float** | The number or recommendations returned in a single page. | [optional] 8 | **page_number** | **float** | The page number in the result set to return. | [optional] 9 | **asins** | **[str]** | A list of ASINs. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/UpdateKeyword.md: -------------------------------------------------------------------------------- 1 | # UpdateKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the keyword. | [optional] 8 | **state** | [**State**](State.md) | | [optional] 9 | **bid** | **float, none_type** | Bid associated with this keyword. Applicable to biddable match types only. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/CampaignResponse.md: -------------------------------------------------------------------------------- 1 | # CampaignResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifier of the campaign. | [optional] 8 | **code** | **str** | An enumerated success or error code for machine use. | [optional] 9 | **description** | **str** | A human-readable description of the code. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/UpdateCampaignNegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # UpdateCampaignNegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the campaign negative keyword. | [optional] 8 | **state** | **str** | The campaign negative keyword state. | [optional] if omitted the server will use the default value of "deleted" 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineResponse200.md: -------------------------------------------------------------------------------- 1 | # InlineResponse200 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The ad group identifier. | [optional] 8 | **recommendations** | [**[InlineResponse200Recommendations]**](InlineResponse200Recommendations.md) | The list of recommended bids with associated targeting expressions. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/RefinementsResponseBrands.md: -------------------------------------------------------------------------------- 1 | # RefinementsResponseBrands 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **float** | The brand identifier. Note that this is not the same identifier returned from the [getBrands](sponsored-brands/3-0/openapi#/Brands/getBrands) operation. | [optional] 8 | **name** | **str** | The brand name. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BidRecommendationRequest.md: -------------------------------------------------------------------------------- 1 | # BidRecommendationRequest 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group that is associated with the targeting expression used to generate the bid recommendation. | [optional] 8 | **expressions** | [**TargetingExpression**](TargetingExpression.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineResponse200Recommendations.md: -------------------------------------------------------------------------------- 1 | # InlineResponse200Recommendations 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **suggested_bid** | [**SuggestedBid**](SuggestedBid.md) | | [optional] 8 | **expression** | [**TargetingExpressionPredicate**](TargetingExpressionPredicate.md) | | [optional] 9 | **code** | **str** | The response code. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/SuggestedBid.md: -------------------------------------------------------------------------------- 1 | # SuggestedBid 2 | 3 | Information about the recommended bid. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **suggested** | **float** | The bid recommendation. | [optional] 9 | **range_start** | **float** | The lower bound bid recommendation. | [optional] 10 | **range_end** | **float** | The upper bound bid recommendation. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/BidRecommendationsResponse.md: -------------------------------------------------------------------------------- 1 | # BidRecommendationsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **str** | The identifier of the ad group that the recommendations are associated with. | [optional] 8 | **recommendations** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | An array of bid recommendation objects. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ProductRecommendationsResponse.md: -------------------------------------------------------------------------------- 1 | # ProductRecommendationsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **total_result_count** | **float** | The total number of recommendations in the response. | [optional] 8 | **recommended_products** | [**[ProductRecommendationsResponseRecommendedProducts]**](ProductRecommendationsResponseRecommendedProducts.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/KeywordBidRecommendationsData.md: -------------------------------------------------------------------------------- 1 | # KeywordBidRecommendationsData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group that the keywords are associated with. | [optional] 8 | **keywords** | [**[KeywordBidRecommendationsDataKeywords]**](KeywordBidRecommendationsDataKeywords.md) | An array of keyword data objects. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/GetAsinSuggestedKeywordsResponse.md: -------------------------------------------------------------------------------- 1 | # GetAsinSuggestedKeywordsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **asin** | **str** | The ASIN for which keywords are suggested. | [optional] 8 | **suggested_keywords** | [**[GetAsinSuggestedKeywordsResponseSuggestedKeywords]**](GetAsinSuggestedKeywordsResponseSuggestedKeywords.md) | The list of suggested keywords. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InlineResponse2002.md: -------------------------------------------------------------------------------- 1 | # InlineResponse2002 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **report_id** | **str** | The unique ID for your requested report. | [optional] 8 | **status** | **str** | The status of the report. Status is one of `IN_PROGRESS`, `SUCCESS`, or `FAILURE`. | [optional] 9 | **status_details** | **str** | Description of the status. | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/ProductAdResponse.md: -------------------------------------------------------------------------------- 1 | # ProductAdResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_id** | **float** | The product ad identifier. | [optional] 8 | **code** | **str** | The enumerated success or error code. | [optional] 9 | **details** | **str** | A human-readable description of the code. | [optional] 10 | **description** | **str** | A human-readable description of the code. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/UpdateAdGroup.md: -------------------------------------------------------------------------------- 1 | # UpdateAdGroup 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group. | [optional] 8 | **name** | **str** | The name of the ad group. | [optional] 9 | **default_bid** | **float** | The bid value used when no bid is specified for keywords in the ad group. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/KeywordBidRecommendationsResponse.md: -------------------------------------------------------------------------------- 1 | # KeywordBidRecommendationsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the keyword that the bid is associated with. | [optional] 8 | **ad_group_id** | **float** | The identifier of the ad group that the bid is associated with. | [optional] 9 | **suggested_bid** | [**SuggestedBid**](SuggestedBid.md) | | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/KeywordResponse.md: -------------------------------------------------------------------------------- 1 | # KeywordResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifer of the keyword. | [optional] 8 | **code** | **str** | The success or error code for the operation. | [optional] 9 | **details** | **str** | The human-readable description of the error. | [optional] 10 | **description** | **str** | The human-readable description of the error. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/AdGroupResponse.md: -------------------------------------------------------------------------------- 1 | # AdGroupResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group. | [optional] 8 | **code** | **str** | An enumerated success or error code for machine use. | [optional] 9 | **details** | **str** | A human-readable description of the code. | [optional] 10 | **description** | **str** | A human-readable description of the code. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CreateAdGroup.md: -------------------------------------------------------------------------------- 1 | # CreateAdGroup 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **str** | A name for the ad group. | [optional] 8 | **campaign_id** | **float** | An existing campaign to which the ad group is associated. | [optional] 9 | **default_bid** | **float** | A bid value for use when no bid is specified for keywords in the ad group. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/NegativeKeywordResponse.md: -------------------------------------------------------------------------------- 1 | # NegativeKeywordResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the keyword. | [optional] 8 | **code** | **str** | The success or error code for the operation. | [optional] 9 | **details** | **str** | The human-readable description of the error. | [optional] 10 | **description** | **str** | The human-readable description of the error. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/BidRecommendationsForTargetsResponse.md: -------------------------------------------------------------------------------- 1 | # BidRecommendationsForTargetsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group that the recommended bid are associated with. | [optional] 8 | **recommendations** | [**[BidRecommendationsForTargetsResponseRecommendations]**](BidRecommendationsForTargetsResponseRecommendations.md) | An array of recommendation objects. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/UpdateNegativeTargetingClause.md: -------------------------------------------------------------------------------- 1 | # UpdateNegativeTargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The target identifier. | [optional] 8 | **state** | [**State**](State.md) | | [optional] 9 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The targeting expression. | [optional] 10 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CategoryResponse.md: -------------------------------------------------------------------------------- 1 | # CategoryResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **float** | The category identifier. | [optional] 8 | **name** | **str** | The category name. | [optional] 9 | **is_targetable** | **str** | If set to `true`, indicates this category can be targeted in a targeting expression. Otherwise, set to false. | [optional] 10 | **path** | **str** | The path of this category within the category catalog. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/TargetingClauseResponse.md: -------------------------------------------------------------------------------- 1 | # TargetingClauseResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The target identifier. | [optional] 8 | **code** | **str** | An enumerated response code. | [optional] 9 | **details** | **str** | A human-readable description of the value in the `code` field. | [optional] 10 | **description** | **str** | A human-readable description of the value in the `code` field. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CampaignNegativeKeywordResponse.md: -------------------------------------------------------------------------------- 1 | # CampaignNegativeKeywordResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the campaign negative keyword. | [optional] 8 | **code** | **str** | An enumerated success or error code for machine use. | [optional] 9 | **details** | **str** | A human-readable description of the code. | [optional] 10 | **description** | **str** | A human-readable description of the code. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/NegativeTargetingClauseResponse.md: -------------------------------------------------------------------------------- 1 | # NegativeTargetingClauseResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The negative target identifier. | [optional] 8 | **code** | **str** | An enumerated response code. | [optional] 9 | **details** | **str** | A human-readable description of the value in the `code` field. | [optional] 10 | **description** | **str** | A human-readable description of the value in the `code` field. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CreateProductAd.md: -------------------------------------------------------------------------------- 1 | # CreateProductAd 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The campaign identifier. | [optional] 8 | **ad_group_id** | **float** | The ad group identifier. | [optional] 9 | **sku** | **str** | The SKU associated with the product. Defined for seller accounts only. | [optional] 10 | **asin** | **str** | The ASIN associated with the product. Defined for vendors only. | [optional] 11 | **state** | [**State**](State.md) | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/AdGroup.md: -------------------------------------------------------------------------------- 1 | # AdGroup 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group. | [optional] 8 | **name** | **str** | The name of the ad group. | [optional] 9 | **campaign_id** | **float** | The identifier of the campaign that the ad group is associated with. | [optional] 10 | **default_bid** | **float** | The bid value used when no bid is specified for keywords in the ad group. | [optional] 11 | **state** | [**State**](State.md) | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ProductAd.md: -------------------------------------------------------------------------------- 1 | # ProductAd 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_id** | **float** | The product ad identifier. | [optional] 8 | **campaign_id** | **float** | The campaign identifier. | [optional] 9 | **ad_group_id** | **float** | The ad group identifier. | [optional] 10 | **sku** | **str** | The SKU associated with the product. Defined for seller accounts only. | [optional] 11 | **asin** | **str** | The ASIN associated with the product. Defined for vendors only. | [optional] 12 | **state** | [**State**](State.md) | | [optional] 13 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/CreateCampaignNegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # CreateCampaignNegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifer of the campaign to which the campaign negative keyword is associated. | [optional] 8 | **state** | **str** | The campaign negative keyword state. | [optional] if omitted the server will use the default value of "enabled" 9 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 10 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CreateNegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # CreateNegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifier of the campaign to which the negative keyword is associated. | [optional] 8 | **ad_group_id** | **float** | The identifier of the ad group to which the negative keyword is associated. | [optional] 9 | **state** | [**State**](State.md) | | [optional] 10 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 11 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/InlineResponse2001.md: -------------------------------------------------------------------------------- 1 | # InlineResponse2001 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **report_id** | **str** | The unique ID for your requested report. | [optional] 8 | **record_type** | **str** | The record type of the report. It can be `campaign`, `adGroup`, `keyword`, `productAd`, or `targets`. | [optional] 9 | **status** | **str** | The status of the report. Status is one of `IN_PROGRESS`, `SUCCESS`, or `FAILURE`. | [optional] 10 | **status_details** | **str** | Description of the status. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CreateNegativeTargetingClause.md: -------------------------------------------------------------------------------- 1 | # CreateNegativeTargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifier of the campaign to which this negative target is associated. | [optional] 8 | **ad_group_id** | **float** | The identifier of the ad group to which this negative target is associated. | [optional] 9 | **state** | [**State**](State.md) | | [optional] 10 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The negative targeting expression. | [optional] 11 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/UpdateTargetingClause.md: -------------------------------------------------------------------------------- 1 | # UpdateTargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The target identifier. | [optional] 8 | **state** | [**State**](State.md) | | [optional] 9 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The targeting expression. | [optional] 10 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 11 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 12 | **bid** | [**Bid**](Bid.md) | | [optional] 13 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/CampaignNegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # CampaignNegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the campaign negative keyword. | [optional] 8 | **campaign_id** | **float** | The identifer of the campaign to which the campaign negative keyword is associated. | [optional] 9 | **state** | **str** | The campaign negative keyword state. | [optional] if omitted the server will use the default value of "enabled" 10 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 11 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/NegativeKeyword.md: -------------------------------------------------------------------------------- 1 | # NegativeKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the negative keyword. | [optional] 8 | **campaign_id** | **float** | The identifer of the campaign to which the negative keyword is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which the negative keyword is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 12 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 13 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | venv/ 48 | .venv/ 49 | .python-version 50 | .pytest_cache 51 | 52 | # Translations 53 | *.mo 54 | *.pot 55 | 56 | # Django stuff: 57 | *.log 58 | 59 | # Sphinx documentation 60 | docs/_build/ 61 | 62 | # PyBuilder 63 | target/ 64 | 65 | #Ipython Notebook 66 | .ipynb_checkpoints 67 | -------------------------------------------------------------------------------- /.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | # OpenAPI Generator Ignore 2 | # Generated by openapi-generator https://github.com/openapitools/openapi-generator 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Josh Wang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /docs/AdGroupSuggestedKeywordsResponseEx.md: -------------------------------------------------------------------------------- 1 | # AdGroupSuggestedKeywordsResponseEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The ad group identifier. | [optional] 8 | **campaign_id** | **float** | The campaign identifier. | [optional] 9 | **keyword_text** | **str** | The suggested keyword. | [optional] 10 | **match_type** | [**MatchType**](MatchType.md) | | [optional] 11 | **state** | **str** | The state of the ad for which the keyword is suggested. | [optional] 12 | **bid** | **float** | The suggested bid for the suggested keyword. Note that this field will not be included in the response if the `suggestBids` query parameter is set to `no` in the request. | [optional] 13 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/BiddingAdjustments.md: -------------------------------------------------------------------------------- 1 | # BiddingAdjustments 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **predicate** | **str** | You can enable controls to adjust your bid based on the placement location. Specify a location where you want to use bid controls. The percentage value set is the percentage of the original bid for which you want to have your bid adjustment increased. For example, a 50% adjustment on a $1.00 bid would increase the bid to $1.50 for the opportunity to win a specified placement. | Predicate | Placement | |-----------|------------| | `placementTop` | Top of search (first page) | | `placementProductPage` | Product pages | | [optional] 8 | **percentage** | **float** | The bid adjustment percentage value. | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ProductAdExServingStatusDetails.md: -------------------------------------------------------------------------------- 1 | # ProductAdExServingStatusDetails 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **str** | The status identifier. | [optional] 8 | **severity** | **str** | An enumerated advertising eligibility severity status. If set to `INELIGIBLE`, the product cannot be included in an advertisement. If set to `ELIGIBLE_WITH_WARNING`, the product may not receive impressions when included in an advertisement. | [optional] 9 | **message** | **str** | A human-readable description of the status identifier specified in the `name` field. | [optional] 10 | **help_url** | **str** | A URL with additional information about the status identifier. May not be present for all status identifiers. | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CreateTargetingClause.md: -------------------------------------------------------------------------------- 1 | # CreateTargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifier of the campaign to which this target is associated. | [optional] 8 | **ad_group_id** | **float** | The identifier of the ad group to which this target is associated. | [optional] 9 | **state** | [**State**](State.md) | | [optional] 10 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The targeting expression. | [optional] 11 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 12 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 13 | **bid** | [**Bid**](Bid.md) | | [optional] 14 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/test_bid.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid import Bid 16 | 17 | 18 | class TestBid(unittest.TestCase): 19 | """Bid unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testBid(self): 28 | """Test Bid""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = Bid() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /docs/Keyword.md: -------------------------------------------------------------------------------- 1 | # Keyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the keyword. | [optional] 8 | **campaign_id** | **float** | The identifer of the campaign to which the keyword is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this keyword is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **keyword_text** | **str** | The keyword text. | [optional] 12 | **native_language_keyword** | **str** | The unlocalized keyword text in the preferred locale of the advertiser. | [optional] 13 | **match_type** | [**MatchType**](MatchType.md) | | [optional] 14 | **bid** | **float** | Bid associated with this keyword. Applicable to biddable match types only. | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/test_error.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.error import Error 16 | 17 | 18 | class TestError(unittest.TestCase): 19 | """Error unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testError(self): 28 | """Test Error""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = Error() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_state.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | 17 | 18 | class TestState(unittest.TestCase): 19 | """State unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testState(self): 28 | """Test State""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = State() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_report.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.report import Report 16 | 17 | 18 | class TestReport(unittest.TestCase): 19 | """Report unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testReport(self): 28 | """Test Report""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = Report() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_match_type.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | 17 | 18 | class TestMatchType(unittest.TestCase): 19 | """MatchType unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testMatchType(self): 28 | """Test MatchType""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = MatchType() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /docs/NegativeTargetingClause.md: -------------------------------------------------------------------------------- 1 | # NegativeTargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The negative target identifier. | [optional] 8 | **campaign_id** | **float** | The identifier of the campaign to which this negative target is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this negative target is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The negative targeting expression. | [optional] 12 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 13 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 14 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/TargetingClause.md: -------------------------------------------------------------------------------- 1 | # TargetingClause 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The target identifier. | [optional] 8 | **campaign_id** | **float** | The identifier of the campaign to which this target is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this target is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The targeting expression. | [optional] 12 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 13 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 14 | **bid** | [**Bid**](Bid.md) | | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/AdGroupEx.md: -------------------------------------------------------------------------------- 1 | # AdGroupEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_group_id** | **float** | The identifier of the ad group. | [optional] 8 | **name** | **str** | The name of the ad group. | [optional] 9 | **campaign_id** | **float** | The identifier of the campaign that the ad group is associated with. | [optional] 10 | **default_bid** | **float** | The bid value used when no bid is specified for keywords in the ad group. | [optional] 11 | **state** | [**State**](State.md) | | [optional] 12 | **creation_date** | **float** | The creation date of the ad group in epoch time. | [optional] 13 | **last_updated_date** | **float** | The date that any value associated with the ad group was last changed, in epoch time. | [optional] 14 | **serving_status** | **str** | The computed status. See developer notes for more information. | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/test_campaign_tags.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.campaign_tags import CampaignTags 16 | 17 | 18 | class TestCampaignTags(unittest.TestCase): 19 | """CampaignTags unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testCampaignTags(self): 28 | """Test CampaignTags""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = CampaignTags() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_inline_object.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.inline_object import InlineObject 16 | 17 | 18 | class TestInlineObject(unittest.TestCase): 19 | """InlineObject unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testInlineObject(self): 28 | """Test InlineObject""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = InlineObject() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_suggested_bid.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.suggested_bid import SuggestedBid 16 | 17 | 18 | class TestSuggestedBid(unittest.TestCase): 19 | """SuggestedBid unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testSuggestedBid(self): 28 | """Test SuggestedBid""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = SuggestedBid() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_brand_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.brand_response import BrandResponse 16 | 17 | 18 | class TestBrandResponse(unittest.TestCase): 19 | """BrandResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testBrandResponse(self): 28 | """Test BrandResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = BrandResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_inline_object2.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.inline_object2 import InlineObject2 16 | 17 | 18 | class TestInlineObject2(unittest.TestCase): 19 | """InlineObject2 unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testInlineObject2(self): 28 | """Test InlineObject2""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = InlineObject2() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_expression_type.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 16 | 17 | 18 | class TestExpressionType(unittest.TestCase): 19 | """ExpressionType unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testExpressionType(self): 28 | """Test ExpressionType""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = ExpressionType() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_ad_group_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.ad_group_response import AdGroupResponse 16 | 17 | 18 | class TestAdGroupResponse(unittest.TestCase): 19 | """AdGroupResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testAdGroupResponse(self): 28 | """Test AdGroupResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = AdGroupResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_keyword_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.keyword_response import KeywordResponse 16 | 17 | 18 | class TestKeywordResponse(unittest.TestCase): 19 | """KeywordResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testKeywordResponse(self): 28 | """Test KeywordResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = KeywordResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_snapshot_request.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.snapshot_request import SnapshotRequest 16 | 17 | 18 | class TestSnapshotRequest(unittest.TestCase): 19 | """SnapshotRequest unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testSnapshotRequest(self): 28 | """Test SnapshotRequest""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = SnapshotRequest() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_campaign_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.campaign_response import CampaignResponse 16 | 17 | 18 | class TestCampaignResponse(unittest.TestCase): 19 | """CampaignResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testCampaignResponse(self): 28 | """Test CampaignResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = CampaignResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_category_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.category_response import CategoryResponse 16 | 17 | 18 | class TestCategoryResponse(unittest.TestCase): 19 | """CategoryResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testCategoryResponse(self): 28 | """Test CategoryResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = CategoryResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_snapshot_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.snapshot_response import SnapshotResponse 16 | 17 | 18 | class TestSnapshotResponse(unittest.TestCase): 19 | """SnapshotResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testSnapshotResponse(self): 28 | """Test SnapshotResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = SnapshotResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_negative_match_type.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | 17 | 18 | class TestNegativeMatchType(unittest.TestCase): 19 | """NegativeMatchType unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testNegativeMatchType(self): 28 | """Test NegativeMatchType""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = NegativeMatchType() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_product_ad_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.product_ad_response import ProductAdResponse 16 | 17 | 18 | class TestProductAdResponse(unittest.TestCase): 19 | """ProductAdResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testProductAdResponse(self): 28 | """Test ProductAdResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = ProductAdResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_bidding_adjustments.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding_adjustments import BiddingAdjustments 16 | 17 | 18 | class TestBiddingAdjustments(unittest.TestCase): 19 | """BiddingAdjustments unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testBiddingAdjustments(self): 28 | """Test BiddingAdjustments""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = BiddingAdjustments() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_inline_response2001.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.inline_response2001 import InlineResponse2001 16 | 17 | 18 | class TestInlineResponse2001(unittest.TestCase): 19 | """InlineResponse2001 unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testInlineResponse2001(self): 28 | """Test InlineResponse2001""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = InlineResponse2001() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_inline_response2002.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.inline_response2002 import InlineResponse2002 16 | 17 | 18 | class TestInlineResponse2002(unittest.TestCase): 19 | """InlineResponse2002 unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testInlineResponse2002(self): 28 | """Test InlineResponse2002""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = InlineResponse2002() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_ad_group.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.ad_group import AdGroup 18 | 19 | 20 | class TestAdGroup(unittest.TestCase): 21 | """AdGroup unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testAdGroup(self): 30 | """Test AdGroup""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = AdGroup() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_product_ad.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.product_ad import ProductAd 18 | 19 | 20 | class TestProductAd(unittest.TestCase): 21 | """ProductAd unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testProductAd(self): 30 | """Test ProductAd""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = ProductAd() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_ad_group_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.ad_group_ex import AdGroupEx 18 | 19 | 20 | class TestAdGroupEx(unittest.TestCase): 21 | """AdGroupEx unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testAdGroupEx(self): 30 | """Test AdGroupEx""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = AdGroupEx() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_negative_keyword_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_keyword_response import NegativeKeywordResponse 16 | 17 | 18 | class TestNegativeKeywordResponse(unittest.TestCase): 19 | """NegativeKeywordResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testNegativeKeywordResponse(self): 28 | """Test NegativeKeywordResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = NegativeKeywordResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_targeting_clause_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_clause_response import TargetingClauseResponse 16 | 17 | 18 | class TestTargetingClauseResponse(unittest.TestCase): 19 | """TargetingClauseResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testTargetingClauseResponse(self): 28 | """Test TargetingClauseResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = TargetingClauseResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_refinements_response_brands.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.refinements_response_brands import RefinementsResponseBrands 16 | 17 | 18 | class TestRefinementsResponseBrands(unittest.TestCase): 19 | """RefinementsResponseBrands unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testRefinementsResponseBrands(self): 28 | """Test RefinementsResponseBrands""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = RefinementsResponseBrands() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /amazon_ads_sponsored_products_client/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | """ 4 | Amazon Ads API - Sponsored Products 5 | 6 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 7 | 8 | The version of the OpenAPI document: 2.0 9 | Generated by: https://openapi-generator.tech 10 | """ 11 | 12 | 13 | __version__ = "0.0.3" 14 | 15 | # import ApiClient 16 | from amazon_ads_sponsored_products_client.api_client import ApiClient 17 | 18 | # import Configuration 19 | from amazon_ads_sponsored_products_client.configuration import Configuration 20 | 21 | # import exceptions 22 | from amazon_ads_sponsored_products_client.exceptions import OpenApiException 23 | from amazon_ads_sponsored_products_client.exceptions import ApiAttributeError 24 | from amazon_ads_sponsored_products_client.exceptions import ApiTypeError 25 | from amazon_ads_sponsored_products_client.exceptions import ApiValueError 26 | from amazon_ads_sponsored_products_client.exceptions import ApiKeyError 27 | from amazon_ads_sponsored_products_client.exceptions import ApiException 28 | -------------------------------------------------------------------------------- /docs/Bidding.md: -------------------------------------------------------------------------------- 1 | # Bidding 2 | 3 | Specifies bidding controls. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **strategy** | **str** | The bidding strategy. | Value | Strategy name | Description | |----------------|---------------|-------------| | `legacyForSales` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. | | `autoForSales` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. | | `manual` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. | | [optional] 9 | **adjustments** | [**[BiddingAdjustments]**](BiddingAdjustments.md) | | [optional] 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/test_bid_recommendations_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid_recommendations_response import BidRecommendationsResponse 16 | 17 | 18 | class TestBidRecommendationsResponse(unittest.TestCase): 19 | """BidRecommendationsResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testBidRecommendationsResponse(self): 28 | """Test BidRecommendationsResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = BidRecommendationsResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_bidding.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding_adjustments import BiddingAdjustments 16 | globals()['BiddingAdjustments'] = BiddingAdjustments 17 | from amazon_ads_sponsored_products_client.model.bidding import Bidding 18 | 19 | 20 | class TestBidding(unittest.TestCase): 21 | """Bidding unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testBidding(self): 30 | """Test Bidding""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = Bidding() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_create_ad_group.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.create_ad_group import CreateAdGroup 18 | 19 | 20 | class TestCreateAdGroup(unittest.TestCase): 21 | """CreateAdGroup unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testCreateAdGroup(self): 30 | """Test CreateAdGroup""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = CreateAdGroup() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_update_ad_group.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.update_ad_group import UpdateAdGroup 18 | 19 | 20 | class TestUpdateAdGroup(unittest.TestCase): 21 | """UpdateAdGroup unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testUpdateAdGroup(self): 30 | """Test UpdateAdGroup""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = UpdateAdGroup() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_update_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.update_keyword import UpdateKeyword 18 | 19 | 20 | class TestUpdateKeyword(unittest.TestCase): 21 | """UpdateKeyword unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testUpdateKeyword(self): 30 | """Test UpdateKeyword""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = UpdateKeyword() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_create_product_ad.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.create_product_ad import CreateProductAd 18 | 19 | 20 | class TestCreateProductAd(unittest.TestCase): 21 | """CreateProductAd unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testCreateProductAd(self): 30 | """Test CreateProductAd""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = CreateProductAd() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_targeting_expression_predicate.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 16 | 17 | 18 | class TestTargetingExpressionPredicate(unittest.TestCase): 19 | """TargetingExpressionPredicate unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testTargetingExpressionPredicate(self): 28 | """Test TargetingExpressionPredicate""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = TargetingExpressionPredicate() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_update_product_ad.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.update_product_ad import UpdateProductAd 18 | 19 | 20 | class TestUpdateProductAd(unittest.TestCase): 21 | """UpdateProductAd unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testUpdateProductAd(self): 30 | """Test UpdateProductAd""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = UpdateProductAd() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_update_campaign_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.update_campaign_negative_keyword import UpdateCampaignNegativeKeyword 16 | 17 | 18 | class TestUpdateCampaignNegativeKeyword(unittest.TestCase): 19 | """UpdateCampaignNegativeKeyword unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testUpdateCampaignNegativeKeyword(self): 28 | """Test UpdateCampaignNegativeKeyword""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = UpdateCampaignNegativeKeyword() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_targeting_expression_expressions.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_expression_expressions import TargetingExpressionExpressions 16 | 17 | 18 | class TestTargetingExpressionExpressions(unittest.TestCase): 19 | """TargetingExpressionExpressions unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testTargetingExpressionExpressions(self): 28 | """Test TargetingExpressionExpressions""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = TargetingExpressionExpressions() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_campaign_negative_keyword_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.campaign_negative_keyword_response import CampaignNegativeKeywordResponse 16 | 17 | 18 | class TestCampaignNegativeKeywordResponse(unittest.TestCase): 19 | """CampaignNegativeKeywordResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testCampaignNegativeKeywordResponse(self): 28 | """Test CampaignNegativeKeywordResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = CampaignNegativeKeywordResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_negative_targeting_clause_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_targeting_clause_response import NegativeTargetingClauseResponse 16 | 17 | 18 | class TestNegativeTargetingClauseResponse(unittest.TestCase): 19 | """NegativeTargetingClauseResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testNegativeTargetingClauseResponse(self): 28 | """Test NegativeTargetingClauseResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = NegativeTargetingClauseResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_product_ad_ex_serving_status_details.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.product_ad_ex_serving_status_details import ProductAdExServingStatusDetails 16 | 17 | 18 | class TestProductAdExServingStatusDetails(unittest.TestCase): 19 | """ProductAdExServingStatusDetails unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testProductAdExServingStatusDetails(self): 28 | """Test ProductAdExServingStatusDetails""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = ProductAdExServingStatusDetails() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_ad_group_suggested_keywords_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.ad_group_suggested_keywords_response import AdGroupSuggestedKeywordsResponse 16 | 17 | 18 | class TestAdGroupSuggestedKeywordsResponse(unittest.TestCase): 19 | """AdGroupSuggestedKeywordsResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testAdGroupSuggestedKeywordsResponse(self): 28 | """Test AdGroupSuggestedKeywordsResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = AdGroupSuggestedKeywordsResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /docs/NegativeKeywordEx.md: -------------------------------------------------------------------------------- 1 | # NegativeKeywordEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the keyword. | [optional] 8 | **campaign_id** | **float** | The identifer of the campaign to which the keyword is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this keyword is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 12 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 13 | **creation_date** | **float** | Creation date in epoch time. | [optional] 14 | **last_updated_date** | **float** | Date of last update in epoch time. | [optional] 15 | **serving_status** | **str** | The serving status of the keyword. See the **computed status** section of the [developer notes](https://advertising.amazon.com/API/docs/en-us/get-started/developer-notes) for definitions. | [optional] 16 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /test/test_update_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.state import State 16 | globals()['State'] = State 17 | from amazon_ads_sponsored_products_client.model.update_negative_keyword import UpdateNegativeKeyword 18 | 19 | 20 | class TestUpdateNegativeKeyword(unittest.TestCase): 21 | """UpdateNegativeKeyword unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testUpdateNegativeKeyword(self): 30 | """Test UpdateNegativeKeyword""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = UpdateNegativeKeyword() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['MatchType'] = MatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.keyword import Keyword 20 | 21 | 22 | class TestKeyword(unittest.TestCase): 23 | """Keyword unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testKeyword(self): 32 | """Test Keyword""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = Keyword() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_bulk_get_asin_suggested_keywords_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bulk_get_asin_suggested_keywords_response import BulkGetAsinSuggestedKeywordsResponse 16 | 17 | 18 | class TestBulkGetAsinSuggestedKeywordsResponse(unittest.TestCase): 19 | """BulkGetAsinSuggestedKeywordsResponse unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testBulkGetAsinSuggestedKeywordsResponse(self): 28 | """Test BulkGetAsinSuggestedKeywordsResponse""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = BulkGetAsinSuggestedKeywordsResponse() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_keyword_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['MatchType'] = MatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.keyword_ex import KeywordEx 20 | 21 | 22 | class TestKeywordEx(unittest.TestCase): 23 | """KeywordEx unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testKeywordEx(self): 32 | """Test KeywordEx""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = KeywordEx() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_inline_object1.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 16 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 17 | from amazon_ads_sponsored_products_client.model.inline_object1 import InlineObject1 18 | 19 | 20 | class TestInlineObject1(unittest.TestCase): 21 | """InlineObject1 unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testInlineObject1(self): 30 | """Test InlineObject1""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = InlineObject1() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /docs/CampaignNegativeKeywordEx.md: -------------------------------------------------------------------------------- 1 | # CampaignNegativeKeywordEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **keyword_id** | **float** | The identifier of the campaign negative keyword. | [optional] 8 | **campaign_id** | **float** | The identifer of the campaign to which the campaign negative keyword is associated. | [optional] 9 | **state** | **str** | The campaign negative keyword state. | [optional] if omitted the server will use the default value of "enabled" 10 | **keyword_text** | **str** | The text of the expression to match against a search query. | [optional] 11 | **match_type** | [**NegativeMatchType**](NegativeMatchType.md) | | [optional] 12 | **creation_date** | **float** | Creation date in epoch time. | [optional] 13 | **last_updated_date** | **float** | Date of last update in epoch time. | [optional] 14 | **serving_status** | **str** | The serving status of the campaign negative keyword. See the **computed status** section of the [developer notes](https://advertising.amazon.com/API/docs/en-us/get-started/developer-notes) for definitions. | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/CreateKeyword.md: -------------------------------------------------------------------------------- 1 | # CreateKeyword 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifer of the campaign to which the keyword is associated. | [optional] 8 | **ad_group_id** | **float** | The identifier of the ad group to which this keyword is associated. | [optional] 9 | **state** | [**State**](State.md) | | [optional] 10 | **keyword_text** | **str** | The keyword text. | [optional] 11 | **native_language_keyword** | **str** | The unlocalized keyword text in the preferred locale of the advertiser. | [optional] 12 | **native_language_locale** | **str** | The locale preference of the advertiser. For example, if the advertiser’s preferred language is Simplified Chinese, set the locale to `zh_CN`. Supported locales include: Simplified Chinese (locale: zh_CN) for US, UK and CA. English (locale: en_GB) for DE, FR, IT and ES. | [optional] 13 | **match_type** | [**MatchType**](MatchType.md) | | [optional] 14 | **bid** | **float, none_type** | Bid associated with this keyword. Applicable to biddable match types only. | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/Bid.md: -------------------------------------------------------------------------------- 1 | # Bid 2 | 3 | The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. This table details the maximum allowable bid (in local currency) for keywords by marketplace: | Marketplace | Currency | Min / Max bid for SP | | --- | --- | --- | | US | USD | 0.02 / 1000 | | CA | CAD | 0.02 / 1000 | | UK | GBP | 0.02 / 1000 | | DE | EUR | 0.02 / 1000 | | FR | EUR | 0.02 / 1000 | | ES | EUR | 0.02 / 1000 | | IT | EUR | 0.02 / 1000 | | JP | JPY | 2.0 / 100000 | | AU | AUD | 0.10 / 1410 | | AE | AED | 0.24 / 184.0 | 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **value** | **float** | The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. This table details the maximum allowable bid (in local currency) for keywords by marketplace: | Marketplace | Currency | Min / Max bid for SP | | --- | --- | --- | | US | USD | 0.02 / 1000 | | CA | CAD | 0.02 / 1000 | | UK | GBP | 0.02 / 1000 | | DE | EUR | 0.02 / 1000 | | FR | EUR | 0.02 / 1000 | | ES | EUR | 0.02 / 1000 | | IT | EUR | 0.02 / 1000 | | JP | JPY | 2.0 / 100000 | | AU | AUD | 0.10 / 1410 | | AE | AED | 0.24 / 184.0 | | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/UpdateCampaign.md: -------------------------------------------------------------------------------- 1 | # UpdateCampaign 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **campaign_id** | **float** | The identifier of an existing campaign to update. | [optional] 8 | **portfolio_id** | **float** | The identifier of an existing portfolio to which the campaign is associated. | [optional] 9 | **name** | **str** | The name of the campaign. | [optional] 10 | **tags** | [**CampaignTags**](CampaignTags.md) | | [optional] 11 | **state** | [**State**](State.md) | | [optional] 12 | **daily_budget** | **float** | The daily budget of the campaign. | [optional] 13 | **start_date** | **str** | The starting date of the campaign. The format of the date is YYYYMMDD. | [optional] 14 | **end_date** | **str, none_type** | The ending date of the campaign to stop running. The format of the date is YYYYMMDD. | [optional] 15 | **premium_bid_adjustment** | **bool** | If set to true, Amazon increases the default bid for ads that are eligible to appear in this placement. See developer notes for more information. | [optional] 16 | **bidding** | [**Bidding**](Bidding.md) | | [optional] 17 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 18 | 19 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 20 | 21 | 22 | -------------------------------------------------------------------------------- /test/test_create_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['MatchType'] = MatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.create_keyword import CreateKeyword 20 | 21 | 22 | class TestCreateKeyword(unittest.TestCase): 23 | """CreateKeyword unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testCreateKeyword(self): 32 | """Test CreateKeyword""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = CreateKeyword() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_snapshots_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import unittest 12 | 13 | import amazon_ads_sponsored_products_client 14 | from amazon_ads_sponsored_products_client.api.snapshots_api import SnapshotsApi # noqa: E501 15 | 16 | 17 | class TestSnapshotsApi(unittest.TestCase): 18 | """SnapshotsApi unit test stubs""" 19 | 20 | def setUp(self): 21 | self.api = SnapshotsApi() # noqa: E501 22 | 23 | def tearDown(self): 24 | pass 25 | 26 | def test_get_snapshot_status(self): 27 | """Test case for get_snapshot_status 28 | 29 | Gets the status of a requested snapshot. # noqa: E501 30 | """ 31 | pass 32 | 33 | def test_request_snapshot(self): 34 | """Test case for request_snapshot 35 | 36 | Request a file-based snapshot of all entities of the specified type. # noqa: E501 37 | """ 38 | pass 39 | 40 | 41 | if __name__ == '__main__': 42 | unittest.main() 43 | -------------------------------------------------------------------------------- /test/test_campaign_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | globals()['NegativeMatchType'] = NegativeMatchType 17 | from amazon_ads_sponsored_products_client.model.campaign_negative_keyword import CampaignNegativeKeyword 18 | 19 | 20 | class TestCampaignNegativeKeyword(unittest.TestCase): 21 | """CampaignNegativeKeyword unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testCampaignNegativeKeyword(self): 30 | """Test CampaignNegativeKeyword""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = CampaignNegativeKeyword() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_refinements_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.refinements_response_brands import RefinementsResponseBrands 16 | globals()['RefinementsResponseBrands'] = RefinementsResponseBrands 17 | from amazon_ads_sponsored_products_client.model.refinements_response import RefinementsResponse 18 | 19 | 20 | class TestRefinementsResponse(unittest.TestCase): 21 | """RefinementsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testRefinementsResponse(self): 30 | """Test RefinementsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = RefinementsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_inline_response200.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.inline_response200_recommendations import InlineResponse200Recommendations 16 | globals()['InlineResponse200Recommendations'] = InlineResponse200Recommendations 17 | from amazon_ads_sponsored_products_client.model.inline_response200 import InlineResponse200 18 | 19 | 20 | class TestInlineResponse200(unittest.TestCase): 21 | """InlineResponse200 unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testInlineResponse200(self): 30 | """Test InlineResponse200""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = InlineResponse200() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_bid_recommendation_request.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_expression import TargetingExpression 16 | globals()['TargetingExpression'] = TargetingExpression 17 | from amazon_ads_sponsored_products_client.model.bid_recommendation_request import BidRecommendationRequest 18 | 19 | 20 | class TestBidRecommendationRequest(unittest.TestCase): 21 | """BidRecommendationRequest unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testBidRecommendationRequest(self): 30 | """Test BidRecommendationRequest""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = BidRecommendationRequest() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_campaign_negative_keyword_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | globals()['NegativeMatchType'] = NegativeMatchType 17 | from amazon_ads_sponsored_products_client.model.campaign_negative_keyword_ex import CampaignNegativeKeywordEx 18 | 19 | 20 | class TestCampaignNegativeKeywordEx(unittest.TestCase): 21 | """CampaignNegativeKeywordEx unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testCampaignNegativeKeywordEx(self): 30 | """Test CampaignNegativeKeywordEx""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = CampaignNegativeKeywordEx() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_targeting_expression.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.targeting_expression_expressions import TargetingExpressionExpressions 16 | globals()['TargetingExpressionExpressions'] = TargetingExpressionExpressions 17 | from amazon_ads_sponsored_products_client.model.targeting_expression import TargetingExpression 18 | 19 | 20 | class TestTargetingExpression(unittest.TestCase): 21 | """TargetingExpression unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testTargetingExpression(self): 30 | """Test TargetingExpression""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = TargetingExpression() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['NegativeMatchType'] = NegativeMatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.negative_keyword import NegativeKeyword 20 | 21 | 22 | class TestNegativeKeyword(unittest.TestCase): 23 | """NegativeKeyword unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testNegativeKeyword(self): 32 | """Test NegativeKeyword""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = NegativeKeyword() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_create_campaign_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | globals()['NegativeMatchType'] = NegativeMatchType 17 | from amazon_ads_sponsored_products_client.model.create_campaign_negative_keyword import CreateCampaignNegativeKeyword 18 | 19 | 20 | class TestCreateCampaignNegativeKeyword(unittest.TestCase): 21 | """CreateCampaignNegativeKeyword unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testCreateCampaignNegativeKeyword(self): 30 | """Test CreateCampaignNegativeKeyword""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = CreateCampaignNegativeKeyword() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_negative_keyword_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['NegativeMatchType'] = NegativeMatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.negative_keyword_ex import NegativeKeywordEx 20 | 21 | 22 | class TestNegativeKeywordEx(unittest.TestCase): 23 | """NegativeKeywordEx unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testNegativeKeywordEx(self): 32 | """Test NegativeKeywordEx""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = NegativeKeywordEx() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_ad_group_suggested_keywords_response_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | globals()['MatchType'] = MatchType 17 | from amazon_ads_sponsored_products_client.model.ad_group_suggested_keywords_response_ex import AdGroupSuggestedKeywordsResponseEx 18 | 19 | 20 | class TestAdGroupSuggestedKeywordsResponseEx(unittest.TestCase): 21 | """AdGroupSuggestedKeywordsResponseEx unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testAdGroupSuggestedKeywordsResponseEx(self): 30 | """Test AdGroupSuggestedKeywordsResponseEx""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = AdGroupSuggestedKeywordsResponseEx() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_keyword_bid_recommendations_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.suggested_bid import SuggestedBid 16 | globals()['SuggestedBid'] = SuggestedBid 17 | from amazon_ads_sponsored_products_client.model.keyword_bid_recommendations_response import KeywordBidRecommendationsResponse 18 | 19 | 20 | class TestKeywordBidRecommendationsResponse(unittest.TestCase): 21 | """KeywordBidRecommendationsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testKeywordBidRecommendationsResponse(self): 30 | """Test KeywordBidRecommendationsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = KeywordBidRecommendationsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_product_recommendations_response_recommended_products.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.product_recommendations_response_recommended_products import ProductRecommendationsResponseRecommendedProducts 16 | 17 | 18 | class TestProductRecommendationsResponseRecommendedProducts(unittest.TestCase): 19 | """ProductRecommendationsResponseRecommendedProducts unit test stubs""" 20 | 21 | def setUp(self): 22 | pass 23 | 24 | def tearDown(self): 25 | pass 26 | 27 | def testProductRecommendationsResponseRecommendedProducts(self): 28 | """Test ProductRecommendationsResponseRecommendedProducts""" 29 | # FIXME: construct object with mandatory attributes with example values 30 | # model = ProductRecommendationsResponseRecommendedProducts() # noqa: E501 31 | pass 32 | 33 | 34 | if __name__ == '__main__': 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /test/test_ad_group_bid_recommendations_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.suggested_bid import SuggestedBid 16 | globals()['SuggestedBid'] = SuggestedBid 17 | from amazon_ads_sponsored_products_client.model.ad_group_bid_recommendations_response import AdGroupBidRecommendationsResponse 18 | 19 | 20 | class TestAdGroupBidRecommendationsResponse(unittest.TestCase): 21 | """AdGroupBidRecommendationsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testAdGroupBidRecommendationsResponse(self): 30 | """Test AdGroupBidRecommendationsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = AdGroupBidRecommendationsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_product_ad_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.product_ad_ex_serving_status_details import ProductAdExServingStatusDetails 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['ProductAdExServingStatusDetails'] = ProductAdExServingStatusDetails 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.product_ad_ex import ProductAdEx 20 | 21 | 22 | class TestProductAdEx(unittest.TestCase): 23 | """ProductAdEx unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testProductAdEx(self): 32 | """Test ProductAdEx""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = ProductAdEx() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_campaign.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding import Bidding 16 | from amazon_ads_sponsored_products_client.model.campaign_tags import CampaignTags 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | globals()['Bidding'] = Bidding 19 | globals()['CampaignTags'] = CampaignTags 20 | globals()['State'] = State 21 | from amazon_ads_sponsored_products_client.model.campaign import Campaign 22 | 23 | 24 | class TestCampaign(unittest.TestCase): 25 | """Campaign unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testCampaign(self): 34 | """Test Campaign""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = Campaign() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_keyword_bid_recommendations_data_keywords.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | globals()['MatchType'] = MatchType 17 | from amazon_ads_sponsored_products_client.model.keyword_bid_recommendations_data_keywords import KeywordBidRecommendationsDataKeywords 18 | 19 | 20 | class TestKeywordBidRecommendationsDataKeywords(unittest.TestCase): 21 | """KeywordBidRecommendationsDataKeywords unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testKeywordBidRecommendationsDataKeywords(self): 30 | """Test KeywordBidRecommendationsDataKeywords""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = KeywordBidRecommendationsDataKeywords() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /docs/ProductAdEx.md: -------------------------------------------------------------------------------- 1 | # ProductAdEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ad_id** | **float** | The product ad identifier. | [optional] 8 | **campaign_id** | **float** | The campaign identifier. | [optional] 9 | **ad_group_id** | **float** | The ad group identifier. | [optional] 10 | **sku** | **str** | The SKU associated with the product. Defined for seller accounts only. | [optional] 11 | **asin** | **str** | The ASIN associated with the product. Defined for vendors only. | [optional] 12 | **state** | [**State**](State.md) | | [optional] 13 | **creation_date** | **float** | The epoch date the product ad was created. | [optional] 14 | **last_updated_date** | **float** | The epoch date the product ad was last updated. | [optional] 15 | **serving_status** | **str** | The computed status of the product ad. See the [developer notes](https://advertising.amazon.com/API/docs/en-us/get-started/developer-notes) for more information. | [optional] 16 | **serving_status_details** | [**[ProductAdExServingStatusDetails]**](ProductAdExServingStatusDetails.md) | Details of serving status. Only statuses related to moderation according to the ad policy are currently included. | [optional] 17 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 18 | 19 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 20 | 21 | 22 | -------------------------------------------------------------------------------- /test/test_campaign_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding import Bidding 16 | from amazon_ads_sponsored_products_client.model.campaign_tags import CampaignTags 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | globals()['Bidding'] = Bidding 19 | globals()['CampaignTags'] = CampaignTags 20 | globals()['State'] = State 21 | from amazon_ads_sponsored_products_client.model.campaign_ex import CampaignEx 22 | 23 | 24 | class TestCampaignEx(unittest.TestCase): 25 | """CampaignEx unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testCampaignEx(self): 34 | """Test CampaignEx""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = CampaignEx() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_create_negative_keyword.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.negative_match_type import NegativeMatchType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | globals()['NegativeMatchType'] = NegativeMatchType 18 | globals()['State'] = State 19 | from amazon_ads_sponsored_products_client.model.create_negative_keyword import CreateNegativeKeyword 20 | 21 | 22 | class TestCreateNegativeKeyword(unittest.TestCase): 23 | """CreateNegativeKeyword unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testCreateNegativeKeyword(self): 32 | """Test CreateNegativeKeyword""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = CreateNegativeKeyword() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /amazon_ads_sponsored_products_client/apis/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | # flake8: noqa 3 | 4 | # Import all APIs into this package. 5 | # If you have many APIs here with many many models used in each API this may 6 | # raise a `RecursionError`. 7 | # In order to avoid this, import only the API that you directly need like: 8 | # 9 | # from .api.ad_groups_api import AdGroupsApi 10 | # 11 | # or import this package, but before doing it, use: 12 | # 13 | # import sys 14 | # sys.setrecursionlimit(n) 15 | 16 | # Import APIs into API package: 17 | from amazon_ads_sponsored_products_client.api.ad_groups_api import AdGroupsApi 18 | from amazon_ads_sponsored_products_client.api.bid_recommendations_api import BidRecommendationsApi 19 | from amazon_ads_sponsored_products_client.api.campaign_negative_keywords_api import CampaignNegativeKeywordsApi 20 | from amazon_ads_sponsored_products_client.api.campaigns_api import CampaignsApi 21 | from amazon_ads_sponsored_products_client.api.keywords_api import KeywordsApi 22 | from amazon_ads_sponsored_products_client.api.negative_keywords_api import NegativeKeywordsApi 23 | from amazon_ads_sponsored_products_client.api.negative_product_targeting_api import NegativeProductTargetingApi 24 | from amazon_ads_sponsored_products_client.api.product_ads_api import ProductAdsApi 25 | from amazon_ads_sponsored_products_client.api.product_targeting_api import ProductTargetingApi 26 | from amazon_ads_sponsored_products_client.api.reports_api import ReportsApi 27 | from amazon_ads_sponsored_products_client.api.snapshots_api import SnapshotsApi 28 | from amazon_ads_sponsored_products_client.api.suggested_keywords_api import SuggestedKeywordsApi 29 | -------------------------------------------------------------------------------- /test/test_create_campaign.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding import Bidding 16 | from amazon_ads_sponsored_products_client.model.campaign_tags import CampaignTags 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | globals()['Bidding'] = Bidding 19 | globals()['CampaignTags'] = CampaignTags 20 | globals()['State'] = State 21 | from amazon_ads_sponsored_products_client.model.create_campaign import CreateCampaign 22 | 23 | 24 | class TestCreateCampaign(unittest.TestCase): 25 | """CreateCampaign unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testCreateCampaign(self): 34 | """Test CreateCampaign""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = CreateCampaign() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_update_campaign.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bidding import Bidding 16 | from amazon_ads_sponsored_products_client.model.campaign_tags import CampaignTags 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | globals()['Bidding'] = Bidding 19 | globals()['CampaignTags'] = CampaignTags 20 | globals()['State'] = State 21 | from amazon_ads_sponsored_products_client.model.update_campaign import UpdateCampaign 22 | 23 | 24 | class TestUpdateCampaign(unittest.TestCase): 25 | """UpdateCampaign unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testUpdateCampaign(self): 34 | """Test UpdateCampaign""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = UpdateCampaign() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_keyword_bid_recommendations_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.keyword_bid_recommendations_data_keywords import KeywordBidRecommendationsDataKeywords 16 | globals()['KeywordBidRecommendationsDataKeywords'] = KeywordBidRecommendationsDataKeywords 17 | from amazon_ads_sponsored_products_client.model.keyword_bid_recommendations_data import KeywordBidRecommendationsData 18 | 19 | 20 | class TestKeywordBidRecommendationsData(unittest.TestCase): 21 | """KeywordBidRecommendationsData unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testKeywordBidRecommendationsData(self): 30 | """Test KeywordBidRecommendationsData""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = KeywordBidRecommendationsData() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /docs/CreateCampaign.md: -------------------------------------------------------------------------------- 1 | # CreateCampaign 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **portfolio_id** | **float** | The identifier of an existing portfolio to which the campaign is associated. | [optional] 8 | **name** | **str** | A name for the campaign. | [optional] 9 | **tags** | [**CampaignTags**](CampaignTags.md) | | [optional] 10 | **campaign_type** | **str** | The advertising product managed by this campaign. | [optional] if omitted the server will use the default value of "sponsoredProducts" 11 | **targeting_type** | **str** | The type of targeting for the campaign. | [optional] 12 | **state** | [**State**](State.md) | | [optional] 13 | **daily_budget** | **float** | A daily budget for the campaign. | [optional] 14 | **start_date** | **str** | A starting date for the campaign to go live. The format of the date is YYYYMMDD. | [optional] 15 | **end_date** | **str, none_type** | An ending date for the campaign to stop running. The format of the date is YYYYMMDD. | [optional] 16 | **premium_bid_adjustment** | **bool** | If set to true, Amazon increases the default bid for ads that are eligible to appear in this placement. See developer notes for more information. | [optional] 17 | **bidding** | [**Bidding**](Bidding.md) | | [optional] 18 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 19 | 20 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/TargetingClauseEx.md: -------------------------------------------------------------------------------- 1 | # TargetingClauseEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The target identifier. | [optional] 8 | **campaign_id** | **float** | The identifier of the campaign to which this target is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this target is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The targeting expression. | [optional] 12 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 13 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 14 | **bid** | [**Bid**](Bid.md) | | [optional] 15 | **creation_date** | **float** | The epoch time that the targeting clause was created. | [optional] 16 | **last_updated_date** | **float** | The epoch time that the targeting clause was updated. | [optional] 17 | **serving_status** | **str** | The computed status of the targeting clause. See the [developer notes](https://advertising.amazon.com/API/docs/en-us/get-started/developer-notes) for more information. | [optional] 18 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 19 | 20 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/test_reports_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import unittest 12 | 13 | import amazon_ads_sponsored_products_client 14 | from amazon_ads_sponsored_products_client.api.reports_api import ReportsApi # noqa: E501 15 | 16 | 17 | class TestReportsApi(unittest.TestCase): 18 | """ReportsApi unit test stubs""" 19 | 20 | def setUp(self): 21 | self.api = ReportsApi() # noqa: E501 22 | 23 | def tearDown(self): 24 | pass 25 | 26 | def test_download_report(self): 27 | """Test case for download_report 28 | 29 | Downloads a previously requested report identified by report ID. # noqa: E501 30 | """ 31 | pass 32 | 33 | def test_get_report(self): 34 | """Test case for get_report 35 | 36 | Gets a previously requested report specified by identifier. # noqa: E501 37 | """ 38 | pass 39 | 40 | def test_request_report(self): 41 | """Test case for request_report 42 | 43 | Requests a Sponsored Products report. # noqa: E501 44 | """ 45 | pass 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() 50 | -------------------------------------------------------------------------------- /test/test_get_asin_suggested_keywords_response_suggested_keywords.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.match_type import MatchType 16 | globals()['MatchType'] = MatchType 17 | from amazon_ads_sponsored_products_client.model.get_asin_suggested_keywords_response_suggested_keywords import GetAsinSuggestedKeywordsResponseSuggestedKeywords 18 | 19 | 20 | class TestGetAsinSuggestedKeywordsResponseSuggestedKeywords(unittest.TestCase): 21 | """GetAsinSuggestedKeywordsResponseSuggestedKeywords unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testGetAsinSuggestedKeywordsResponseSuggestedKeywords(self): 30 | """Test GetAsinSuggestedKeywordsResponseSuggestedKeywords""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = GetAsinSuggestedKeywordsResponseSuggestedKeywords() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_product_recommendations_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.product_recommendations_response_recommended_products import ProductRecommendationsResponseRecommendedProducts 16 | globals()['ProductRecommendationsResponseRecommendedProducts'] = ProductRecommendationsResponseRecommendedProducts 17 | from amazon_ads_sponsored_products_client.model.product_recommendations_response import ProductRecommendationsResponse 18 | 19 | 20 | class TestProductRecommendationsResponse(unittest.TestCase): 21 | """ProductRecommendationsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testProductRecommendationsResponse(self): 30 | """Test ProductRecommendationsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = ProductRecommendationsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /docs/Campaign.md: -------------------------------------------------------------------------------- 1 | # Campaign 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **portfolio_id** | **float** | The identifier of an existing portfolio to which the campaign is associated. | [optional] 8 | **campaign_id** | **float** | The identifier of the campaign. | [optional] 9 | **name** | **str** | The name of the campaign. | [optional] 10 | **tags** | [**CampaignTags**](CampaignTags.md) | | [optional] 11 | **campaign_type** | **str** | The advertising product managed by this campaign. | [optional] if omitted the server will use the default value of "sponsoredProducts" 12 | **targeting_type** | **str** | The type of targeting of the campaign. | [optional] 13 | **state** | [**State**](State.md) | | [optional] 14 | **daily_budget** | **float** | The daily budget of the campaign. | [optional] 15 | **start_date** | **str** | The starting date of the campaign. The format of the date is YYYYMMDD. | [optional] 16 | **end_date** | **str** | The ending date of the campaign to stop running. The format of the date is YYYYMMDD. | [optional] 17 | **premium_bid_adjustment** | **bool** | If set to true, Amazon increases the default bid for ads that are eligible to appear in this placement. See developer notes for more information. | [optional] 18 | **bidding** | [**Bidding**](Bidding.md) | | [optional] 19 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 20 | 21 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/NegativeTargetingClauseEx.md: -------------------------------------------------------------------------------- 1 | # NegativeTargetingClauseEx 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **target_id** | **float** | The negative target identifier. | [optional] 8 | **campaign_id** | **float** | The identifier of the campaign to which this negative target is associated. | [optional] 9 | **ad_group_id** | **float** | The identifier of the ad group to which this negative target is associated. | [optional] 10 | **state** | [**State**](State.md) | | [optional] 11 | **expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The negative targeting expression. | [optional] 12 | **resolved_expression** | [**[TargetingExpressionPredicate]**](TargetingExpressionPredicate.md) | The resolved targeting expression. | [optional] 13 | **expression_type** | [**ExpressionType**](ExpressionType.md) | | [optional] 14 | **creation_date** | **float** | The epoch time that the negative targeting clause was created. | [optional] 15 | **last_updated_date** | **float** | The epoch time that the negative targeting clause was updated. | [optional] 16 | **serving_status** | **str** | The computed status of the negative targeting clause. See the [developer notes](https://advertising.amazon.com/API/docs/en-us/get-started/developer-notes) for more information. | [optional] 17 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 18 | 19 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 20 | 21 | 22 | -------------------------------------------------------------------------------- /test/test_get_asin_suggested_keywords_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.get_asin_suggested_keywords_response_suggested_keywords import GetAsinSuggestedKeywordsResponseSuggestedKeywords 16 | globals()['GetAsinSuggestedKeywordsResponseSuggestedKeywords'] = GetAsinSuggestedKeywordsResponseSuggestedKeywords 17 | from amazon_ads_sponsored_products_client.model.get_asin_suggested_keywords_response import GetAsinSuggestedKeywordsResponse 18 | 19 | 20 | class TestGetAsinSuggestedKeywordsResponse(unittest.TestCase): 21 | """GetAsinSuggestedKeywordsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testGetAsinSuggestedKeywordsResponse(self): 30 | """Test GetAsinSuggestedKeywordsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = GetAsinSuggestedKeywordsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_bid_recommendations_for_targets_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid_recommendations_for_targets_response_recommendations import BidRecommendationsForTargetsResponseRecommendations 16 | globals()['BidRecommendationsForTargetsResponseRecommendations'] = BidRecommendationsForTargetsResponseRecommendations 17 | from amazon_ads_sponsored_products_client.model.bid_recommendations_for_targets_response import BidRecommendationsForTargetsResponse 18 | 19 | 20 | class TestBidRecommendationsForTargetsResponse(unittest.TestCase): 21 | """BidRecommendationsForTargetsResponse unit test stubs""" 22 | 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testBidRecommendationsForTargetsResponse(self): 30 | """Test BidRecommendationsForTargetsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = BidRecommendationsForTargetsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_inline_response200_recommendations.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.suggested_bid import SuggestedBid 16 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 17 | globals()['SuggestedBid'] = SuggestedBid 18 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 19 | from amazon_ads_sponsored_products_client.model.inline_response200_recommendations import InlineResponse200Recommendations 20 | 21 | 22 | class TestInlineResponse200Recommendations(unittest.TestCase): 23 | """InlineResponse200Recommendations unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testInlineResponse200Recommendations(self): 32 | """Test InlineResponse200Recommendations""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = InlineResponse200Recommendations() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_negative_targeting_clause.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 18 | globals()['ExpressionType'] = ExpressionType 19 | globals()['State'] = State 20 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 21 | from amazon_ads_sponsored_products_client.model.negative_targeting_clause import NegativeTargetingClause 22 | 23 | 24 | class TestNegativeTargetingClause(unittest.TestCase): 25 | """NegativeTargetingClause unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testNegativeTargetingClause(self): 34 | """Test NegativeTargetingClause""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = NegativeTargetingClause() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_negative_targeting_clause_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 18 | globals()['ExpressionType'] = ExpressionType 19 | globals()['State'] = State 20 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 21 | from amazon_ads_sponsored_products_client.model.negative_targeting_clause_ex import NegativeTargetingClauseEx 22 | 23 | 24 | class TestNegativeTargetingClauseEx(unittest.TestCase): 25 | """NegativeTargetingClauseEx unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testNegativeTargetingClauseEx(self): 34 | """Test NegativeTargetingClauseEx""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = NegativeTargetingClauseEx() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_targeting_clause.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid import Bid 16 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 19 | globals()['Bid'] = Bid 20 | globals()['ExpressionType'] = ExpressionType 21 | globals()['State'] = State 22 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 23 | from amazon_ads_sponsored_products_client.model.targeting_clause import TargetingClause 24 | 25 | 26 | class TestTargetingClause(unittest.TestCase): 27 | """TargetingClause unit test stubs""" 28 | 29 | def setUp(self): 30 | pass 31 | 32 | def tearDown(self): 33 | pass 34 | 35 | def testTargetingClause(self): 36 | """Test TargetingClause""" 37 | # FIXME: construct object with mandatory attributes with example values 38 | # model = TargetingClause() # noqa: E501 39 | pass 40 | 41 | 42 | if __name__ == '__main__': 43 | unittest.main() 44 | -------------------------------------------------------------------------------- /test/test_targeting_clause_ex.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid import Bid 16 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 19 | globals()['Bid'] = Bid 20 | globals()['ExpressionType'] = ExpressionType 21 | globals()['State'] = State 22 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 23 | from amazon_ads_sponsored_products_client.model.targeting_clause_ex import TargetingClauseEx 24 | 25 | 26 | class TestTargetingClauseEx(unittest.TestCase): 27 | """TargetingClauseEx unit test stubs""" 28 | 29 | def setUp(self): 30 | pass 31 | 32 | def tearDown(self): 33 | pass 34 | 35 | def testTargetingClauseEx(self): 36 | """Test TargetingClauseEx""" 37 | # FIXME: construct object with mandatory attributes with example values 38 | # model = TargetingClauseEx() # noqa: E501 39 | pass 40 | 41 | 42 | if __name__ == '__main__': 43 | unittest.main() 44 | -------------------------------------------------------------------------------- /test/test_create_negative_targeting_clause.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 18 | globals()['ExpressionType'] = ExpressionType 19 | globals()['State'] = State 20 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 21 | from amazon_ads_sponsored_products_client.model.create_negative_targeting_clause import CreateNegativeTargetingClause 22 | 23 | 24 | class TestCreateNegativeTargetingClause(unittest.TestCase): 25 | """CreateNegativeTargetingClause unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testCreateNegativeTargetingClause(self): 34 | """Test CreateNegativeTargetingClause""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = CreateNegativeTargetingClause() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_update_negative_targeting_clause.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 16 | from amazon_ads_sponsored_products_client.model.state import State 17 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 18 | globals()['ExpressionType'] = ExpressionType 19 | globals()['State'] = State 20 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 21 | from amazon_ads_sponsored_products_client.model.update_negative_targeting_clause import UpdateNegativeTargetingClause 22 | 23 | 24 | class TestUpdateNegativeTargetingClause(unittest.TestCase): 25 | """UpdateNegativeTargetingClause unit test stubs""" 26 | 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testUpdateNegativeTargetingClause(self): 34 | """Test UpdateNegativeTargetingClause""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = UpdateNegativeTargetingClause() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_bid_recommendations_for_targets_response_recommendations.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.suggested_bid import SuggestedBid 16 | from amazon_ads_sponsored_products_client.model.targeting_expression import TargetingExpression 17 | globals()['SuggestedBid'] = SuggestedBid 18 | globals()['TargetingExpression'] = TargetingExpression 19 | from amazon_ads_sponsored_products_client.model.bid_recommendations_for_targets_response_recommendations import BidRecommendationsForTargetsResponseRecommendations 20 | 21 | 22 | class TestBidRecommendationsForTargetsResponseRecommendations(unittest.TestCase): 23 | """BidRecommendationsForTargetsResponseRecommendations unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testBidRecommendationsForTargetsResponseRecommendations(self): 32 | """Test BidRecommendationsForTargetsResponseRecommendations""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = BidRecommendationsForTargetsResponseRecommendations() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_create_targeting_clause.py: -------------------------------------------------------------------------------- 1 | """ 2 | Amazon Ads API - Sponsored Products 3 | 4 | Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.

# noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | 11 | import sys 12 | import unittest 13 | 14 | import amazon_ads_sponsored_products_client 15 | from amazon_ads_sponsored_products_client.model.bid import Bid 16 | from amazon_ads_sponsored_products_client.model.expression_type import ExpressionType 17 | from amazon_ads_sponsored_products_client.model.state import State 18 | from amazon_ads_sponsored_products_client.model.targeting_expression_predicate import TargetingExpressionPredicate 19 | globals()['Bid'] = Bid 20 | globals()['ExpressionType'] = ExpressionType 21 | globals()['State'] = State 22 | globals()['TargetingExpressionPredicate'] = TargetingExpressionPredicate 23 | from amazon_ads_sponsored_products_client.model.create_targeting_clause import CreateTargetingClause 24 | 25 | 26 | class TestCreateTargetingClause(unittest.TestCase): 27 | """CreateTargetingClause unit test stubs""" 28 | 29 | def setUp(self): 30 | pass 31 | 32 | def tearDown(self): 33 | pass 34 | 35 | def testCreateTargetingClause(self): 36 | """Test CreateTargetingClause""" 37 | # FIXME: construct object with mandatory attributes with example values 38 | # model = CreateTargetingClause() # noqa: E501 39 | pass 40 | 41 | 42 | if __name__ == '__main__': 43 | unittest.main() 44 | --------------------------------------------------------------------------------