Max length of image ad URLs

504 views
Skip to first unread message

Eva Suárez

unread,
Apr 18, 2022, 10:09:47 AM4/18/22
to Google Ads API and AdWords API Forum
Hello everyone,

I am trying to validate input data in our app before sending a request to the Google Ads API, but I cannot find what is the maximum length for final URLs and display URLs in image ads. I know that a URL should not exceed 2000 characters, but is there a more restrictive limit in the API?

Regards.

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 5:49:29 AM4/19/22
to eva.s...@tiendeo.com, adwor...@googlegroups.com
Hi Eva,

Thank you for your question.

For ads in general, there are currently no explicit character limits specified for their final_urls and display_url attributes.

That said, these should then generally follow the limits applied at the Product level. You may then clarify with the Google Ads Product Support team, via this link, whether these attributes have specific character limits to consider. I hope this helps.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2a4GXL:ref

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 5:53:46 AM4/19/22
to eva.s...@tiendeo.com, adwor...@googlegroups.com
Hi Eva,

In addition to my earlier response, while a character limit is not defined for the API, the final url allows a value of 2,084 bytes for its limit as per this guide.

Eva Suárez

unread,
Apr 20, 2022, 2:24:27 AM4/20/22
to Google Ads API and AdWords API Forum
Thank you very much for your response.
Reply all
Reply to author
Forward
0 new messages