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

🎉 Amazon Ads - new streams for bids and keyword recommendations #28002

Conversation

midavadim
Copy link
Collaborator

@midavadim midavadim commented Jul 6, 2023

What

SponsoredProductAdGroupSuggestedKeywords:
Latest API:
https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod#/Keyword%20Targets/getRankedKeywordRecommendation
POST /sp/targets/keywords/recommendations
Note: does not work, always get "403 Forbidden"

V2 API:
https://advertising.amazon.com/API/docs/en-us/sponsored-products/2-0/openapi#/Suggested%20keywords
GET /v2/sp/adGroups/{{adGroupId}}>/suggested/keywords

SponsoredProductAdGroupBidRecommendations:
Latest API:
https://advertising.amazon.com/API/docs/en-us/sponsored-display/3-0/openapi#/Bid%20Recommendations/getTargetBidRecommendations
POST /sd/targets/bid/recommendations
Note: does not work, always get "403 Forbidden"

V2 API:
https://advertising.amazon.com/API/docs/en-us/sponsored-products/2-0/openapi#/Bid%20recommendations/getAdGroupBidRecommendations
GET /v2/sp/adGroups/{adGroupId}/bidRecommendations

Recommended reading order

  1. x.java
  2. y.python

🚨 User Impact 🚨

No

@octavia-squidington-iii octavia-squidington-iii added the area/connectors Connector related issues label Jul 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan and you've followed all steps in the Breaking Changes Checklist
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • The connector tests are passing in CI
  • You've updated the connector's metadata.yaml file (new!)
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jul 6, 2023
…keyword_recommendations

# Conflicts:
#	airbyte-integrations/connectors/source-amazon-ads/integration_tests/expected_records.jsonl
#	docs/integrations/sources/amazon-ads.md
@midavadim
Copy link
Collaborator Author

midavadim commented Jul 6, 2023

/test connector=connectors/source-amazon-ads

⚠️ The test slash command is now deprecated.

The connector tests are automatically triggered as CI checks.

Please use /legacy-test if you need to test CDK or CAT changes.

Please join post to #pipeline-complaint-hotline slack channel if something is not working as expected.

@octavia-squidington-iii
Copy link
Collaborator

source-amazon-ads test report (commit 9a7e9b61a2) - ✅

⏲️ Total pipeline duration: 03mn40s

Step Result
Validate airbyte-integrations/connectors/source-amazon-ads/metadata.yaml
Connector version semver check
QA checks
Code format checks
Connector package install
Build source-amazon-ads docker image for platform linux/x86_64
Unit tests
Acceptance tests

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-amazon-ads test

Copy link
Collaborator

@lazebnyi lazebnyi left a comment

Choose a reason for hiding this comment

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

Can not find version bump for metadata and docker.

@octavia-squidington-iii
Copy link
Collaborator

source-amazon-ads test report (commit 9a7e9b61a2) - ✅

⏲️ Total pipeline duration: 03mn41s

Step Result
Validate airbyte-integrations/connectors/source-amazon-ads/metadata.yaml
Connector version semver check
QA checks
Code format checks
Connector package install
Build source-amazon-ads docker image for platform linux/x86_64
Unit tests
Acceptance tests

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-amazon-ads test

…roup_bids_keyword_recommendations' into midavadim/26400_26402_amazon_adgroup_bids_keyword_recommendations
@midavadim
Copy link
Collaborator Author

Can not find version bump for metadata and docker.

updated again, it disappeared after merge

…roup_bids_keyword_recommendations' into midavadim/26400_26402_amazon_adgroup_bids_keyword_recommendations
@midavadim midavadim requested a review from lazebnyi July 6, 2023 15:52
@midavadim midavadim enabled auto-merge (squash) July 6, 2023 15:56
@octavia-squidington-iii
Copy link
Collaborator

source-amazon-ads test report (commit 10b52eb9f7) - ✅

⏲️ Total pipeline duration: 03mn32s

Step Result
Validate airbyte-integrations/connectors/source-amazon-ads/metadata.yaml
Connector version semver check
QA checks
Code format checks
Connector package install
Build source-amazon-ads docker image for platform linux/x86_64
Unit tests
Acceptance tests

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-amazon-ads test

@midavadim midavadim merged commit d180215 into master Jul 6, 2023
20 of 21 checks passed
@midavadim midavadim deleted the midavadim/26400_26402_amazon_adgroup_bids_keyword_recommendations branch July 6, 2023 17:18
@octavia-squidington-iii
Copy link
Collaborator

source-amazon-ads test report (commit d178fbaa41) - ✅

⏲️ Total pipeline duration: 03mn05s

Step Result
Validate airbyte-integrations/connectors/source-amazon-ads/metadata.yaml
Connector version semver check
QA checks
Code format checks
Connector package install
Build source-amazon-ads docker image for platform linux/x86_64
Unit tests
Acceptance tests

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-amazon-ads test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/amazon-ads
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source Amazon Ads: new stream Bid recommendations Source Amazon Ads: new stream Suggested keywords
3 participants