how to get client_customer status under a mcc customer

315 views
Skip to first unread message

wei liu

unread,
May 23, 2019, 4:22:31 AM5/23/19
to AdWords API and Google Ads API Forum
I want to know the status(wthether is removed) of client_customer under a customer? and I call the query like this "SELECT customer_client.resource_name,customer_client.status FROM customer_client", but the CustomerClient resource has no status field, can anybody tell me how to get the client_customer status? thanks.

Google Ads API Forum Advisor Prod

unread,
May 23, 2019, 6:43:58 AM5/23/19
to adwor...@googlegroups.com
Hi Wei,

Currently, both the Customer and CustomerClient resources do not support a status field. What is currently available is the ManagerLinkStatus that you can retrieve via the status field of the CustomerClientLink through the CustomerClientLinkService.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UAqPiF:ref
Message has been deleted
Message has been deleted
Message has been deleted

wei liu

unread,
May 23, 2019, 7:45:08 AM5/23/19
to AdWords API and Google Ads API Forum
thanks,ads.

Through the CustomerClientLinkService,and get the CustomerClientLink status field,but there has some problem. the CustomerClientLink status is ACTIVE,but actually the client customer has been removed. such as:

the requests return :
{
      "customerClientLink": {
        "resourceName": "customers/5851848752/customerClientLinks/4926518637~98069709",
        "clientCustomer": "customers/4926518637",
        "status": "ACTIVE"
      }
}

在 2019年5月23日星期四 UTC+8下午6:43:58,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
May 24, 2019, 1:22:56 AM5/24/19
to adwor...@googlegroups.com

Hi Wei,

Could you confirm what you meant by removed? As per checking your client account (492-651-8637) in the Google Ads UI, I can see that it still has the MCC account (585-184-8752) as one of its managers. That being said, the ACTIVE status that you are getting is correct as it means that the link between the client account and the MCC account still exists.

The red icon that you are seeing next to the client account's ID means that no ads are currently serving and means that the account itself is INACTIVE (campaigns and ad groups have been paused). However, this type of status is currently not returned via the Google Ads API. To learn more about inactive accounts, you may refer to this blog post. Let me know if this helps.



Thanks and regards,
Peter
Google Ads API Team



ref:_00D1U1174p._5001UAqPiF:ref

wei liu

unread,
May 24, 2019, 2:23:22 AM5/24/19
to AdWords API and Google Ads API Forum
Hi,Peter.

The google ads UI display:http://sd.domob.cn/ugc/e/_v2_23864d84fe58a0f9e8388b44.png ,and I try to requests the client_customer(492-651-8637) which return: "The customer can't be used because it isn't enabled.".But Ican create campaign through UI operation under this client(492-651-8637).http://sd.domob.cn/ugc/e/_v2_23864d84fe58a0d4ade7d731.png

在 2019年5月24日星期五 UTC+8下午1:22:56,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
May 24, 2019, 6:23:22 AM5/24/19
to adwor...@googlegroups.com
Hi Wei,

The Google Ads API currently will no longer return inactive accounts. You will first need to re-enable them ( through this help center ) before you can use them once more in your API requests. Also, my apologies as I cannot further comment as to how you are able to use certain features in the Google Ads UI for the said account, as the UI is already outside of our expertise.

I would like to recommend that you get in touch with the product experts via the Google Ads Community Forum as they are better equipped to assist you regarding this matter.
Reply all
Reply to author
Forward
0 new messages