Skip to content

Commit

Permalink
Release 0.1.8 (#30)
Browse files Browse the repository at this point in the history
* feat: new release 0.1.8

* fix: ci variable

* fix: pypi release
  • Loading branch information
dfana01 authored Aug 4, 2023
1 parent 462c43c commit 6e8a311
Show file tree
Hide file tree
Showing 552 changed files with 18,785 additions and 2,071 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Run all integration tests
env:
REFRESH_ACCESS_TOKEN: ${{ secrets.CI_REFRESH_ACCESS_TOKEN }}
APP_SECRET: ${{ secrets.CI_APP_SECRET }}
APP_ID: ${{ secrets.CI_APP_ID }}
API_URI: ${{ secrets.CI_HOST_URI }}
PINTEREST_JSON_ENV_VARIABLES: ${{ secrets.CI_INTEG_TEST_JSON }}
run: |
python -m pip install --upgrade pip
cd integration_test
Expand Down
147 changes: 123 additions & 24 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

75 changes: 57 additions & 18 deletions README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**account_type** | **str** | Type of account | [optional]
**id** | **str** | User account ID. | [optional]
**profile_image** | **str** | | [optional]
**website_url** | **str** | | [optional]
**username** | **str** | | [optional]
**about** | **str** | Profile about description. | [optional]
**business_name** | **str, none_type** | | [optional]
**board_count** | **int, none_type** | User account board count.<br/>**Note**: Board count on user account level may differ from counts found elsewhere due to attribution of collaborative Boards. | [optional] [readonly]
**pin_count** | **int, none_type** | User account pin count. This includes both created and saved pins. | [optional] [readonly]
**follower_count** | **int, none_type** | User account follower count. | [optional] [readonly]
**following_count** | **int, none_type** | User account following count. | [optional] [readonly]
**monthly_views** | **int, none_type** | User account monthly views. | [optional] [readonly]
**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]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/ActionType.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Ad group billable event type.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | Ad group billable event type. | must be one of ["CLICKTHROUGH", "IMPRESSION", "VIDEO_V_50_MRC", "BILLABLE_ENGAGEMENT", ]
**value** | **str** | Ad group billable event type. | must be one of ["CLICKTHROUGH", "IMPRESSION", "VIDEO_V_50_MRC", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/AdAccountOwner.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**username** | **str** | Public username for the user account | [optional]
**id** | **str** | The owning account's user ID. | [optional]
**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]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
221 changes: 209 additions & 12 deletions docs/AdAccountsApi.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/AdGroupCommon.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**budget_type** | **str** | | [optional]
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
**targeting_spec** | **{str: ([str],)}** | Ad group targeting specification defining the ad group target audience. For example, '{\"APPTYPE\":[\"iphone\"], \"GENDER\":[\"male\"], \"LOCALE\":[\"en-US\"], \"LOCATION\":[\"501\"], \"AGE_BUCKET\":[\"25-34\"]}' | [optional]
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
**lifetime_frequency_cap** | **int** | Set a limit to the number of times a promoted pin from this campaign can be impressed by a pinner within the past rolling 30 days. Only available for CPM (cost per mille (1000 impressions)) ad groups. A CPM ad group has an IMPRESSION <a href=\"https://developers.pinterest.com/docs/redoc/#section/Billable-event\">billable_event</a> value. This field **REQUIRES** the `end_time` field. | [optional]
**tracking_urls** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | Third-party tracking URLs.<br> JSON object with the format: {\"<a href=\"https://developers.pinterest.com/docs/redoc/#section/Tracking-URL-event\">Tracking event enum</a>\":[URL string array],...}<br> For example: {\"impression\": [\"URL1\", \"URL2\"], \"click\": [\"URL1\", \"URL2\", \"URL3\"]}.<br>Up to three tracking URLs are supported for each event type. Tracking URLs set at the ad group or ad level can override those set at the campaign level. May be null. Pass in an empty object - {} - to remove tracking URLs.<br><br> For more information, see <a href=\"https://help.pinterest.com/en/business/article/third-party-and-dynamic-tracking\" target=\"_blank\">Third-party and dynamic tracking</a>. | [optional]
**auto_targeting_enabled** | **bool, none_type** | Enable auto-targeting for ad group. Also known as <a href=\"https://help.pinterest.com/en/business/article/expanded-targeting\" target=\"_blank\">\"expanded targeting\"</a>. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/AdGroupCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**budget_type** | **str** | | [optional] if omitted the server will use the default value of "DAILY"
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
**targeting_spec** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
**lifetime_frequency_cap** | **int** | Set a limit to the number of times a promoted pin from this campaign can be impressed by a pinner within the past rolling 30 days. Only available for CPM (cost per mille (1000 impressions)) ad groups. A CPM ad group has an IMPRESSION <a href=\"https://developers.pinterest.com/docs/redoc/#section/Billable-event\">billable_event</a> value. This field **REQUIRES** the `end_time` field. | [optional]
**tracking_urls** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | Third-party tracking URLs.<br> JSON object with the format: {\"<a href=\"https://developers.pinterest.com/docs/redoc/#section/Tracking-URL-event\">Tracking event enum</a>\":[URL string array],...}<br> For example: {\"impression\": [\"URL1\", \"URL2\"], \"click\": [\"URL1\", \"URL2\", \"URL3\"]}.<br>Up to three tracking URLs are supported for each event type. Tracking URLs set at the ad group or ad level can override those set at the campaign level. May be null. Pass in an empty object - {} - to remove tracking URLs.<br><br> For more information, see <a href=\"https://help.pinterest.com/en/business/article/third-party-and-dynamic-tracking\" target=\"_blank\">Third-party and dynamic tracking</a>. | [optional]
**auto_targeting_enabled** | **bool** | | [optional] if omitted the server will use the default value of True
Expand Down
1 change: 0 additions & 1 deletion docs/AdGroupCreateRequestAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**targeting_spec** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**pacing_delivery_type** | **str** | | [optional] if omitted the server will use the default value of "STANDARD"
**auto_targeting_enabled** | **bool** | | [optional] if omitted the server will use the default value of True
**budget_type** | **str** | | [optional] if omitted the server will use the default value of "DAILY"
Expand Down
2 changes: 1 addition & 1 deletion docs/AdGroupResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**budget_type** | **str** | | [optional]
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
**targeting_spec** | **{str: ([str],)}** | Ad group targeting specification defining the ad group target audience. For example, '{\"APPTYPE\":[\"iphone\"], \"GENDER\":[\"male\"], \"LOCALE\":[\"en-US\"], \"LOCATION\":[\"501\"], \"AGE_BUCKET\":[\"25-34\"]}' | [optional]
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
**lifetime_frequency_cap** | **int** | Set a limit to the number of times a promoted pin from this campaign can be impressed by a pinner within the past rolling 30 days. Only available for CPM (cost per mille (1000 impressions)) ad groups. A CPM ad group has an IMPRESSION <a href=\"https://developers.pinterest.com/docs/redoc/#section/Billable-event\">billable_event</a> value. This field **REQUIRES** the `end_time` field. | [optional]
**tracking_urls** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | Third-party tracking URLs.<br> JSON object with the format: {\"<a href=\"https://developers.pinterest.com/docs/redoc/#section/Tracking-URL-event\">Tracking event enum</a>\":[URL string array],...}<br> For example: {\"impression\": [\"URL1\", \"URL2\"], \"click\": [\"URL1\", \"URL2\", \"URL3\"]}.<br>Up to three tracking URLs are supported for each event type. Tracking URLs set at the ad group or ad level can override those set at the campaign level. May be null. Pass in an empty object - {} - to remove tracking URLs.<br><br> For more information, see <a href=\"https://help.pinterest.com/en/business/article/third-party-and-dynamic-tracking\" target=\"_blank\">Third-party and dynamic tracking</a>. | [optional]
**auto_targeting_enabled** | **bool, none_type** | Enable auto-targeting for ad group. Also known as <a href=\"https://help.pinterest.com/en/business/article/expanded-targeting\" target=\"_blank\">\"expanded targeting\"</a>. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/AdGroupUpdateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**budget_type** | **str** | | [optional]
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
**targeting_spec** | **{str: ([str],)}** | Ad group targeting specification defining the ad group target audience. For example, '{\"APPTYPE\":[\"iphone\"], \"GENDER\":[\"male\"], \"LOCALE\":[\"en-US\"], \"LOCATION\":[\"501\"], \"AGE_BUCKET\":[\"25-34\"]}' | [optional]
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
**lifetime_frequency_cap** | **int** | Set a limit to the number of times a promoted pin from this campaign can be impressed by a pinner within the past rolling 30 days. Only available for CPM (cost per mille (1000 impressions)) ad groups. A CPM ad group has an IMPRESSION <a href=\"https://developers.pinterest.com/docs/redoc/#section/Billable-event\">billable_event</a> value. This field **REQUIRES** the `end_time` field. | [optional]
**tracking_urls** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | Third-party tracking URLs.<br> JSON object with the format: {\"<a href=\"https://developers.pinterest.com/docs/redoc/#section/Tracking-URL-event\">Tracking event enum</a>\":[URL string array],...}<br> For example: {\"impression\": [\"URL1\", \"URL2\"], \"click\": [\"URL1\", \"URL2\", \"URL3\"]}.<br>Up to three tracking URLs are supported for each event type. Tracking URLs set at the ad group or ad level can override those set at the campaign level. May be null. Pass in an empty object - {} - to remove tracking URLs.<br><br> For more information, see <a href=\"https://help.pinterest.com/en/business/article/third-party-and-dynamic-tracking\" target=\"_blank\">Third-party and dynamic tracking</a>. | [optional]
**auto_targeting_enabled** | **bool, none_type** | Enable auto-targeting for ad group. Also known as <a href=\"https://help.pinterest.com/en/business/article/expanded-targeting\" target=\"_blank\">\"expanded targeting\"</a>. | [optional]
Expand Down
Loading

0 comments on commit 6e8a311

Please sign in to comment.