RE: portrait images in google ads api

34 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Nov 24, 2025, 9:27:50 AM11/24/25
to hars...@different.ai, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Note that I have removed your response from the forums as it contains the PII information.

After reviewing your query, I understand that you are getting the error ASPECT_RATIO_NOT_ALLOWED. This error is encountered due to the aspect ratio of the field ‘marketing_images’ not matching the expected aspect ratios provided in the asset specification. The marketingImage that you provided has its own requirement, which is 600:314 (+-1%). You may check this help center article for responsive display ad (RDA) image sizes from product support.

Additionally, asset ID "311481424785" does not meet the recommended aspect ratio for marketing images; please adjust the aspect ratio and reattempt the request from your end.

You may also use the below asset report on your account in order to check the specification of your assets.

SELECT asset.image_asset.file_size, asset.image_asset.full_size.height_pixels, asset.image_asset.full_size.url, asset.image_asset.full_size.width_pixels, asset.image_asset.mime_type, asset.name, asset.type, asset.url_custom_parameters, asset.tracking_url_template, asset.resource_name, asset.policy_summary.review_status, asset.policy_summary.policy_topic_entries, asset.policy_summary.approval_status, asset.id, asset.final_urls, asset.final_url_suffix, asset.final_mobile_urls FROM asset WHERE asset.type = ''IMAGE''


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-11-24 14:26:51Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vULXA:ref" (ADR-00345793)



Harshita

unread,
Nov 25, 2025, 2:18:18 AM11/25/25
to (Deprecated) Google Ads API and AdWords API Forum
The attached document states that images with aspect ratio 9:16 should work. But the api is not allowing 9:16 either

Google Ads API Forum Advisor

unread,
Nov 25, 2025, 8:21:47 AM11/25/25
to hars...@different.ai, adwor...@googlegroups.com
Hi,
 
As per the Responsive Display Ad Info marketing images, the minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%).
 
Whereas for the asset Id '311481424785' has heightPixels -"1200" and widthPixels -"960" and if you calculate the aspect ratio i.e, width/height it is '0.8' which is vertical image. So, you have experienced the ASPECT_RATIO_NOT_ALLOWED error. You can refer to the responsive display ads Images help center to know the type of image sizes allowed for responsive display ads. 
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-11-25 13:20:41Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vULXA:ref" (ADR-00345793)



Reply all
Reply to author
Forward
0 new messages