Jack Sparrow
03/07/2025, 12:29 PMsinger_sdk.exceptions.FatalAPIError: 400 Client Error: Bad Request for path: /v16/customers:listAccessibleCustomers
Would appreciate if anyone with past experience of integrating tap-googleads can connect with me for the same.
Thanks in advance!Reuben (Matatika)
03/07/2025, 12:58 PMv16
API was sunset a while back. Try
meltano add --update extractor tap-googleads
to get the latest version from the Hub (v0.8.0).Reuben (Matatika)
03/07/2025, 1:06 PM400 Bad Request
the response body would probably tell you that the v16
API is no longer functional.Jack Sparrow
03/07/2025, 1:11 PMReuben (Matatika)
03/07/2025, 1:18 PMtap-googleads
or target-postgres
. You can run the tap in isolation to check
meltano invoke tap-googleads > tap.out
followed by the target
cat tap.out | meltano invoke target-postgres
Jack Sparrow
03/07/2025, 1:23 PMJack Sparrow
03/07/2025, 1:25 PMReuben (Matatika)
03/07/2025, 1:29 PMv0.9.0
now, but you should be able to update the pip_url
in your meltano.yml
to just reference the latest from the main branch
pip_url: git+<https://github.com/Matatika/tap-googleads.git>
and then try again.Jack Sparrow
03/07/2025, 1:36 PMReuben (Matatika)
03/07/2025, 1:43 PMgads_stream_accessible_customers
table and let the target recreate the table on the next run. Since primary keys were amended, you may also have to do this for other stream tables too.
You might be able to resolve the 403 Forbidden
issue by setting login_customer_id, or perhaps passing an explicit list of customer_ids to sync. https://github.com/Matatika/tap-googleads/issues/79 for more context.Jack Sparrow
03/07/2025, 2:18 PMReuben (Matatika)
03/07/2025, 2:36 PMv0.9.0
if you want to swap back to the versioned `pip_url`: https://github.com/Matatika/tap-googleads/releases/tag/v0.9.0Jack Sparrow
03/07/2025, 2:39 PMReuben (Matatika)
03/07/2025, 2:39 PMaccessible customer table with a single entryHow many customer resource names are there in
resourceNames
for that row?
customer hierarchy with no entriesDo you see a
403 Forbidden
warning log for every customer resource name?Jack Sparrow
03/07/2025, 2:39 PMReuben (Matatika)
03/07/2025, 2:42 PMstream_customer_hierarchy
table. Do you have login_customer_id
set in config? That could otherwise be preventing access to those other customers (see https://developers.google.com/search-ads/reporting/concepts/login-customer-id).Jack Sparrow
03/07/2025, 2:44 PMThere are 403 Forbidden errors when trying to access each customer account
For the first customer ID, the error message states: "The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access."
Reuben (Matatika)
03/07/2025, 2:46 PM