Missing Account IDs in Adwords API

20 views
Skip to first unread message

Oren Bar

unread,
Jul 16, 2020, 10:00:43 AM7/16/20
to AdWords API and Google Ads API Forum
Hi,

As of today, we are still using the Adwords API for all of our purposes, and have not yet migrated to use the Ads API in our production systems.
However, we have noticed that some Account IDs along with their data were not retrieved from the Adwords API, but were retrieved using the Ads API.
We are trying to understand the discrepancy between the data, and we're concerned about the data quality.
On Adwords, we use the ManagedCustomerService to get the serviced account graph, and then we use the CustomerService to fetch the accounts.
We iterate over the account hierarchy tree to get all related accounts.
However, this list of accounts is missing a few of our accounts.

Please let us know what is the right approach to identify the discrepancies here, and what are the correct ways of fetching the accounts from your of your APIs.
Please let us know if there should be a discrepancy, and what are the definitions of accounts that would appear in the Ads API but not in the Adwords API.
Please let us know if you need us to supply any information regarding the exact calls we make to your services.

This is quite urgent for us as data availability and accuracy is CRITICAL towards our business. We need your help.

Thank you and best regards,
Oren Bar
Full-Stack Developer
Rivery @ rivery.io

Google Ads API Forum Advisor Prod

unread,
Jul 16, 2020, 3:03:30 PM7/16/20
to oren...@rivery.io, adwor...@googlegroups.com
Hi Oren,

Thank you for reaching out. Can you please share the client customer ID you are using to make the call and the request and response logs for both calls via Reply privately to author so I can further investigate the issue? For AdWords, you can find information on enabling logging in the ReadMe of your client library. For Ads, you can find it in the dropdown menu of your client library on the left-hand side of the page here.

Google Ads API allows you to list accessible customers and also get the account hierarchy. Please note that these will return different accounts. The get account hierarchy call should match the AdWords API but the list accessible customers call shouldn't.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q21mWZq:ref
Reply all
Reply to author
Forward
0 new messages