Skip to content

Commit 6e8a311

Browse files
authored
Release 0.1.8 (#30)
* feat: new release 0.1.8 * fix: ci variable * fix: pypi release
1 parent 462c43c commit 6e8a311

File tree

552 files changed

+18785
-2071
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

552 files changed

+18785
-2071
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
python-version: ${{ matrix.python-version }}
1919
- name: Run all integration tests
2020
env:
21-
REFRESH_ACCESS_TOKEN: ${{ secrets.CI_REFRESH_ACCESS_TOKEN }}
22-
APP_SECRET: ${{ secrets.CI_APP_SECRET }}
23-
APP_ID: ${{ secrets.CI_APP_ID }}
24-
API_URI: ${{ secrets.CI_HOST_URI }}
21+
PINTEREST_JSON_ENV_VARIABLES: ${{ secrets.CI_INTEG_TEST_JSON }}
2522
run: |
2623
python -m pip install --upgrade pip
2724
cd integration_test

.openapi-generator/FILES

Lines changed: 123 additions & 24 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 57 additions & 18 deletions
Large diffs are not rendered by default.

docs/Account.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**account_type** | **str** | Type of account | [optional]
8+
**id** | **str** | User account ID. | [optional]
89
**profile_image** | **str** | | [optional]
910
**website_url** | **str** | | [optional]
1011
**username** | **str** | | [optional]
12+
**about** | **str** | Profile about description. | [optional]
13+
**business_name** | **str, none_type** | | [optional]
14+
**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]
15+
**pin_count** | **int, none_type** | User account pin count. This includes both created and saved pins. | [optional] [readonly]
16+
**follower_count** | **int, none_type** | User account follower count. | [optional] [readonly]
17+
**following_count** | **int, none_type** | User account following count. | [optional] [readonly]
18+
**monthly_views** | **int, none_type** | User account monthly views. | [optional] [readonly]
1119
**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]
1220

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

docs/ActionType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Ad group billable event type.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**value** | **str** | Ad group billable event type. | must be one of ["CLICKTHROUGH", "IMPRESSION", "VIDEO_V_50_MRC", "BILLABLE_ENGAGEMENT", ]
8+
**value** | **str** | Ad group billable event type. | must be one of ["CLICKTHROUGH", "IMPRESSION", "VIDEO_V_50_MRC", ]
99

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

docs/AdAccountOwner.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**username** | **str** | Public username for the user account | [optional]
8+
**id** | **str** | The owning account's user ID. | [optional]
89
**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]
910

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

docs/AdAccountsApi.md

Lines changed: 209 additions & 12 deletions
Large diffs are not rendered by default.

docs/AdGroupCommon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**budget_type** | **str** | | [optional]
1313
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
1414
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
15-
**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]
15+
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
1616
**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]
1717
**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]
1818
**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]

docs/AdGroupCreateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**budget_type** | **str** | | [optional] if omitted the server will use the default value of "DAILY"
1515
**start_time** | **int, none_type** | Ad group start time. Unix timestamp in seconds. Defaults to current time. | [optional]
1616
**end_time** | **int, none_type** | Ad group end time. Unix timestamp in seconds. | [optional]
17-
**targeting_spec** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
17+
**targeting_spec** | [**TargetingSpec**](TargetingSpec.md) | | [optional]
1818
**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]
1919
**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]
2020
**auto_targeting_enabled** | **bool** | | [optional] if omitted the server will use the default value of True

docs/AdGroupCreateRequestAllOf.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**targeting_spec** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
87
**pacing_delivery_type** | **str** | | [optional] if omitted the server will use the default value of "STANDARD"
98
**auto_targeting_enabled** | **bool** | | [optional] if omitted the server will use the default value of True
109
**budget_type** | **str** | | [optional] if omitted the server will use the default value of "DAILY"

0 commit comments

Comments
 (0)