AdWords Script To Mine Your Search Query Reports

383 views
Skip to first unread message

Noor Digitalbyrå 1

unread,
Jul 13, 2022, 12:07:17 PM7/13/22
to Google Ads Scripts Forum
I try to solve this old scripts but get this error:



2022-07-13 00:40:25

InputError: 'KeywordText' is not a valid field in KEYWORDS_PERFORMANCE_REPORT. Please check your spelling and casing. at new sG (adsapp_compiled:16552:13) at new JG (adsapp_compiled:16769:22) at wH.report (adsapp_compiled:17435:12) at xH.report (adsapp_compiled:17577:21) at Object.<anonymous> (adsapp_compiled:18368:54)


Thanks for all help!

Google Ads Scripts Forum Advisor

unread,
Jul 14, 2022, 2:54:12 AM7/14/22
to adwords...@googlegroups.com

Hello Noor,

I’m James from the Google Ads scripts support team. Thank you for raising your concern to us.

Can you please confirm if you’re running the said third party script using the new script experience version when you encountered the said error? Also, provide the following information below so that we can check further.

  • Google Ads account ID / CID
  • Script name

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2cVhLQ:ref

Nils Rooijmans

unread,
Jul 14, 2022, 3:22:11 AM7/14/22
to Google Ads Scripts Forum
The script is outdated and uses the field 'KeywordText' that was replaced with the field 'Criteria' in the KEYWORDS_PERFORMANCE_REPORT.

Here's an updated version of the script:

https://searchengineland.com/brainlabs-script-find-best-worst-search-queries-using-n-grams-228379

Hope this helps,

Nils Rooijmans
https://nilsrooijmans.com
See my Google Ads Scripts FAQ to avoid the same mistakes I made: https://nilsrooijmans.com/google-ads-scripts-faq/

Noor Digitalbyrå 1

unread,
Jul 15, 2022, 1:53:23 PM7/15/22
to Google Ads Scripts Forum
Thanks you mych for the help!

I get this error after adding the new script Nils send me:


2022-07-15 04:47:48

InputError: shared_criterion.keyword.text || shared_criterion.placement.url || etc. at new xG (adsapp_compiled:16664:13) at new OG (adsapp_compiled:16881:22) at BH.report (adsapp_compiled:17550:12) at CH.report (adsapp_compiled:17695:21) at Object.<anonymous> (adsapp_compiled:18486:54)

Noor Digitalbyrå 1

unread,
Jul 19, 2022, 12:30:34 PM7/19/22
to Google Ads Scripts Forum
Any ideas?=)

Google Ads Scripts Forum Advisor

unread,
Jul 20, 2022, 12:51:14 AM7/20/22
to adwords...@googlegroups.com

Hello Noor,

Could you please share with us the following details below so that we can further check?

Noor Digitalbyrå 1

unread,
Jul 21, 2022, 3:07:21 PM7/21/22
to Google Ads Scripts Forum
Yes.
 636-144-2761
script name: Söktermsrapport

Thaks

Google Ads Scripts Forum Advisor

unread,
Jul 22, 2022, 1:04:55 AM7/22/22
to adwords...@googlegroups.com

Hello Noor,

I checked your account and I observed that you’re executing your script named `Söktermsrapport` using the new scripts experience version. However, upon taking a closer look at the code snippet of the third party script that you’re using, I noticed that it is still utilizing AdWords API report type in its query and some fields are still in AWQL format which are no longer working in the new script experience. Therefore, I can say that your third party script is not yet migrated for the new script experience version.

Take note that the Google Ads script new experience is now migrated to Google Ads API resources and there are fields, methods and functionality that has been removed or changed which could be the main reason why the said script is not working properly on your end.

Since you’re using a third party script which is being created and maintained by brainlabsdigital.com, it’s best if you raise your concern to their support team through this link as they are more knowledgeable on the implementation of their own script. Take note that third party scripts are already outside of our expertise. Moreover, you may also provide our migration document to them in order for them to make adjustments to their script in order to work properly in the new script experience environment.

Regards,

Reply all
Reply to author
Forward
0 new messages