Querying for Specific AdTextAsset Fields

45 views
Skip to first unread message

Kevin

unread,
Jun 22, 2021, 6:33:47 PM6/22/21
to AdWords API and Google Ads API Forum
Hi,

I've found that some Responsive Search Ads have a lot of data in each AdTextAsset - so much so that it can cause some errors when response message sizes get too large. Unfortunately, it appears that we can only query for the entire AdTextAsset when Selecing the Headlines or Descriptions.

Does anyone know if it's possible to get less data from each AdTextAsset to reduce errors and perhaps improve performance (due to smaller messages)?

Thanks,
Kevin

Google Ads API Forum Advisor

unread,
Jun 24, 2021, 3:13:06 PM6/24/21
to lopsid...@gmail.com, adwor...@googlegroups.com
Hi Kevin,

Could you send us privately a full request / response log of a too large AdTextAsset?

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Ixv1C:ref

Kevin

unread,
Jun 30, 2021, 1:08:44 PM6/30/21
to AdWords API and Google Ads API Forum
I actually have updated the code to address the issue by increasing the maximum response size:

Because of this, I don't have any recent logs to share regarding the max size.
However, I think it would be much preferable to get less data overall, since some fields are not needed.

Thanks,
Kevin

Google Ads API Forum Advisor

unread,
Jul 5, 2021, 10:03:26 PM7/5/21
to lopsid...@gmail.com, adwor...@googlegroups.com
Hi Kevin,

Glad to know that you were able to find a workaround on the issue and thank you for your feedback.

That said, so that I may create a feature request on the "get less data overall, since some fields are not needed" that you mentioned, could you confirm if what you are looking for is to reduce the response in general, or if you are looking for an option to somehow only filter the fields/data you wish to be included in the response?

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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