dimension error in Adwords (data-gwd-width and gad-page-size?)

1,256 views
Skip to first unread message

Erik Heylen

unread,
May 11, 2016, 4:10:22 AM5/11/16
to Google Web Designer beta


There seems to be a problem with the responsive size in combination with Google Adwords. We get this error while uploading the ads: 'your image is not an allowed dimension'.

I've changed the gwd-page-size from 120x600px to 160x600px:

   .gwd-page-size {
      width: 160px;
      height: 600px;


but do I have the width and height here as well?

 <div is="gwd-pagedeck" class="gwd-page-container" id="pagedeck">
      <div is="gwd-page" id="page1" class="gwd-page-wrapper gwd-page-size gwd-lightbox gwd-div-17lf" data-gwd-width="100%" data-gwd-height="100%">



In previous version of the app it seems to be a defined size instead of '100%'

<div is="gwd-pagedeck" class="gwd-page-container" id="pagedeck" matchviewport="">
      <div is="gwd-page" id="page1" class="gwd-page-wrapper gwd-page-size gwd-lightbox" data-gwd-width="160px" data-gwd-height="600px">



When I check my ads with the adwords validator https://h5validator.appspot.com/adwords they are ok, and the size is recognised, even with the 100% setting of the 'data-gwd-width'


erik


************************************************
version: Google Web Designer 1.6.0.0429

Sukhbir Kaur

unread,
May 11, 2016, 12:39:19 PM5/11/16
to gwd...@googlegroups.com

Hi Eric,


Did you create  Adwords Ads as a Banner or Interstitial Single with responsive layout checked ?


If it is banner Ad you should select Ad size during publishing the ad locally and then upload it to Adwords.


See the screenshot below :











If it is Interstitial Single Ad  Type then please publish the file locally and follow the instructions below :

  • Open the index.html in a Text editor 
  • Search for “creativeProperties” 

  •       Replace the  0 wth the page size like this  minWidth":160,"minHeight":600,"maxWidth":160,"maxHeight”:600
  • Save and compress the file and upload it  to Adwords. 

I hope this helps!


Thanks

Sukhbir

(Google Web Designer Team)

Reply all
Reply to author
Forward
0 new messages