AdWords
6.3K members online now
6.3K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Adwords Script Invalid argument: url?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am trying to run Adwords Script, but no matter what I do the preview always return with "Invalid argument: url (line xx)". I am sure the spreadsheet does exist and the URL is valid. What am I doing wrong?

 

Please help. Thanks.

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by Jon_Gritton (Top Contributor)
September 2015

Re: Adwords Script Invalid argument: url?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Jon,

I solved the problem though I am not sure why it happened.

I was using short link in the script for the spreadsheet url. When I replaced it with the full/original url, the script ran without any error.

Thanks again for taking the time to respond.

Tiffany

View solution in original post

Re: Adwords Script Invalid argument: url?

Top Contributor
# 2
Top Contributor

Hi Tiffany, can you post the line in question here.  If you want to replace the actual URL, make sure yoiu leave any quotes or other text in place.  Look especially closely at quote marks...

 

Jon

AdWords Top Contributor Google+ Profile | Partner Profile | AdWords Audits
Marked as Best Answer.
Solution
Accepted by Jon_Gritton (Top Contributor)
September 2015

Re: Adwords Script Invalid argument: url?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Jon,

I solved the problem though I am not sure why it happened.

I was using short link in the script for the spreadsheet url. When I replaced it with the full/original url, the script ran without any error.

Thanks again for taking the time to respond.

Tiffany

Re: Adwords Script Invalid argument: url?

Top Contributor
# 4
Top Contributor

Thanks for coming back and letting us know Tiffany, it's actually useful information to know that a short link won't work.

 

Do come back with any other problems you may have.

 

Jon

AdWords Top Contributor Google+ Profile | Partner Profile | AdWords Audits