Sitelink limit exceeded error when creating the 20th Sitelink

218 views
Skip to first unread message

Cristina Matei

unread,
Jan 19, 2022, 5:05:46 AM1/19/22
to Google Ads API and AdWords API Forum
Hi support,

We are looking into the Sitelink Assets and working with the API to create sitelinks to Google Ads. We noticed an edge case when hitting the Sitelink limit and I was wondering if you can help us with more details.

If we have 19 ENABLED SitelinkAssets linked to an Ad Group (so we have 19 AdGroupAssets enabled) and we send a request to create a new enabled AdGroupAsset to link to that AdGroup,  the request will fail the first time, but retrying the same request will succeed. Are you aware of any issues that might cause this?

The failure message we receive is this:
Failure message: 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: "ENABLED_SITELINK_ASSET_LINKS_PER_AD_GROUP" }

The same issue also happens if:
- we have 20 enabled sitelinks in an ad group
- we pause a sitelink (we pause the AdGroupAsset)
- we try to unpause the sitelink -> the request fails the first time we try, but works if we retry

I also noticed that this happens in the Google Ads UI, the first time we try to unpause the 20th sitelink it will fail, but it will work on a second try.

Let me know if you have any questions.

Thanks,
Cristina


Google Ads API Forum Advisor

unread,
Jan 19, 2022, 3:39:43 PM1/19/22
to cristin...@softwire.com, adwor...@googlegroups.com
Hi Cristina,

Thank you for reporting this to us. If the UI has the same issue you can reach out to product support, as the API can only be a conduit to the UI. If you can reproduce this reliably, could you privately send us the logs of request and response to the API that prove so? For example, a report pull right before attempting the last link showing you can create it, then the API call to create the new link that errors.

The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". Setting the log level to 'DEBUG' will get the desired log.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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