Ads API vs AdWords API - difference in accounts

371 views
Skip to first unread message

va...@adcore.com

unread,
Apr 25, 2019, 11:11:56 AM4/25/19
to AdWords API and Google Ads API Forum
Hello,

I'm really disappointed. Around a week I'm fighting to get correct information regarding accounts under specific MCC using new API.
Could someone explain what is the status of new API, is it still BETA or it's RELEASE already?
When I'm using old API ManagedCustomerService with selector
{'fields': ['CustomerId', 'Name', 'CanManageClients'],
 
'predicates': [{
 
'field': 'ExcludeHiddenAccounts',
 
'operator': 'EQUALS',
 
'values': 'FALSE'
 
}, {
 
'field': 'CanManageClients',
 
'operator': 'EQUALS',
 
'values': 'FALSE'
 
}]}
I receive 230 accounts.
When I'm using GoogleAdsService with query (can't exclude sub-managers, but in my case the number of sub MCCs  is 4)
SELECT
    customer_client_link
.client_customer,
    customer_client_link
.resource_name,
    customer_client_link
.hidden
FROM
     customer_client_link
I receive 402 accounts, but with query 
 SELECT
    customer_client
.resource_name,
    customer_client
.client_customer,
    customer_client
.level,
    customer_client
.hidden
FROM
    customer_clien
I receive 428 accounts
Could you explain the difference between APIs? How to get correct number of accounts in new API? How to receive accounts except sub-managers in new API?
We have very big system which use old google API, we started migration in order to finish it before Q1 next year (as I understand it's a deprecation date for old API), but we can't continue migration process with such large differences.
We should ensure that old API and new API provide same numbers in each case including metrics and segments.
Thanks
 





googleadsapi...@google.com

unread,
Apr 25, 2019, 4:59:59 PM4/25/19
to AdWords API and Google Ads API Forum
Hello Vadim,

In your AdWords API call, you have excluded the sub MCC's which might be a cause that you have seen less results. The customer_client will return all the accounts the are manageable(including sub MCCs) by the MCC account that is specified in the API call. Currently it is not possible to exclude sub MCC's as there is no field available in the customer_client to check if it a manager account.

The customer_client_link will give the details of the link between the manager and client accounts hence the count will be less than the customer_client's result. You could share the MCC id from which you are pulling the hierarchy for further investigation further. The new Google Ads API is past the Beta phase and can be used for production. You could use reply privately to the author while sharing the MCC id.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/508c3e03-3f73-4823-ab43-0e63c382fd1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages