Account label limit

375 views
Skip to first unread message

Mark

unread,
May 26, 2021, 5:09:23 AM5/26/21
to AdWords API and Google Ads API Forum
Hello,

I'm looking to implement a feature to automatically apply account labels to client accounts. While the basic feature works, I have a few questions about scalability.

The Ad Words API docs clearly state that one label can only be added to 1000 accounts at most, a limitation we'd hit rather soon. The Google Ads API equivalent, CustomerLabelService, does not seem to have such a limitation, or at least it's not documented. 

So, my questions:
1) Is the 1000-accounts-per-label limitation actually in place for both Ad Words and Google Ads APIs? 
2) If so, is there any way -- with either API -- to check how many accounts any one label has been attached to? 

Cheers,
Mark

Mat

unread,
May 26, 2021, 9:00:26 AM5/26/21
to AdWords API and Google Ads API Forum
Hi Mark,

1) 1000 as the maximum number of accounts a label can be applied to seems to be the Goolge Ads API limit too:
https://developers.google.com/google-ads/api/docs/best-practices/system-limits#label

2) You could pull a customer_label report and just count the rows or the number of different "customer_label.resource_name" you get.

Cheers
Mat

Google Ads API Forum Advisor Prod

unread,
May 26, 2021, 12:15:56 PM5/26/21
to battlefie...@gmail.com, adwor...@googlegroups.com
Hi Mark,

Thank you for bringing this question to our attention. As posted by another user, there is still the limit of 1000 as posted here. As for a best way to try and keep within the limit? Would most likely suggest grouping customers with similar label in blocks.

As for who is associated with the label? You could try to also use the customer_label.customer . And depending on how you manage the return on it, can get some list/array with a size/length.

Regards,
Google Logo
William Pescherine
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Hxw6f:ref

Mark

unread,
May 27, 2021, 10:19:01 AM5/27/21
to AdWords API and Google Ads API Forum
Thank you both. I tried retrieving the the customer label relationships using customer_label, however, the query results always comes back empty. The labels exists (they do come back when doing a SELECT ... FROM label ... query), I can see the labels have been attached to multiple accounts through the UI, but even if I omit the WHERE clause from customer_label, I don't get anything other than empty results. Why could that be?

Google Ads API Forum Advisor Prod

unread,
May 27, 2021, 10:21:44 PM5/27/21
to battlefie...@gmail.com, adwor...@googlegroups.com
Hi,

I work with William and allow me to assist you for now.

As for your query that is currently not returning results, could you Reply privately to author and provide to me the complete request and response logs, with the request-id

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Hxw6f:ref

Mark

unread,
May 28, 2021, 6:56:46 AM5/28/21
to AdWords API and Google Ads API Forum
Hello,

Thanks for the swift reply! I have the data you requested, however, I cannot reply privately. The option, reply to author, is grayed out and a tooltip appears, saying, "You do not have permission to reply to author in this group". Is there anything I missed? 

Cheers,
Mark

Google Ads API Forum Advisor Prod

unread,
May 28, 2021, 11:27:05 AM5/28/21
to battlefie...@gmail.com, adwor...@googlegroups.com
Hi Mark,

If you are unable to reply privately, you can email us googleadsa...@google.com.

Regards,
Anthony

Google Logo
Anthony Madrigal
Google Ads API Team
 


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