I was able to process the lineitem, but when creating the creative I followed the size instructions as in the following API documentation: https://developers.google.com/ad-manager/api/reference/v202308/CreativeService.Size
The documentation states that the size for out-of-page must be 1x1, I followed this but the code reports an error:
ERROR PROCESS CREATE CREATIVE] Code: 0 - Message: [RequiredSizeError.NOT_ALLOWED @ [0].size; trigger:'1x1-null']
Can you help me with this case?
My processing code:
$customCreative = new CustomCreative();
$size = new Size();
$size->setWidth(1);
$size->setHeight(1);
$size->setIsAspectRatio(false);
$customCreative->setSize($size);
Thankiu so much
You can send them via Reply privately to the author option, or a direct private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02r2aOU:ref"
![]() |
Ad Manager API Team |