I want to get Keyword States for 100 keywords

714 views
Skip to first unread message

Rohit Nishad

unread,
Feb 3, 2022, 5:29:18 AM2/3/22
to Google Ads API and AdWords API Forum
Hi,

I am useing Google Ads API rest interface, generateKeywordIdeas function with this body, 

"includeAdultKeywords": true,
pageSize: inputs.length,
"keywordSeed": {
"keywords": [
"seo",
"something",
100+
]
}

I get this error,
error: {
    code: 400,
    message: 'Request contains an invalid argument.',
    status: 'INVALID_ARGUMENT',
    details: [ [Object] ]
}

I know this is because of 100+ keyword,
How can i get keyword data for 100+ keyword.

Note: I do not want to create resoures for every time i request to get 100+ keyword status

Google Ads API Forum Advisor

unread,
Feb 3, 2022, 4:03:57 PM2/3/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hello Rohit,

Thanks for reaching out to the Google Ads API support. There are several ways you can create seeds for generating new keywords:

  • For words or phrases that describe what you're advertising, use KeywordSeed. This could be a general type of business you are targeting such as plumbers, or it could be a product or service you offer such as drain cleaning.
  • For the URL of a webpage or entire website related to your business, use UrlSeed. The URL seed targets only a specific URL. If there are no hits, the search automatically expands up to the pages from the same domain.
  • For both keyword seeds and a URL seeds, use KeywordAndUrlSeed.
  • For an entire site, use SiteSeed. Given a top-level domain name, such as www.example.com, the site seed generates up to 250,000 keyword ideas from publicly available information.
Please refer to this link to get more information. Feel free to use our client library sample code "generate-keyword-ideas" to Generate keyword ideas from a list of seed keywords.

Could you please confirm which kind of keyword seeds you would like to generate?

Best regards,
Google Logo
Jakeia Sabrina
Google Ads API Team
 

ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Feb 4, 2022, 1:32:31 PM2/4/22
to Google Ads API and AdWords API Forum
WTH? have you guys even read what i said? I know how to genrate keywords. I want stats of 100 keywords without createing any resorce in Google Ads account.

Google Ads API Forum Advisor

unread,
Feb 6, 2022, 10:01:01 PM2/6/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hello Rohit,

Thanks for getting back to us.

As for the error (INVALID_ARGUMENT) you've encountered on the initial thread, can you share to us the complete API logs (request and response with request-id) so our team can further check? Please send the requested details via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

As for the provided function body, can you enclose the 100+ with double quotes same as below?

"includeAdultKeywords": true,
      pageSize: inputs.length,
      "keywordSeed": {
        "keywords": [
                 "seo",
                 "something",
                 "100+"
         ]
  }


Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Feb 7, 2022, 5:04:58 AM2/7/22
to Google Ads API and AdWords API Forum
No what i mean by 100+ is i am trying to set 100+ keyword in keyword seed, which ofcourse give error.

I am asking is there any other way to get 100+ keywords status at once?

Google Ads API Forum Advisor

unread,
Feb 8, 2022, 2:41:42 AM2/8/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hello Rohit,

Thanks for getting back to us.

So our team better check on this and to have a full picture on what you're trying to achieve, can you share to us the complete API logs (request and response with request-id) so our team can further check? Looking on this KeywordSeed guide, it doesn't mention any limit for the number of keywords.



Please send the requested details via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Rohit Nishad

unread,
Feb 26, 2022, 11:01:36 AM2/26/22
to Google Ads API and AdWords API Forum
yes KeywordSeed have a limit of 20 keywords only

Rohit Nishad

unread,
Feb 26, 2022, 11:24:58 AM2/26/22
to Google Ads API and AdWords API Forum
let me ask the question again
Is there any way i can get keyword data (especially search volume) for 100 or even more then 100 keyword at ones?

Note: I am not talking about genratig keyowrd ideas. 
I have list 100 + keyword how can i get data for thoese keyword at ones.

Rohit Nishad

unread,
Feb 26, 2022, 9:56:03 PM2/26/22
to Google Ads API and AdWords API Forum

Ngon Nguyen

unread,
Feb 26, 2022, 10:20:29 PM2/26/22
to rohitnisha...@gmail.com, Google Ads API and AdWords API Forum

Vào 9:56, CN, 27 thg 2, 2022 Rohit Nishad <rohitnisha...@gmail.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6c5a40fa-dd56-421b-a9d0-9dcb65b0f2ebn%40googlegroups.com.

Google Ads API Forum Advisor

unread,
Feb 28, 2022, 1:42:30 AM2/28/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi Rohit,

Thank you for the replies. I'm also a member of the Google Ads API team and allow me to provide support here.

To investigate this, could you please provide complete request and response logs with request ID and request header that generated on your end. This information will help our team to check further of the exact limit that you encountered and to know if there is a workaround for this.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsapi-support@google.com alias instead.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Feb 28, 2022, 2:27:46 PM2/28/22
to Google Ads API and AdWords API Forum
here it is.
Screenshot 2022-02-23 at 10.57.34.pngScreenshot 2022-02-23 at 10.50.53.png

On Monday, 28 February, 2022 at 12:12:30 pm UTC+5:30 adsapi wrote:
Hi Rohit,

Thank you for the replies. I'm also a member of the Google Ads API team and allow me to provide support here.

To investigate this, could you please provide complete request and response logs with request ID and request header that generated on your end. This information will help our team to check further of the exact limit that you encountered and to know if there is a workaround for this.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com alias instead.

Ngon Nguyen

unread,
Mar 1, 2022, 7:22:15 AM3/1/22
to rohitnisha...@gmail.com, Google Ads API and AdWords API Forum

Vào 2:27, Th 3, 1 thg 3, 2022 Rohit Nishad <rohitnisha...@gmail.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.

Google Ads API Forum Advisor

unread,
Mar 1, 2022, 1:54:57 PM3/1/22
to ngonng...@gmail.com, rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi everyone,

I reproduced this issue that only 20 keywords at a time can be used in the seed. Can you privately send me a full screen screenshot of the UI where you can easily pass over 20 keywords to a keyword seed? You may reach out to product support for assistance.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Mar 4, 2022, 8:42:05 AM3/4/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hi Rohit,

Thanks for getting back to us. I had to delete your last past as pasted screenshto contained your emails address. Posting sensitive information on forum is not recommmended.

Moving forward, to generate forcast metrics, you may check this page to get the requested Keyword Plan forecasts in REST. Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Mar 5, 2022, 9:33:27 AM3/5/22
to Google Ads API and AdWords API Forum
OK, BTW  generate forcast metrics also do not support JSON input or more than one keyword.
If support then me exact function name for better understanding.

Google Ads API Forum Advisor

unread,
Mar 6, 2022, 10:26:44 PM3/6/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi Roshit,

The Google Ads API should support JSON as also discussed here, and in this guide when using the REST Interface.

In addition, you may review the implementation part of the said generate forecast metrics feature as for example, a KeywordPlanAdGroupKeyword should have 10000 max number of keyword plan keywords per plan.

You may also refer to this guide for more information on the planning services limits.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Mar 7, 2022, 1:03:06 AM3/7/22
to Google Ads API and AdWords API Forum
I already read the docs but still not find a way to send 10000 keyword.

as described in docs i have to use KeywordPlanCampaignKeywords, or KeywordPlanAdGroupKeywords.

so my question is they both (KeywordPlanCampaignKeywords, and KeywordPlanAdGroupKeywords.) have property called text where i can put only one keyword?

So what to do?

Google Ads API Forum Advisor

unread,
Mar 7, 2022, 11:02:38 AM3/7/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hi Rohit,

Thanks for getting back to us.

You may refer to this code example to create a keyword plan, which can be reused for retrieving forecast metrics and historic metrics. You may see this link on how keywords are added for KeywordPlanAdGroupKeywordOperation using the java client library for your understanding. Hope this helps. Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Mar 8, 2022, 10:29:55 AM3/8/22
to Google Ads API and AdWords API Forum
ok seems good but i have only more question i want to look 100 keywords state too frequently should i create keyword plan every time or should i update the keyword only and resend the request?
which is faster?

Google Ads API Forum Advisor

unread,
Mar 8, 2022, 10:15:06 PM3/8/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi Rohit,

Thank you for your follow up.

This should depend on your current implementation locally. This is because in the API's perspective, both create and update operations of similar volume, should also take the same time to complete.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Mar 27, 2022, 3:11:11 AM3/27/22
to Google Ads API and AdWords API Forum
is there any monthly limit on this?
Like generatekeywordIdeas do not have any monthly limit.
Is there any monthly limit on this.
Here is my flow.
I create one Keyword plan, ad group, etc at last i will add 1000 Keyword in ad group. (This is one tome task mean i will do this only ones)
 

then whenever i want stats for 100 Keyword i will update first 100 Keyword of above creted Ad group
I am asking limit of this thing.

Google Ads API Forum Advisor

unread,
Mar 28, 2022, 4:01:41 AM3/28/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi Rohit,

Please note that we do not have limits in terms of months, but we do have limits and quotas in terms of how operations will execute, such as the number of operations that can be sent in a single mutate request. Since the limits related to planning services (generatekeywordIdeas), you may refer to this section of the guide.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W3wSo:ref

Rohit Nishad

unread,
Apr 24, 2022, 11:12:13 PM4/24/22
to Google Ads API and AdWords API Forum
I know limit for planning services.. I am asking what is limit for bulk keywords check. The method you told me above crate ad group and add keywords to them.. this process limit?
What is limit for this?

one more thing. In UI when we go to keyword planner there is option to upload keywords file .. is this follow same process??? 

Google Ads API Forum Advisor

unread,
Apr 25, 2022, 7:08:10 AM4/25/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com

Hi Rohit,

Thanks for getting back to us.

Kindly note that all requests to Keyword Planning services for both standard and basic access are rate limited. Fewer requests are allowed per minute when compared to other services. Our recommendation is to cache or store results as you will receive the same response over a long time span. For example, if you request a set of existing keywords, the response is not going to change over a period of hours or days. In the case of historical metrics, the statistics refresh monthly. As mentioned in this guide, following planning services are limited to 1 request per second per CID or developer token:

If the requests that violate these limitations are rejected with the error: RESOURCE_EXHAUSTED. Also, 1 QPS is calculated as 60 requests per 60 seconds.

For your second question, could you provide us with the screenshots of the whole Ads UI via privately where we can see those in the UI? This so that our team can accurately verify and provide specific recommendations.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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