Hello Team,
We are facing below error while applying the label on multiple campaigns through Google Ads API.
errors {
error_code {
resource_count_limit_exceeded_error: RESOURCE_LIMIT }
message: "This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails."
trigger {
string_value: "
LABELS_PER_CAMPAIGN"
}
location {
field_path_elements {
field_name: "operations"
index: 115
}
}
details {
resource_count_details {
enclosing_id: "xxxxxxxx"
limit: 50
limit_type: LABELS_PER_CAMPAIGN
existing_count: 51 enclosing_resource: "campaign"
}
}
}
When we went through the document, we found that Google Ads allows to apply maximum 50 labels on single campaign as described below (
reference link) :
Maximum number of labels that can be applied to a single entity (campaign, ad group, etc.) : 50
However, we have below queries/concerns for the above issue.
(1) We wanted to know the reason of throwing above error because in our case we are passing only single label in the request (mutateCampaignLabels operations).
And we also observed that this issue was occurred for particular campaign instead of all campaigns and also checked for that campaign which causing the above error and found that that campaign does not contain any label.
(2) We also wanted to know the reason why this above error was thrown only for the particular campaign instead of all the campaigns. Is there any setting provided by Google Ads to apply this LABELS_PER_CAMPAIGN limitation on specific campaign?
Thanks.