Hi,
Thank you for reaching out to the Google Ads API support team.
Please find below responses for your queries:
1. I try to achieve multiple mutates in one request. I have considered customerLabelService, Mutate of GoogleAdsService and batch job, but all seem to specify one "customer_id" and the label can be only added to this customer. Instead of sending a large number of requests, is there a way to do it in a more efficient way?
There are several ways to add a label to thousands of customers under one MCC efficiently using the Google Ads API:
- Mutate Service: While the Mutate Service allows multiple operations in one request, it still requires specifying a single customer ID per operation. This isn't ideal for large numbers of customers.
- Batch Jobs: This is the recommended approach for efficiency. You can create a BatchJob with multiple CustomerLabelOperations, each specifying a customer ID and the label to be added. This allows adding labels to thousands of customers in a single request.
2. The second question is, I have read that a label can be only applied to 1000 accounts. What should I do if I need to add a label to more than 1000 accounts?
It's true that a single label can only be applied to a maximum of 1000 accounts. However, there are ways to work around this limitation:
- Create multiple labels: If you need to categorize customers into different groups, you can create multiple labels and assign them accordingly. This ensures no label exceeds the 1000 account limit.
- Use label sets: Label sets allow you to combine multiple labels into a single entity. This allows you to associate a group of labels with a customer, even if the individual labels exceed the limit.
I would recommend you refer to the documents
Batch Processing and
API Limits and Quotas for more information. Also, kindly refer to the guide
Labels for more details.
I hope this helps. Kindly get back to us if you have any further queries.
This message is in relation to case "ref:!00D1U01174p.!5004Q02qWcAD:ref"
Thanks,
 |
Google Ads API Team |
