Error loading negative keywords in campaigns

16 views
Skip to first unread message

Juan Antonio Fernández

unread,
Mar 22, 2022, 11:25:53 AM3/22/22
to Google Ads API and AdWords API Forum
Hello,

I am trying to modify the list of negative keywords in campaigns by calling the API with a list of CampaignCriterionOperation update operations.

This has been working for me until today, but today I am having problems with the resource limit error. The details of the error are these:

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: "NEGATIVE_KEYWORDS_PER_CAMPAIGN"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 87
    }
  }
  details {
    resource_count_details {
      enclosing_id: "381093149"
      limit: 10000
      limit_type: NEGATIVE_KEYWORDS_PER_CAMPAIGN
      existing_count: 10063
      enclosing_resource: "campaign"
    }
  }
}
I understand that this error occurs when you have already made 10,000 operations, but it is not my case, since they are the first operations that I have executed today.

Can you help me find where the problem could be?

Thanks!

Juancho

Google Ads API Forum Advisor

unread,
Mar 22, 2022, 9:36:03 PM3/22/22
to juanantonio.fe...@telefonica.com, adwor...@googlegroups.com
Hi Juan,

Thank you for reaching out to us.

Since you have encountered resource_count_limit_exceeded_error: RESOURCE_LIMIT error, it means that 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.

Since the logs returned the NEGATIVE_KEYWORDS_PER_CAMPAIGN, then this indicates that you may have exceeded the limit of negative keywords you can include in a single campaign. You can also check this article as reference for the entity limits per account.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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