Getting 400 Error on generateKeywordIdeas

65 views
Skip to first unread message

David Alvarez

unread,
Apr 10, 2022, 12:53:14 PM4/10/22
to Google Ads API and AdWords API Forum
Hey all, these are my request params:

    const requestParams: AxiosRequestConfig = {
      url: route,
      method: "POST",
      headers: {
        Authorization: `Bearer ${ACCESS_TOKEN.token}`,
        "developer-token": `${GOOGLE_DEVELOPER_TOKEN}`,
        "Content-Type": "application/json",
      },
      data: {
        keywordSeed: {
          keywords: ["baseball bats"],
        },
      },
    };

Am I missing something on my request?

Google Ads API Forum Advisor

unread,
Apr 10, 2022, 11:52:32 PM4/10/22
to da...@southfloridaathleticclub.com, adwor...@googlegroups.com

Hi David,

Thank you for raising this concern to the Google Ads API team.

With regard to your concern, I can see that this is about generateKeywordIdeas. That said, I would suggest referring to this document which contains the details about this. Also, please check this general guideline for the Rest API for more information.

Let us know if you have further questions.

Regards,

Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZLdzS:ref

David Alvarez

unread,
Apr 11, 2022, 2:31:41 AM4/11/22
to Google Ads API and AdWords API Forum
Hi! Thank you very much.

Finally, the error was simply that I was sending a DEVELOPER TOKEN that was pending approval on a (Non-Test) Manager account. I applied for my production token so that I can query without problems.

Google Ads API Forum Advisor

unread,
Apr 11, 2022, 2:42:11 AM4/11/22
to da...@southfloridaathleticclub.com, adwor...@googlegroups.com
Hi David,

Thank you for the update.

We are glad to hear that. If you have further questions, please feel free to add those in this thread. Our team will be happy to assist and give support to you.

David Alvarez

unread,
Apr 11, 2022, 2:42:57 AM4/11/22
to Google Ads API and AdWords API Forum
Any idea on how long the acceptance process usually takes? I can't seem to get my developer token to work with my Test Manager Account.

Google Ads API Forum Advisor

unread,
Apr 11, 2022, 4:09:58 AM4/11/22
to da...@southfloridaathleticclub.com, adwor...@googlegroups.com
Hi David,

Thank you for reaching out.

As per this document, they typically contact you within two business days of the date you submitted your application, at the email address you provided. Also, if you want to do a follow up or any concern about your submitted application, the I would suggest reaching out to the Compliance Team via this link as they are the ones who process and approve requests.


Let us know if you have further questions.

Reply all
Reply to author
Forward
0 new messages