API limits for TargetingIdeaService

434 views
Skip to first unread message

karthick r

unread,
Oct 26, 2018, 1:42:35 AM10/26/18
to AdWords API and Google Ads API Forum
Hello,

My job is to get the search volume (STATS) for 10,000 keywords and pass in these 10,000 keywords to generate keyword ideas (IDEAS).  I have a question on the API limits of the TargetingIdeaService. 

Looking at this link, I understand that I can send 700 keywords to get the stats and 200 keywords per request to get keyword ideas. If this is the limit, then I need ~ 15 API calls to get the STATS and 50 API calls to get the IDEAS. Does these 65 calls translate to 65 Operations ? 


Operation: get
Count: 100 targeting ideas
Service: TargetingIdeaService
1

How do I calculate the number of operations ?

Also, are there restrictions on the number of keywords returned in the keyword ideas response ? If API returns 2000 keyword ideas for a batch of 200, I will have to read it in batches of 700. Does reading through the response count towards the operations ?

I already have the code to retry after the recommended time in case of rate limit errors. 

I am trying to find out the optimal payload size for my STATS and IDEAS reports. 



Thanks!
Karthick

Josh Radcliff (AdWords API Team)

unread,
Oct 26, 2018, 5:06:34 PM10/26/18
to AdWords API and Google Ads API Forum
Hi Karthick,

Each of the calls will count as one operation. From the rate limits guide (highlighting is mine):

A get operation is counted as one operation, regardless of the number of results objects.

When you mentioned "reading through the response", do you mean issuing a get request for each page of responses? If so, then each of those get requests will count as one operation as well.

Thanks,
Josh, AdWords API Team

karthick r

unread,
Nov 2, 2018, 12:38:55 AM11/2/18
to AdWords API and Google Ads API Forum
Hello Josh,  

Keyword Stats seems straightforward. 

Consider the following scenarios : 
Keyword Stats Request config - 

Num of seed keywords: 700
Page size : 700
Assuming that, I send in 700 Seed keywords in one stats request and if I get back 700 keywords with the stats. That's counted as one operation.

Keyword ideas Request config - 
Seed keywords per keyword ideas request: 200
Page size: 800
Assuming that, I send in 200 Seed keywords in one ideas request and if I get back 1600 keywords in total. I need to execute 2 get calls to read through the results as I have defined the Page size as 800 (which is the max limit). That's counted as two operations.  

Is my understanding right ? 

From the rate sheet 
Operation: get
Count: 100 targeting ideas
Service: TargetingIdeaService 1

What does the count mean here ?

Thanks!
Karthick

Josh Radcliff (AdWords API Team)

unread,
Nov 2, 2018, 8:55:52 AM11/2/18
to AdWords API and Google Ads API Forum
Hi Karthick,

Yes, what you've described below is correct. The count in the snippet you provided is the count of results (TargetingIdeaPage.entries) from a single TargetingIdeaService.get call. It's there as an example and to emphasize that regardless of the number of entries in a single TargetingIdeaPage, that one request still only counts as one operation.

Thanks,
Josh, AdWords API Team

Thiru K

unread,
Oct 23, 2019, 2:14:44 AM10/23/19
to AdWords API and Google Ads API Forum
Hi Josh,

Considering the above idea, we have increased the number of seed per request to 200 for Keyword ideas and page size as 800. But when I increase seeds above 100, the ideas output is reducing. PFB the test results.


Below is the results and counts

Run 1:

Page size = 800

No. of seeds per request = 100

Keyword idea count = 4030

 

Run 2 & 3:

Page size = 800  & 500

No. of seeds per request = 150

Keyword idea count = 2743

 

Run 4:

Page size = 800

No. of seeds per request = 200

Keyword idea count = 2023


On analyzing the results of Keyword ideas, there were difference in number of keyword ideas generated. Could you please check why there is a reduction?

Thanks,
Thiru.. 

Google Ads API Forum Advisor Prod

unread,
Oct 23, 2019, 5:20:26 AM10/23/19
to adwor...@googlegroups.com

Hi Thiru,

Thank you for posting your concern.

So that I can further investigate the issue, could you provide the complete SOAP request and response logs for each execution (Run 1 - 4) via Reply privately to author?

Regards,
Hiroyuki
Google Ads API Team



ref:_00D1U1174p._5001UKOBqK:ref

Thiru K

unread,
Nov 22, 2019, 1:12:46 AM11/22/19
to AdWords API and Google Ads API Forum
Hi Hiroyuki,

I have replied privately with the required data. Please check and provide your suggestions.

Thanks,
Thiru..

Google Ads API Forum Advisor Prod

unread,
Nov 22, 2019, 3:10:48 PM11/22/19
to gad...@gmail.com, adwor...@googlegroups.com

Hi Thiru,

We didn't receive your private message. Can you please provide them again?

Thanks,
Anthony
Google Ads API Team



ref:_00D1U1174p._5001UKOBqK:ref

Thiru K

unread,
Nov 25, 2019, 12:50:24 AM11/25/19
to AdWords API and Google Ads API Forum
Hi Anthony,

I have replied privately with logs. Can you please confirm if you have recieved?

Thanks,
Thiru..

Google Ads API Forum Advisor Prod

unread,
Nov 25, 2019, 10:32:00 AM11/25/19
to gad...@gmail.com, adwor...@googlegroups.com
Hi Thiru,

Unfortunately, we still didn't receive them. Please click the dropdown then select the reply privately to author. If this option still doesn't work, I'd suggest opening a new thread and seeing if that makes replying privately work.

Regards,
Message has been deleted

Thiru K

unread,
Nov 26, 2019, 6:08:16 AM11/26/19
to AdWords API and Google Ads API Forum
Hi Anthony,

I have created a new thread as suggested and will upload logs once I got a reply.


Thanks,
Thiru..

Google Ads API Forum Advisor Prod

unread,
Nov 26, 2019, 2:20:57 PM11/26/19
to gad...@gmail.com, adwor...@googlegroups.com
Hi Thiru,

Please share your SOAP logs through reply privately to author so I can take a closer look?

Thanks,

Anthony
Google Ads API Team

ref:_00D1U1174p._5001UODI4h:ref

Thiru K

unread,
Dec 16, 2019, 7:06:06 AM12/16/19
to AdWords API and Google Ads API Forum
Hi,

I have sent the requested info in reply privately. can you please confirm if you have received. Once I sent I am seeing its message sent alert. If you are still not able to see request to share your mail id where i can send you the details.

Thanks,
Thiru..
Reply all
Reply to author
Forward
0 new messages