Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiktok API version upgrade schema changes #24

Merged
merged 29 commits into from Aug 3, 2023

Conversation

sgandhi1311
Copy link
Member

@sgandhi1311 sgandhi1311 commented Jul 14, 2023

Description of change

* Contains the schema changes as per the new API.
* Removal of query parameters, changes in URL and response Structure.
* Authentication Endpoints upgrade.
* Removal and renaming of fields, update data type of fields.
* Fix the breaking unit test cases.

Introduce new stream (campaign_insights_by_province)- #25

Manual QA steps

  • Locally tested the sync for streams after the customer granted the permission to clone the connection.
  • Pagination and bookmarking are working
  • Transformation is working with the newly added fields/ updated data type field.

Risks

  • Medium.

Rollback steps

  • revert this branch

sgandhi1311 and others added 3 commits July 27, 2023 11:17
* Add new stream - campaign_insights_by_province

* update base.py with the new stream - campaign_insights_by_province

* remove user_action field from the campaign insights stream

* update the README.md file to include the latest stream details.

* format the campaign insights json file

* update field type for conversion rates

* remove campaigns by province stream from start date and pagination
* Refactoring the code

* add custom field-current_status in the schema

* add param primary_status with value STATUS_DELETE to retrieve deleted records

* fix the code for getting values from config

* move the refactoring code to different branch

* add unit test case to check the flow

* fix failing test case

* add current_status field in the adgroups and advertiser schema
@sgandhi1311 sgandhi1311 merged commit 74d6e4a into master Aug 3, 2023
3 checks passed
sgandhi1311 added a commit that referenced this pull request Aug 17, 2023
* modify API endpoint

* add fields in the campaigns schema

* schema changes for adgroup

* fix unit test

* Schema changes for ads stream

* advertisers schema change

* update Advertisers key properties

* update field types for insight/s streams

* set the advertiser_id if it is not present in record

* update placement field to placement_type

* setup and changelog updates

* add few more fields in the ads and adgroups stream

* pass the advertiser_id in the param as json formatted string

* fix failing unit test cases

* update changelog

* add new fields for the insight related streams

* address review comments

* add  new field - rf_campaign_type in the schemas

* remove aeo_type field

* update primary key for advertisers stream in the base.py

* modify all fields test

* update docs links in readme

* update field type for conversion rates

* retry for code - 40100

* fix the integration tests

* remove few fields from test all field test

* Introduce new stream - campaign_insights_by_province (#25)

* Add new stream - campaign_insights_by_province

* update base.py with the new stream - campaign_insights_by_province

* remove user_action field from the campaign insights stream

* update the README.md file to include the latest stream details.

* format the campaign insights json file

* update field type for conversion rates

* remove campaigns by province stream from start date and pagination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants