Passing a variable int KeywordIdeas

15 views
Skip to first unread message

Stephen Barrett

unread,
Aug 10, 2018, 12:05:10 AM8/10/18
to AdWords API and Google Ads API Forum
I'm working with the KeywordIdeas sample and I was wondering if there was a way to pass a variable without it be $_POST? I'm using Ajax and I was able to pass the post variable through the form's serialize function. My ajax script is changing the $_POST into another variable. So I was wondering how I can pass just a simple variable into KeywordIdeas without it being a $_POST variable. (if that makes sense)


Thanks in advance

Peter Oliquino (AdWords API Team)

unread,
Aug 10, 2018, 2:51:31 AM8/10/18
to AdWords API and Google Ads API Forum
Hi Stephen,

For service requests, we usually recommend that users use the supported client libraries instead for ease of usage. Since you are using a different approach, I would not be able to comment further. However, you may refer to this guide on how API calls are structured and passed.

I hope this helps.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages