Aziza Alkuatova
08/21/2025, 7:53 AMbash
poetry install --with dev
### Create credentials
***If you are a community contributor***, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/google-ads)
to generate the necessary credentials. Then create a file secrets/config.json conforming to the source_google_ads/spec.yaml file.
Note that any directory named secrets is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
See sample_files/sample_config.json for a sample config file.
### Locally running the connector
poetry run source-google-ads spec
poetry run source-google-ads check --config secrets/config.json
poetry run source-google-ads discover --config secrets/config.json
poetry run source-google-ads read --config secrets/config.json --catalog integration_tests/configured_catalog.json
### Running unit tests
To run unit tests locally, from the connector directory run:
poetry run pytest unit_tests
### Building the docker image
1. Install [airbyte-ci](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
2. Run the following command to build the docker image:
bash
airbyte-ci connectors --name=source-google-ads build
An image will be available on your host with the tag airbyte/source-google-ads:dev.
### Running as a docker container
Then run any of the connector commands as follows:
docker run --rm airbyte/source-google-ads:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-ads:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-ads:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-google-ads:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
### Running our CI test suite
You can run our full test suite locally using [airbyte-ci](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
bash
airbyte-ci connectors --name=source-google-ads test
### Customizing acceptance Tests
Customize acceptance-test-config.yml file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
### Dependency Management
All of your dependencies should be managed via Poetry.
To add a new dependency, run:
bash
poetry add <package-name>
Please commit the changes to pyproject.toml and poetry.lock files.
## Publishing a new version of the connector
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
1. Make sure your changes are passing our test suite: airbyte-ci connectors --name=source-google-ads test
2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
- bump the dockerImageTag value in in metadata.yaml
- bump the version value in pyproject.toml
3. Make sure the metadata.yaml content is up to date.
4. Make sure the connector documentation and its changelog is up to date (docs/integrations/sources/google-ads.md).
5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
6. Pat yourself on the back for being an awesome contributor.
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
host.docker.internal
psql -h localhost -p 5433 -U airbyte -d airbyte_db
psql -U airbyte -h 127.0.0.1 -p 5433 -d airbyte_db
airbyte-ci connectors --name=source-google-ads build --architecture=linux/amd64 --architecture=linux/arm64 --tag 18
airbyte-ci connectors --name=source-google-ads build --architecture=linux/arm64 --tag 21-arm
docker tag airbyte/source-google-ads:21 aazizaa/source-google-ads:21
docker tag airbyte/source-google-ads:18-linux-amd64 aazizaa/source-google-ads:18-amd64
docker push aazizaa/source-google-ads:21kapa.ai
08/21/2025, 7:54 AMsource-google-ads connector is still showing as v18 (or referencing the old version) after you updated the code and pushed a new Docker image: ### 1. Version Bump Not Reflected in All Required Files To properly update the connector version, you must update the version in both: - metadata.yaml (the dockerImageTag field) - pyproject.toml (the version field) Both files must match and follow semantic versioning. If you only update one, Airbyte may still reference the old version or fail to recognize your changes. This is a strict requirement in Airbyte’s QA checks for connectors [[QA Checks - Packaging]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). ### 2. Connector Specification Caching Airbyte caches connector specifications for performance. If you update the connector code or spec, you need to clear this cache: - Go to Settings → Sources (or Destinations) - Set the version to your new Docker image tag (e.g., dev or your custom tag) - Click Change to refresh the spec This ensures Airbyte loads the new connector version and its specification [[Developing Locally - Connector Contributions]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/developing-locally#connector-contributions). ### 3. Docker Image Tag Consistency When you build and push your Docker image, make sure: - The tag you use in Docker Hub matches the tag you set in Airbyte’s UI. - For example, if you push aazizaa/source-google-ads:21, you must set the connector version in Airbyte to 21. ### 4. Airbyte Version Compatibility Starting from 3.7.10, the Google Ads connector Docker image is rootless and not compatible with Airbyte versions earlier than 0.64. Make sure your Airbyte instance is up to date if you’re using a recent connector version [[Google Ads Changelog]](https://docs.airbyte.com/integrations/sources/google-ads#changelog). ### 5. Build and Push Steps Your build and push steps look correct, but double-check that you are: - Building the image with the correct tag. - Pushing the exact tag you intend to use. - Setting that tag in Airbyte’s UI. ### Summary Checklist - [ ] Update metadata.yaml and pyproject.toml with the new version. - [ ] Build the Docker image with the new tag. - [ ] Push the image to Docker Hub with the same tag. - [ ] In Airbyte UI, set the connector version to your new tag and save. - [ ] Clear the connector spec cache as described above. If you follow these steps and still see the old version, double-check for typos in the version fields and tags, and ensure you’re not accidentally using a cached or old image. If you need more details on any step, let me know!Aziza Alkuatova
08/21/2025, 8:02 AMkapa.ai
08/21/2025, 8:02 AMkapa.ai
08/21/2025, 8:03 AMAziza Alkuatova
08/21/2025, 8:05 AMkapa.ai
08/21/2025, 8:05 AMkapa.ai
08/21/2025, 8:05 AMdev or your new version). 6. Click Change to save the changes. This action will refresh the connector specification cache and ensure Airbyte loads the latest version and configuration of your connector. This process is necessary whenever you update the connector's specification or make significant changes to its code or configuration [[Connector Contributions - Developing Locally]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/developing-locally#connector-contributions). If you continue to see old versions or outdated specs, make sure you have followed these steps after building and tagging your new Docker image.Aziza Alkuatova
08/22/2025, 5:57 AMkapa.ai
08/22/2025, 5:57 AMkapa.ai
08/22/2025, 5:57 AMpyproject.toml (version = "...") - metadata.yaml (dockerImageTag: ...) From your example: - In pyproject.toml, you still have version = "3.7.9". - In metadata.yaml, you have dockerImageTag: 3.7.10. These must match. If you want to release version 3.7.10, both files must say 3.7.10. This is a strict requirement in Airbyte’s QA checks and is necessary for the connector to be recognized as the new version [[QA Checks - Packaging]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). --- ### 2. Other Required Changes - You updated the google-ads dependency to >=28.0.0 in pyproject.toml, which is correct for v21 of the Google Ads API. - You updated dockerImageTag in metadata.yaml, which is correct. - You should also ensure that any other references to the version (such as in documentation or changelogs) are updated, but these are not strictly required for the connector to function. --- ### 3. Summary of What Needs to Be Fixed - Update `pyproject.toml`: toml [tool.poetry] version = "3.7.10" - Ensure metadata.yaml matches: yaml dockerImageTag: 3.7.10 --- ### 4. Why This Matters If the versions do not match, Airbyte may not recognize your new build, or it may use the wrong specification or Docker image. This is a common source of confusion and is explicitly called out in the documentation as a required step for connector packaging [[QA Checks - Packaging]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). --- ### 5. Next Steps 1. Update both files so the version matches. 2. Rebuild your Docker image with the new tag. 3. Push the image to your Docker registry. 4. In Airbyte, set the connector version to the new tag. 5. Clear the connector cache as described previously to ensure Airbyte loads the new spec. --- In summary: You missed updating the version in pyproject.toml to match the dockerImageTag in metadata.yaml. Both must be set to the same value (e.g., 3.7.10). Once you do this and follow the rest of the steps, Airbyte should recognize your new connector version. If you follow these steps and still have issues, let me know!Aziza Alkuatova
08/22/2025, 6:34 AMpyproject.toml (the version field), since the code was changed and metdata was changed including the build of new image and the new tagkapa.ai
08/22/2025, 6:34 AMkapa.ai
08/22/2025, 6:34 AMpyproject.toml and the dockerImageTag in metadata.yaml must match for the connector release to be considered consistent and valid. This is a strict requirement in Airbyte’s QA checks for connectors: > Connector version in metadata.yaml and pyproject.toml file must match. This is to ensure that connector release is consistent. > Applies to the following connector types: source, destination > Applies to the following connector languages: python, low-code > Applies to connector with any support level > Applies to connector with any internal support level > Applies to connector with any Airbyte usage level > [QA Checks - Packaging](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging) If you only update the code and metadata.yaml, but do not update the version in pyproject.toml to match, Airbyte may not recognize your new build as a new version. This can result in Airbyte continuing to use the old version or not properly registering your changes, even if you have built and pushed a new Docker image with a new tag. In summary: Yes, not updating the version field in pyproject.toml to match the dockerImageTag in metadata.yaml can cause Airbyte to not recognize your new connector version, regardless of code changes or Docker image updates. This is a documented and enforced requirement in Airbyte.Aziza Alkuatova
08/22/2025, 7:07 AMdockerImageTag value in in metadata.yaml
◦ bump the version value in pyproject.toml
previously i had dockerImageTag: 3.7.9 after i did this in the code from google.ads.googleads.v21 from from google.ads.googleads.v18 what i should do ib the version and dokcerImageTagkapa.ai
08/22/2025, 7:07 AMkapa.ai
08/22/2025, 7:08 AMgoogle.ads.googleads.v18 to google.ads.googleads.v21), you must also update the connector version in both metadata.yaml and pyproject.toml to reflect this significant change. According to Airbyte's official documentation, you should: 1. Bump the dockerImageTag in metadata.yaml - If your previous value was 3.7.9, and you are making a breaking change (such as upgrading the underlying API version), you should increment the major version. For example, change it to 4.0.0. 2. Bump the version in pyproject.toml - This value must match the dockerImageTag in metadata.yaml. So, set it to 4.0.0 as well. This is required for consistency and is enforced by Airbyte's QA checks. Both files must have the same version value for the connector to be recognized as a new release. This is especially important for major changes, such as upgrading the Google Ads API version, which may introduce breaking changes and require user intervention [[QA Checks - Packaging]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging) [[Semantic Versioning for Connectors]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/pull-requests-handbook#semantic-versioning-for-connectors). Summary of what you should do: - In `metadata.yaml`: yaml dockerImageTag: 4.0.0 - In `pyproject.toml`: toml version = "4.0.0" This ensures your connector versioning is correct and Airbyte will recognize your update.Aziza Alkuatova
08/22/2025, 7:10 AMkapa.ai
08/22/2025, 7:10 AMkapa.ai
08/22/2025, 7:10 AMdockerImageTag in metadata.yaml and the version in pyproject.toml to `3.7.10`—as long as both values match, Airbyte will recognize the new version and use your updated connector. The key requirement is that these two version fields are consistent and incremented for each release [[QA Checks - Packaging]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). However, according to Airbyte’s semantic versioning guidelines, a breaking change—such as upgrading the underlying Google Ads API from v18 to v21—should result in a major version bump (e.g., from 3.7.9 to 4.0.0), not just a patch or minor version increase. This is to clearly communicate to users that manual intervention may be required and that the update is not backward compatible [[Semantic Versioning for Connectors]](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/pull-requests-handbook#semantic-versioning-for-connectors). In summary: - Airbyte will accept 3.7.10 if both files match, but best practice (and Airbyte’s policy) is to use a major version bump (e.g., 4.0.0) for breaking changes. - Using 3.7.10 for a breaking change does not follow Airbyte’s recommended versioning policy and may cause confusion for users and maintainers.Aziza Alkuatova
08/22/2025, 7:26 AMpoetry run source-google-ads read --config secrets/config.json --catalog integration_tests/configured_catalog.json
and it gave me this errros:
paign_criterion.youtube_video.video_id":""},"emitted_at":1755847415988}}
{"type":"RECORD","record":{"stream":"campaign_criterion","data":{"deleted_at":null,"change_status.last_change_date_time":null,"campaign.id":22889577768,"campaign_criterion.resource_name":"customers/3373862552/campaignCriteria/22889577768~2398","campaign_criterion.campaign":"customers/3373862552/campaigns/22889577768","campaign_criterion.age_range.type":"UNSPECIFIED","campaign_criterion.mobile_application.name":"","campaign_criterion.negative":false,"campaign_criterion.youtube_channel.channel_id":"","campaign_criterion.youtube_video.video_id":""},"emitted_at":1755847415988}}
{"type":"RECORD","record":{"stream":"campaign_criterion","data":{"deleted_at":null,"change_status.last_change_date_time":null,"campaign.id":22889577768,"campaign_criterion.resource_name":"customers/3373862552/campaignCriteria/22889577768~30000","campaign_criterion.campaign":"customers/3373862552/campaigns/22889577768","campaign_criterion.age_range.type":"UNSPECIFIED","campaign_criterion.mobile_application.name":"","campaign_criterion.negative":false,"campaign_criterion.youtube_channel.channel_id":"","campaign_criterion.youtube_video.video_id":""},"emitted_at":1755847415988}}
{"type":"RECORD","record":{"stream":"campaign_criterion","data":{"deleted_at":null,"change_status.last_change_date_time":null,"campaign.id":22889577768,"campaign_criterion.resource_name":"customers/3373862552/campaignCriteria/22889577768~30001","campaign_criterion.campaign":"customers/3373862552/campaigns/22889577768","campaign_criterion.age_range.type":"UNSPECIFIED","campaign_criterion.mobile_application.name":"","campaign_criterion.negative":false,"campaign_criterion.youtube_channel.channel_id":"","campaign_criterion.youtube_video.video_id":""},"emitted_at":1755847415988}}
{"type":"RECORD","record":{"stream":"campaign_criterion","data":{"deleted_at":null,"change_status.last_change_date_time":null,"campaign.id":22889577768,"campaign_criterion.resource_name":"customers/3373862552/campaignCriteria/22889577768~30002","campaign_criterion.campaign":"customers/3373862552/campaigns/22889577768","campaign_criterion.age_range.type":"UNSPECIFIED","campaign_criterion.mobile_application.name":"","campaign_criterion.negative":false,"campaign_criterion.youtube_channel.channel_id":"","campaign_criterion.youtube_video.video_id":""},"emitted_at":1755847415989}}
{"type":"STATE","state":{"type":"STREAM","stream":{"stream_descriptor":{"name":"campaign_criterion","namespace":null},"stream_state":{"change_status":{"3373862552":{"change_status.last_change_date_time":"2025-08-22 000000.000000"}}}},"sourceStats":{"recordCount":9703.0}}}
{"type":"LOG","log":{"level":"INFO","message":"Read 9703 records from campaign_criterion stream"}}
{"type":"LOG","log":{"level":"INFO","message":"Marking stream campaign_criterion as STOPPED"}}
{"type":"TRACE","trace":{"type":"STREAM_STATUS","emitted_at":1755847415989.907,"stream_status":{"stream_descriptor":{"name":"campaign_criterion","namespace":null},"status":"COMPLETE","reasons":null}}}
{"type":"LOG","log":{"level":"INFO","message":"Finished syncing campaign_criterion"}}
{"type":"LOG","log":{"level":"INFO","message":"SourceGoogleAds runtimes:\nSyncing stream account_performance_report 00002.678508\nSyncing stream ad_group 00001.887132\nSyncing stream ad_group_ad 00004.414333\nSyncing stream ad_group_ad_label 00000.606045\nSyncing stream ad_group_ad_legacy 00008.081743\nSyncing stream ad_group_bidding_strategy 00001.703001\nSyncing stream ad_group_criterion 00053.101415\nSyncing stream ad_group_criterion_label 00001.116199\nSyncing stream ad_group_label 00000.507523\nSyncing stream ad_listing_group_criterion 00028.014661\nSyncing stream audience 00000.719518\nSyncing stream campaign 00000.327715\nSyncing stream campaign_bidding_strategy 00002.149872\nSyncing stream campaign_budget 00002.365873\nSyncing stream campaign_criterion 00003.438405\nSyncing stream campaign_label 00000.766433\nSyncing stream click_view 00033.165403\nSyncing stream customer 00001.442953\nSyncing stream customer_label 00000.464851\nSyncing stream display_keyword_view 00002.850145\nSyncing stream geographic_view 00002.408762\nSyncing stream keyword_view 00009.353305\nSyncing stream label 00000.461133\nSyncing stream shopping_performance_view 00002.351378\nSyncing stream topic_view 00002.614884\nSyncing stream user_interest 00003.365839\nSyncing stream user_location_view 00003.304348"}}
{"type":"LOG","log":{"level":"INFO","message":"During the sync, the following streams did not sync successfully: ad_group_custom: AirbyteTracedException(\"The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncampaign: AirbyteTracedException('(<_InactiveRpcError of RPC that terminated with:\\n\\tstatus = StatusCode.INVALID_ARGUMENT\\n\\tdetails = \"Request contains an invalid argument.\"\\n\\tdebug_error_string = \"UNKNOWN:Error received from peer ipv4142.251.1.95443 {grpc_message:\"Request contains an invalid argument.\", grpc_status:3, created_time:\"2025-08-22T122156.185477+05:00\"}\"\\n>, <_InactiveRpcError of RPC that terminated with:\\n\\tstatus = StatusCode.INVALID_ARGUMENT\\n\\tdetails = \"Request contains an invalid argument.\"\\n\\tdebug_error_string = \"UNKNOWN:Error received from peer ipv4142.251.1.95443 {grpc_message:\"Request contains an invalid argument.\", grpc_status:3, created_time:\"2025-08-22T122156.185477+05:00\"}\"\\n>, errors {\\n error_code {\\n query_error: UNRECOGNIZED_FIELD\\n }\\n message: \"Unrecognized field in the query: \\\\\\'campaign.dynamic_search_ads_setting.feeds\\\\\\'.\"\\n}\\nrequest_id: \"fd5G6Q_hXEG-ko5QvPoKZw\"\\n, \\'fd5G6Q_hXEG-ko5QvPoKZw\\')')\nhappytable: AirbyteTracedException(\"The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncustom_audience: AirbyteTracedException(\"The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")"}}
{"type":"LOG","log":{"level":"FATAL","message":"None\nTraceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/source_google_ads/run.py\", line 16, in run\n launch(source, sys.argv[1:])\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 234, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 122, in run\n yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.read(source_spec, config, config_catalog, state))\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 164, in read\n for message in self.source.read(self.logger, config, catalog, state):\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 177, in read\n raise AirbyteTracedException(message=error_message, failure_type=FailureType.config_error)\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: None"}}
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1755847415993.625,"error":{"message":"During the sync, the following streams did not sync successfully: ad_group_custom: AirbyteTracedException(\"The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncampaign: AirbyteTracedException('(<_InactiveRpcError of RPC that terminated with:\\n\\tstatus = StatusCode.INVALID_ARGUMENT\\n\\tdetails = \"Request contains an invalid argument.\"\\n\\tdebug_error_string = \"UNKNOWN:Error received from peer ipv4142.251.1.95443 {grpc_message:\"Request contains an invalid argument.\", grpc_status:3, created_time:\"2025-08-22T122156.185477+05:00\"}\"\\n>, <_InactiveRpcError of RPC that terminated with:\\n\\tstatus = StatusCode.INVALID_ARGUMENT\\n\\tdetails = \"Request contains an invalid argument.\"\\n\\tdebug_error_string = \"UNKNOWN:Error received from peer ipv4142.251.1.95443 {grpc_message:\"Request contains an invalid argument.\", grpc_status:3, created_time:\"2025-08-22T122156.185477+05:00\"}\"\\n>, errors {\\n error_code {\\n query_error: UNRECOGNIZED_FIELD\\n }\\n message: \"Unrecognized field in the query: \\\\\\'campaign.dynamic_search_ads_setting.feeds\\\\\\'.\"\\n}\\nrequest_id: \"fd5G6Q_hXEG-ko5QvPoKZw\"\\n, \\'fd5G6Q_hXEG-ko5QvPoKZw\\')')\nhappytable: AirbyteTracedException(\"The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncustom_audience: AirbyteTracedException(\"The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")","internal_message":null,"stack_trace":"Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/source_google_ads/run.py\", line 16, in run\n launch(source, sys.argv[1:])\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 234, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 122, in run\n yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.read(source_spec, config, config_catalog, state))\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 164, in read\n for message in self.source.read(self.logger, config, catalog, state):\n File \"/Users/aziza/Development/airbyte/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 177, in read\n raise AirbyteTracedException(message=error_message, failure_type=FailureType.config_error)\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: None\n","failure_type":"config_error","stream_descriptor":null}}}kapa.ai
08/22/2025, 7:26 AMkapa.ai
08/22/2025, 7:27 AMThe stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts. The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts. The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts. This means your configured_catalog.json references streams that do not exist in your current connector code or are not available with your current configuration. This can happen if: - The stream was removed or renamed in the connector code. - The stream is not available for your account type or permissions (for example, some streams are not available for manager accounts [[Github Issue 44501]](https://github.com/airbytehq/airbyte/issues/44501), [[Forum Post 792]](https://discuss.airbyte.io/t/792)). - The stream is a custom query that is not valid or not present. Solution: - Refresh your source schema in Airbyte and update your catalog to only include streams that are currently available. Remove any streams from your catalog that are not found. --- ### 2. Unrecognized Field in Query You have this error: Unrecognized field in the query: 'campaign.dynamic_search_ads_setting.feeds'. This means your connector (or a custom query) is trying to access a field that no longer exists in the Google Ads API version you are using. According to the migration guide for upgrading to 4.0.0 (API v20), the field campaign.dynamic_search_ads_setting.feeds was deleted [[Google Ads Migration Guide: Upgrading to 4.0.0]](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400). Solution: - Remove campaign.dynamic_search_ads_setting.feeds from your queries and from any custom stream definitions or catalogs. --- ### 3. General Troubleshooting Steps - Refresh the source schema after any connector upgrade or code change, especially after changing the Google Ads API version. This ensures your catalog matches the available streams and fields [[Google Ads Migration Guide: Upgrading to 4.0.0]](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400). - Reset affected streams as prompted by Airbyte after a schema change. - Validate custom queries using the [Google Ads Query Validator](https://developers.google.com/google-ads/api/fields/v20/query_validator) to ensure all fields exist in the current API version [[Custom Query: Understanding Google Ads Query Language]](https://docs.airbyte.com/integrations/sources/google-ads#custom-query-understanding-google-ads-query-language). --- ### 4. Summary - Remove or update any streams in your catalog that are not found in the source. - Remove any fields from your queries that are no longer supported in the Google Ads API version you are using. - Always refresh the schema and reset affected streams after upgrading the connector or changing the API version. If you follow these steps, your sync should proceed without these errors. If you continue to have issues, double-check your account permissions and the validity of your custom queries.Aziza Alkuatova
08/22/2025, 7:38 AMkapa.ai
08/22/2025, 7:38 AMkapa.ai
08/22/2025, 7:39 AMsource-google-ads connector with the official one from the Airbyte GitHub repository, you will get the latest supported version, which should be compatible with the current Google Ads API version. This is generally a good approach if your custom connector is outdated (e.g., still using v18, which is no longer supported by Google) and is failing tests or syncs due to deprecated API usage. However, if your secrets/config.json file (the credentials and configuration) is invalid, incomplete, or not matching the requirements of the new connector version, you may still encounter errors. The configuration file must conform to the connector's current spec.yaml and include all required fields for authentication and setup. If the config is missing required fields or contains values that are not valid for your Google Ads account, the connector will fail during the check or read steps. In summary: - Swapping to the official connector will resolve issues related to deprecated API versions, as long as you use a version that supports the current Google Ads API [[Google Ads Changelog]](https://docs.airbyte.com/integrations/sources/google-ads#changelog). - If your secrets/config.json is not valid or does not match the new connector's requirements, you will still have problems. Always ensure your config matches the latest spec.yaml for the connector. - After swapping connectors, refresh your source schema and update your catalog to match the available streams and fields. If you continue to have issues after switching to the official connector, review your secrets/config.json and ensure it is correct and complete for the new connector version. If the problem persists, check the logs for specific error messages related to configuration or permissions.Aziza Alkuatova
08/22/2025, 7:45 AMkapa.ai
08/22/2025, 7:45 AMkapa.ai
08/22/2025, 7:46 AMconfig.json file that matches the requirements for the official Airbyte Google Ads connector (for recent versions, including v21 of the Google Ads API): json { "developer_token": "YOUR_DEVELOPER_TOKEN", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "refresh_token": "YOUR_REFRESH_TOKEN", "customer_id": "YOUR_CUSTOMER_ID", // Optional: comma-separated list for multiple IDs "customer_status_filter": [], // Optional: array of statuses "start_date": "2022-01-01", // Optional: format YYYY-MM-DD "end_date": "2023-01-01", // Optional: format YYYY-MM-DD "custom_queries_array": [], // Optional: array of custom GAQL queries "conversion_window_days": 14 // Optional: integer, defaults to 14 } Required fields: - developer_token - client_id - client_secret - refresh_token Optional fields: - customer_id - customer_status_filter - start_date - end_date - custom_queries_array - conversion_window_days Notes: - If you are using a Manager account, you must provide the Manager's customer_id. - The start_date and end_date fields are optional; if omitted, the default start date is 2 years ago, and the end date is open-ended. - For more details on each field, see the [official documentation](https://docs.airbyte.com/integrations/sources/google-ads#reference). If you need to use custom GAQL queries, the custom_queries_array should be an array of objects, each with a name and query field as described in the documentation. If you need a minimal config, it would look like: json { "developer_token": "YOUR_DEVELOPER_TOKEN", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "refresh_token": "YOUR_REFRESH_TOKEN" } For more details and field descriptions, refer to the [Config fields reference](https://docs.airbyte.com/integrations/sources/google-ads#reference).Aziza Alkuatova
08/22/2025, 7:47 AM{
"credentials": {
"developer_token": "developer_token",
"client_id": "client_id",
"client_secret": "client_secret",
"refresh_token": "refresh_token"
},
"customer_id": "1234567890",
"start_date": "2023-09-04",
"conversion_window_days": 14,
"custom_queries": [
{
"query": "SELECT campaign.name, metrics.clicks FROM campaign",
"primary_key": null,
"table_name": "test_query"
}
]
}kapa.ai
08/22/2025, 7:47 AMkapa.ai
08/22/2025, 7:47 AMdeveloper_token, client_id, client_secret, refresh_token) at the top level, not nested under a credentials object. 2. Custom Queries Field Name: The official config uses custom_queries_array (or sometimes custom_queries in older versions), but the most recent documentation and spec use custom_queries_array as the property name for custom queries. 3. Primary Key: The primary_key field is not mentioned in the official documentation for custom queries. The required fields for each custom query are query and table_name. Here is the corrected config format based on the official documentation: json { "developer_token": "developer_token", "client_id": "client_id", "client_secret": "client_secret", "refresh_token": "refresh_token", "customer_id": "1234567890", "start_date": "2023-09-04", "conversion_window_days": 14, "custom_queries_array": [ { "query": "SELECT campaign.name, metrics.clicks FROM campaign", "table_name": "test_query" } ] } Key points: - Move the credentials fields to the top level. - Use custom_queries_array as the field name for custom queries. - Only include query and table_name for each custom query object. For more details, see the [Config fields reference](https://docs.airbyte.com/integrations/sources/google-ads#reference) and [Custom Query documentation](https://docs.airbyte.com/integrations/sources/google-ads#custom-query-understanding-google-ads-query-language). If you use the above format, it will match the official connector's expectations.Aziza Alkuatova
08/22/2025, 7:50 AMkapa.ai
08/22/2025, 7:50 AMkapa.ai
08/22/2025, 7:51 AMtable_name field should be set to the name you want the resulting stream (table) to have in your destination. It does not have to match the source table name in your query; it is simply the name that will appear in your destination. For example, if your query is from table1, you can set "table_name": "table1" for clarity, but you can also choose any other name you prefer for the destination stream. The important part is that the table_name is required and determines how the data will be named in your destination, not in the source. This is confirmed in the documentation: > ...enter your query, as well as the desired name of the table for this data in the destination. Multiple queries can be provided. [Google Ads Setup Guide](https://docs.airbyte.com/integrations/sources/google-ads#for-airbyte-open-source) So, if you want the destination table to be called table1, set "table_name": "table1". If you want a different name, you can set it accordingly.Aziza Alkuatova
08/22/2025, 7:55 AM{
"type": "CONNECTION_STATUS",
"connectionStatus": {
"status": "FAILED",
"message": "Config validation error: 'credentials' is a required property"
}
}kapa.ai
08/22/2025, 7:55 AMkapa.ai
08/22/2025, 7:55 AM{
"type": "CONNECTION_STATUS",
"connectionStatus": {
"status": "FAILED",
"message": "Config validation error: 'credentials' is a required property"
}
} means that the connector expects a credentials object at the top level of your config JSON, but it was not found. According to the [official Airbyte Google Ads connector documentation](https://docs.airbyte.com/integrations/sources/google-ads#reference), the required configuration includes a credentials object containing your authentication details (such as client_id, client_secret, refresh_token, and developer_token). Your config should look like this: json { "credentials": { "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "refresh_token": "YOUR_REFRESH_TOKEN", "developer_token": "YOUR_DEVELOPER_TOKEN" }, "customer_id": "1234567890", "start_date": "2023-09-04", "conversion_window_days": 14, "custom_queries_array": [ { "query": "SELECT campaign.name, metrics.clicks FROM campaign", "table_name": "test_query" } ] } If you omit the credentials object or place the authentication fields at the top level (not inside credentials), you will get this validation error. Please update your config to include the credentials object as shown above. If you are using a different version of the connector or have customized the spec, make sure to check the spec.json or the connector's documentation for the exact expected structure. If you are unsure, you can always generate the expected config structure by running: poetry run source-google-ads spec This will output the required configuration schema for your connector version.Aziza Alkuatova
08/22/2025, 8:14 AMkapa.ai
08/22/2025, 8:14 AMkapa.ai
08/22/2025, 8:15 AMThe stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts. mean that your configured catalog references streams that do not exist in the current connector version or are not available for your account. This can happen if the stream was removed, renamed, or is not supported for your account type (for example, some streams are not available for manager accounts) [see related discussion](https://github.com/airbytehq/airbyte/issues/44501). 2. Unrecognized field in the query: Unrecognized field in the query: 'campaign.dynamic_search_ads_setting.feeds'. This field was removed in Google Ads API v20 and later. If your connector or custom query still references it, you must remove it. The [migration guide](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400) specifically notes this field was deleted. What you should do: - Refresh your source schema in Airbyte and update your catalog to only include streams that are currently available. - Remove or update any custom queries or stream configurations that reference fields no longer available in the current Google Ads API version, such as campaign.dynamic_search_ads_setting.feeds. - Remove any streams from your catalog that are not found in the source. If you follow these steps, the sync should proceed without these errors. If you continue to have issues, double-check your account permissions and the validity of your custom queries as described in the [custom query documentation](https://docs.airbyte.com/integrations/sources/google-ads#custom-query-understanding-google-ads-query-language).Aziza Alkuatova
08/22/2025, 9:04 AMkapa.ai
08/22/2025, 9:04 AMkapa.ai
08/22/2025, 9:04 AMAziza Alkuatova
08/22/2025, 9:05 AMkapa.ai
08/22/2025, 9:05 AMkapa.ai
08/22/2025, 9:06 AMad_group_custom, happytable, and custom_audience are referenced in your connection configuration but do not exist in the current source. This can happen if: - The streams were removed or renamed in the connector code. - The streams are not available for your account type or permissions (for example, some streams are not available for manager accounts) [[Github Issue 44501](https://github.com/airbytehq/airbyte/issues/44501)]. - The streams are custom queries that are not valid or not present in your configuration. Action: Refresh your source schema and update your catalog to only include streams that are currently available. Remove any streams from your catalog that are not found in the source. 2. Unrecognized field in the query: The error message: Unrecognized field in the query: 'campaign.dynamic_search_ads_setting.feeds'. means your connector or a custom query is trying to access a field that no longer exists in the Google Ads API version you are using. According to the migration guide for upgrading to 4.0.0 (API v20), the field campaign.dynamic_search_ads_setting.feeds was deleted [[Google Ads Migration Guide: Upgrading to 4.0.0](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400)]. Action: Remove campaign.dynamic_search_ads_setting.feeds from your queries and from any custom stream definitions or catalogs. Summary of what to do: - Refresh your source schema after any connector upgrade or code change, especially after changing the Google Ads API version. - Remove or update any streams in your catalog that are not found in the source. - Remove any fields from your queries that are no longer supported in the Google Ads API version you are using. If you follow these steps, your sync should proceed without these errors. If you continue to have issues, double-check your account permissions and the validity of your custom queries.Aziza Alkuatova
08/22/2025, 9:08 AM"query" : "SELECT asset_group.final_urls, asset_group.name, asset_group.id, campaign.name, campaign.id, segments.date, metrics.clicks, metrics.impressions, metrics.interactions, metrics.average_cost, metrics.cost_micros FROM asset_group",kapa.ai
08/22/2025, 9:08 AMkapa.ai
08/22/2025, 9:08 AMsql SELECT asset_group.final_urls, asset_group.name, asset_group.id, campaign.name, campaign.id, segments.date, metrics.clicks, metrics.impressions, metrics.interactions, metrics.average_cost, metrics.cost_micros FROM asset_group is generally valid for recent versions of the Google Ads API, provided that all the selected fields exist in the API version you are using. However, based on the Airbyte migration guide, there have been changes to the asset_group resource fields in different API versions. For example, the field segments.date was not available in asset_group in v15, but is available from v16 onwards [[Github Issue 44545](https://github.com/airbytehq/airbyte/issues/44545)]. If you are using API v20 or v21 (as you indicated), your query should be valid, assuming your Google Ads account has the necessary permissions and data. Key points to check: - Make sure your Airbyte Google Ads connector is using a Google Ads API version that supports all these fields (v20 or later). - If you encounter errors about unrecognized fields, use the [Google Ads Query Validator](https://developers.google.com/google-ads/api/fields/v20/query_validator) to confirm field availability for your API version [[Custom Query: Understanding Google Ads Query Language](https://docs.airbyte.com/integrations/sources/google-ads#custom-query-understanding-google-ads-query-language)]. - If you see errors about missing streams or fields, refresh your source schema and update your catalog as recommended in the [migration guide](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400). Summary: Your query is correct for Google Ads API v20+ and should work with the latest Airbyte connector, as long as your account and API version support all the fields you selected. If you encounter errors, validate the query with the official query validator and ensure your connector and schema are up to date.Aziza Alkuatova
08/22/2025, 10:05 AMpoetry run source-google-ads read --config secrets/config.json --catalog integration_tests/configured_catalog.json
{"type":"LOG","log":{"level":"ERROR","message":"Encountered an exception while reading stream ad_group_custom\nTraceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts."}}
{"type":"LOG","log":{"level":"INFO","message":"Marking stream ad_group_custom as STOPPED"}}
{"type":"TRACE","trace":{"type":"STREAM_STATUS","emitted_at":1755855392636.605,"stream_status":{"stream_descriptor":{"name":"ad_group_custom"},"status":"INCOMPLETE"}}}
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1755855392636,"error":{"message":"A stream listed in your configuration was not found in the source. Please check the logs for more details.","internal_message":"The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.","stack_trace":"Traceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\n","failure_type":"config_error","stream_descriptor":{"name":"ad_group_custom"}}}}
{"type":"LOG","log":{"level":"ERROR","message":"Encountered an exception while reading stream happytable\nTraceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts."}}
{"type":"LOG","log":{"level":"INFO","message":"Marking stream happytable as STOPPED"}}
{"type":"TRACE","trace":{"type":"STREAM_STATUS","emitted_at":1755855392636.99,"stream_status":{"stream_descriptor":{"name":"happytable"},"status":"INCOMPLETE"}}}
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1755855392637,"error":{"message":"A stream listed in your configuration was not found in the source. Please check the logs for more details.","internal_message":"The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.","stack_trace":"Traceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\n","failure_type":"config_error","stream_descriptor":{"name":"happytable"}}}}
{"type":"LOG","log":{"level":"ERROR","message":"Encountered an exception while reading stream custom_audience\nTraceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts."}}
{"type":"LOG","log":{"level":"INFO","message":"Marking stream custom_audience as STOPPED"}}
{"type":"TRACE","trace":{"type":"STREAM_STATUS","emitted_at":1755855392637.276,"stream_status":{"stream_descriptor":{"name":"custom_audience"},"status":"INCOMPLETE"}}}
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1755855392637,"error":{"message":"A stream listed in your configuration was not found in the source. Please check the logs for more details.","internal_message":"The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.","stack_trace":"Traceback (most recent call last):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 140, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\n","failure_type":"config_error","stream_descriptor":{"name":"custom_audience"}}}}
{"type":"LOG","log":{"level":"INFO","message":"During the sync, the following streams did not sync successfully: ad_group_custom: AirbyteTracedException(\"The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\nhappytable: AirbyteTracedException(\"The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncustom_audience: AirbyteTracedException(\"The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")"}}
{"type":"LOG","log":{"level":"FATAL","message":"None\nTraceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/source_google_ads/run.py\", line 54, in run\n launch(source, _args)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 377, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 207, in run\n yield from map(\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 280, in read\n for message in self.source.read(self.logger, config, catalog, state):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 173, in read\n yield from super().read(logger, config, filtered_catalog, state)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 418, in read\n yield from super().read(logger, config, catalog, state)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 208, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: None"}}
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1755855392640,"error":{"message":"During the sync, the following streams did not sync successfully: ad_group_custom: AirbyteTracedException(\"The stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\nhappytable: AirbyteTracedException(\"The stream 'happytable' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")\ncustom_audience: AirbyteTracedException(\"The stream 'custom_audience' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\")","stack_trace":"Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/source_google_ads/run.py\", line 54, in run\n launch(source, _args)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 377, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 207, in run\n yield from map(\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 280, in read\n for message in self.source.read(self.logger, config, catalog, state):\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 173, in read\n yield from super().read(logger, config, filtered_catalog, state)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 418, in read\n yield from super().read(logger, config, catalog, state)\n File \"/Users/aziza/Development/airbyte/airbyte-integrations/connectors/source-google-ads/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 208, in read\n raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: None\n","failure_type":"config_error"}}}kapa.ai
08/22/2025, 10:05 AMkapa.ai
08/22/2025, 10:05 AMThe stream 'ad_group_custom' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts. mean that your configured catalog (the integration_tests/configured_catalog.json file) is referencing streams (ad_group_custom, happytable, custom_audience) that do not exist in the current version of the official Airbyte Google Ads connector you are using. This is a common issue after upgrading or swapping connectors, especially if the set of available streams has changed. The connector is telling you that it cannot find these streams in the source, so it cannot sync them. What you should do: 1. Refresh the source schema: After changing the connector or its version, you must refresh the source schema. This will update the list of available streams and fields in Airbyte. - In the Airbyte UI, go to your connection, click the Schema tab, and click Refresh source schema. - If you are running locally, re-run the discover command to regenerate the catalog. 2. Update your catalog: Remove any streams from your configured_catalog.json that are not present in the refreshed schema. Only include streams that are available in the current connector version. 3. Remove or update custom queries: If you have custom queries or streams that are no longer valid or supported, remove them from your configuration and catalog. - For custom queries, ensure they are valid for the current Google Ads API version and connector. This process is described in the Airbyte documentation and migration guides, which emphasize the need to refresh the schema and update affected streams after connector or API upgrades [[Google Ads Migration Guide: Upgrading to 4.0.0]](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400). Summary: Your error is caused by your catalog referencing streams that do not exist in the current connector. Refresh your schema and update your catalog to match the available streams, and the error will be resolved.Aziza Alkuatova
08/22/2025, 10:12 AMkapa.ai
08/22/2025, 10:12 AMkapa.ai
08/22/2025, 10:12 AMad_group_custom, happytable, and custom_audience are present in the official Airbyte Google Ads connector repository for v20, but you are still seeing errors that they are "not found in the source," there are a few possible explanations based on the knowledge sources: 1. Stream Availability Depends on Configuration and Permissions: Even if a stream exists in the connector code, it may not appear in your schema if your Google Ads account (or the customer_id you are using) does not have access to the data required for that stream, or if the stream is only available for certain account types (e.g., not available for manager accounts) [[Github Issue 44501](https://github.com/airbytehq/airbyte/issues/44501)]. 2. Custom Queries and Stream Naming: If these streams are custom queries, they must be defined in your configuration under the correct field (e.g., custom_queries_array or custom_queries). If the custom query is not present or is misconfigured, the stream will not be available [[Custom Query: Understanding Google Ads Query Language](https://docs.airbyte.com/integrations/sources/google-ads#custom-query-understanding-google-ads-query-language)]. 3. Schema Refresh Required: After changing the connector version or configuration, you must refresh the source schema. If you do not do this, your catalog may reference streams that are not currently available, leading to the errors you are seeing [[Google Ads Migration Guide: Upgrading to 4.0.0](https://docs.airbyte.com/integrations/sources/google-ads-migrations#upgrading-to-400)]. 4. Catalog and Schema Mismatch: If your configured_catalog.json was generated with a different version of the connector or with a different configuration, it may reference streams that are not available in the current context. Always regenerate your catalog after upgrading or changing the connector. In summary: Even if the streams exist in the official repo, they may not be available in your current schema due to account permissions, missing or misconfigured custom queries, or a stale catalog. Make sure to refresh your schema, check your account permissions, and ensure your custom queries are correctly defined in your config. If the issue persists, the knowledge sources do not provide further troubleshooting steps specific to your scenario.