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

Source Tiktok: wrong type in campaign schema #9491

Closed
Tracked by #11029
marcosmarxm opened this issue Jan 13, 2022 · 2 comments · Fixed by #11378
Closed
Tracked by #11029

Source Tiktok: wrong type in campaign schema #9491

marcosmarxm opened this issue Jan 13, 2022 · 2 comments · Fixed by #11378
Assignees
Labels
area/connectors Connector related issues type/bug Something isn't working

Comments

@marcosmarxm
Copy link
Member

Environment

  • Airbyte version: 0.32.2-alpha
  • OS Version / Instance: Not informed.
  • Deployment: Not informed.
  • Source Connector and version: Tiktok 0.1.1
  • Destination Connector and version: Bigquery 0.3.7
  • Severity: Very Low / Low / Medium / High / Critical
  • Step where error happened: Deploy / Sync job / Setup new connection / Update connector / Upgrade Airbyte

Current Behavior

Sync fails during normalization

Expected Behavior

Should work

Logs

Complete logs: logs-106032-0.txt

Steps to Reproduce

Are you willing to submit a PR?

No

@marcosmarxm marcosmarxm added type/bug Something isn't working area/connectors Connector related issues connectors/source/tiktok labels Jan 13, 2022
@midavadim midavadim self-assigned this Mar 14, 2022
@midavadim
Copy link
Contributor

According to official docs https://ads.tiktok.com/marketing_api/docs?id=1708582970809346:
'campaigns' stream has 'bid_type' attr name with 'number' type.

but log message says that value was 'BID_TYPE_NO_BID'
Database Error in model test_tiktok_campaigns (models/generated/airbyte_tables/airbyte/test_tiktok_campaigns.sql
Bad double value: BID_TYPE_NO_BID

So seems like, this is actually 'string' with 'enumeration'. which can be found in Enumeration doc:

https://ads.tiktok.com/marketing_api/docs?id=1701890985340929
Bidding Strategy (bid_type)

SOLUTION change type from number to string for 'campaigns' stream 'bid_type' attr name

@ayyoubmaulana
Copy link

ayyoubmaulana commented Mar 18, 2022

so for this issue we need to change type in TikTok Ads Dashboard from number to string ? @midavadim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues type/bug Something isn't working
Projects
No open projects
Status: Implementation in progress
3 participants