KeywordsStates using Google Ads API

295 views
Skip to first unread message

cv

unread,
Jan 8, 2021, 10:44:01 AM1/8/21
to AdWords API and Google Ads API Forum
Hi,

I wanted to get Keywords Stats Similar to Adwords API.
When I request the keywordsIdeas service I can get keywords but those keywords are based on input keywords and not the same as passed keywords.

So I am looking at similar service like we have on Adwords API here. So I can request IDEAS or STATS.

Also I wanted to know that the Limit applies to the keywordsPlan service is based on no of keywords I get or no of requests I made.

For example If I am requesting array of 10 keywords and get Ideas based on that If get response of  400 keywords then limit counted base on those keywords or 1 request?

Also I wanted to limit result by 200 keywords per request how I can do?

I am using Google Ads PHP lib.

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 8, 2021, 5:21:03 PM1/8/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

For IDEAS, you can use the KeywordPlanIdeaService.GenerateKeywordIdeas as described here and you can use KeywordPlanService.GenerateHistoricalMetrics as described here for STATS. Limits are based on the requests, not the keywords. You can find the limits for the keyword plan services here.

Cheers,
Anthony

Google Logo
Anthony
Google Ads API Team
 
 

ref:_00D1U1174p._5004Q2AIbEY:ref
Message has been deleted

cv

unread,
Jan 12, 2021, 5:52:09 AM1/12/21
to AdWords API and Google Ads API Forum
Thanks for response.

This is solved now.

Google Ads API Forum Advisor Prod

unread,
Jan 12, 2021, 10:08:29 AM1/12/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

Please see my answer for the questions you've sent recently:
How I can limit the No of keywords in response?
-As discussed by my colleague on his reply, limits are based on the requests, not the keywords. You can find the limits for the keyword plan services here.

Is the keywords returns are based on keywords passed and same as Keywords Planner UI?
-Yes, the Generate Keyword Ideas of the Google Ads API should have the same input and results, and identical functionality as the Keywords Planner in the UI.

Furthermore, could you confirm if there is anything else that you want us to provide suggestion or support?

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AIbEY:ref

cv

unread,
Jan 15, 2021, 12:43:41 PM1/15/21
to AdWords API and Google Ads API Forum
Hi Ernie,

I am not getting this fields using Google Ads API.
'CATEGORY_PRODUCTS_AND_SERVICES'
'AVERAGE_CPC'

Thanks

Google Ads API Forum Advisor Prod

unread,
Jan 15, 2021, 4:17:58 PM1/15/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

Unfortunately, the Attributes which include these values are not available in Google Ads API. 

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2AIbEY:ref

cv

unread,
Jan 18, 2021, 4:57:32 AM1/18/21
to AdWords API and Google Ads API Forum
Hi Anthony,

Is that deprecated or any plan to include those in future?

Thanks,

cv

unread,
Jan 18, 2021, 9:50:09 AM1/18/21
to AdWords API and Google Ads API Forum
Hi Anthony,

Any other service I can get categories data using Google Ads API?

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 18, 2021, 6:53:56 PM1/18/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

Unfortunately, there is currently no way to get these with Google Ads API. I cannot say whether or not they are going to be included in the future but you can follow our blog for announcements.

cv

unread,
Jan 20, 2021, 5:42:15 AM1/20/21
to AdWords API and Google Ads API Forum
what can be urlSeed https://developers.google.com/google-ads/api/reference/rpc/v6/UrlSeed format.
Is this domain name with www or without www?

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 20, 2021, 6:30:11 PM1/20/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

The "www" is not required for the Url Seed.

cv

unread,
Jan 25, 2022, 2:36:04 PM1/25/22
to Google Ads API and AdWords API Forum
Is CATEGORY_PRODUCTS_AND_SERVICES is still not available with API?

Please let me know how we can get this?

Google Ads API Forum Advisor

unread,
Jan 25, 2022, 9:49:53 PM1/25/22
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

This is not currently available in the API. As mentioned in the migration guide, the Business Category has been removed in the Ads API. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2AIbEY:ref

cv

unread,
Jan 26, 2022, 6:16:20 AM1/26/22
to Google Ads API and AdWords API Forum
Hi,

In addition to Categories.

How I can use RelatedToUrlSearchParameter? Is this same as UrlSeed or it is SiteSeed ?

//Create related to url search parameter.
            $relatedToUrlSearchParameter = new RelatedToUrlSearchParameter();
            $relatedToUrlSearchParameter->setUrls(array($website));
            $relatedToUrlSearchParameter->setIncludeSubUrls(FALSE);
            $searchParameters[] = $relatedToUrlSearchParameter;

Thanks,

cv

unread,
Jan 26, 2022, 6:36:00 AM1/26/22
to Google Ads API and AdWords API Forum
Hi Matt,

Ok, Got. So Category ID in the "Products and Services" is Business Category.


1) I cannot see AVERAGE_CPC as well.

Can you please check?



2) How I can map this SearchParameters with Google Ads API service?
 

Thanks,

Google Ads API Forum Advisor

unread,
Jan 26, 2022, 3:05:56 PM1/26/22
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

Average CPC is not a currently supported historical metric. Please see this page for supported KeywordPlanHistoricalMetrics. 

As with the TargetingIdeaSelector searchParameters in the AdWords API, you can filter your GenerateKeywordIdeasRequest. The available filters are listed in the Generating Ideas section of the keyword planning guide.
Reply all
Reply to author
Forward
0 new messages