Error when adding Background image to Lead Form Extension

41 views
Skip to first unread message

pradeep...@gmail.com

unread,
Jul 27, 2021, 6:51:23 PM7/27/21
to AdWords API and Google Ads API Forum
Hi,

I was able to upload the image successfully. But when adding the image resource as Background image to Lead form i am getting error.

Details:  Media Upload error "DIMENSIONS_NOT_ALLOWED"

I have tried multiple images with right sizes. Also getting the same error provided by google in samples (https://goo.gl/3b9Wfh).

Can someone help me figure this out.

Thank You,
Pradeep Datla.

Google Ads API Forum Advisor

unread,
Jul 28, 2021, 12:06:35 AM7/28/21
to pradeep...@gmail.com, adwor...@googlegroups.com
Hi Pradeep,

Thank you for reaching out to our API support team.

So that our team may better troubleshoot the error, could you also provide the complete request and response logs, with the request-id, generated when the error occurred? 

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JEN0w:ref

pradeep...@gmail.com

unread,
Jul 28, 2021, 2:02:48 PM7/28/21
to AdWords API and Google Ads API Forum
Hi Peter,

I added logging as per the link you provided. I am using .net library.
The Log file is getting created, but nothing is getting added in to the file. Can you please help

I added the following lines of code 
// Detailed logs.
TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE,
    "C:\\logs\\details.log", System.Diagnostics.SourceLevels.All);

// Summary logs.
TraceUtilities.Configure(TraceUtilities.SUMMARY_REQUEST_LOGS_SOURCE,
    "C:\\logs\\details.log", System.Diagnostics.SourceLevels.All);



Thank You,
Pradeep Datla.

On Tuesday, July 27, 2021 at 9:06:35 PM UTC-7 adsapi wrote:
Hi Pradeep,

Thank you for reaching out to our API support team.

So that our team may better troubleshoot the error, could you also provide the complete request and response logs, with the request-id, generated when the error occurred? 

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias instead.

Google Ads API Forum Advisor

unread,
Jul 29, 2021, 11:45:15 AM7/29/21
to pradeep...@gmail.com, adwor...@googlegroups.com
Hi Pradeep,

Thanks for providing the code. However, in order for us to fully investigate the issue, can you please provide the request and response logs as specified by Peter?

Thanks,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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