Skip to content

✨ Source Facebook Marketing: Added fields in campaign schema - #8257

Merged
M. Marx (marcosmarxm) merged 6 commits into
airbytehq:masterfrom
mlavoie-sm360:source-facebook-marketing-added-fields-to-campaign-schema
Dec 16, 2021
Merged

M. Marx (marcosmarxm) merged 6 commits into
airbytehq:masterfrom
mlavoie-sm360:source-facebook-marketing-added-fields-to-campaign-schema

Conversation

@mlavoie-sm360

@mlavoie-sm360 mlavoie-sm360 commented Nov 25, 2021 •

Copy link
Copy Markdown
Contributor

What

How

  • Added fields to campaigns json schema

🚨 User Impact 🚨

  • Adds new fields to stream

Pre-merge Checklist

Expand the relevant checklist and delete the others.

Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • Credentials added to Github CI. Instructions.
  • /test connector=connectors/<name> command is passing.
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the new connector version is published, connector version bumped in the seed directory as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here

@harshithmullapudi

Copy link
Copy Markdown
Contributor

Hey mlavoie-sm360 thanks for the contribution. Can you check this doc https://docs.airbyte.io/connector-development#updating-an-existing-connector and do later steps so that it's ready for review ?

@github-actions github-actions Bot added the area/documentation Improvements or additions to documentation label Nov 29, 2021
@mlavoie-sm360

Copy link
Copy Markdown
Contributor Author

Harshith Mullapudi (@harshithmullapudi), not a problem. I have completed the few remaining steps, except for the code review. Is that something that someone from airbyte will do?

@avida Dmytro (avida) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! For the future we would need to create a script to generate all missed fields from facebook specs: https://github.com/facebook/facebook-business-sdk-codegen/tree/65d97be34890e15057c0bac43504f0d34ca86318/api_specs/specs

@avida

Copy link
Copy Markdown
Contributor

Looks like there is already such kind of script for fb pages connector #8267 midavadim Would it work for fb marketing? I noticed it doesnt support nested types like list, am I right?

@mlavoie-sm360

Copy link
Copy Markdown
Contributor Author

Thanks Dmytro (@avida), regarding generating all missed fields, I think that's a really good idea, perhaps we open a separate issue specifically for that request.

@midavadim

Copy link
Copy Markdown
Contributor

Hi, I think it would be possible top generate full schemas for this connector as well.

I noticed it doesn't support nested types like list, am I right? -
It supports nested types but only 1 level inside, because nested type refers to other nested types and could refer to itself and create 'reference loops'.

@marcosmarxm
M. Marx (marcosmarxm) temporarily deployed to more-secrets December 16, 2021 21:24 Inactive
@marcosmarxm
M. Marx (marcosmarxm) merged commit b018769 into airbytehq:master Dec 16, 2021
@grubberr

Serhii Chvaliuk (grubberr) commented Dec 17, 2021 •

Copy link
Copy Markdown
Contributor

/test connector=connectors/source-facebook-marketing

Error: No ref found for: source-facebook-marketing-added-fields-to-campaign-schema

Konrad Schlatte (schlattk) pushed a commit to schlattk/airbyte that referenced this pull request Jan 4, 2022
…hq#8257)

* Updated campaigns.json

* Source Facebook Marketing: Added support for multiple Facebook accounts

Updated version & changelog

Closes airbytehq#7740

* Executed pre-commit routine

* bump connector version

Co-authored-by: Marcos Marx <marcosmarxm@gmail.com>

This branch was previously deployed

1 inactive deployment
more-secrets — 10db7ac0 Deployed Dec 16, 2021 by marcosmarxm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants