Retrieve Keyword By Keyword Id

48 views
Skip to first unread message

Brad Ruderman

unread,
Apr 27, 2015, 11:23:43 PM4/27/15
to adwor...@googlegroups.com
I am trying to replicate the Ad Tab in Google Adwords, programmatically by querying the AD_PERFORMANCE_REPORT. I want to segment it by Campaign, Ad Group, Ad, Keyword which I know I can do by adding KeywordId into the ad_performance_report. However where can I query for a list of all the keywords and if they are a broad/exact match. Is there a better way then using the CRITERION_REPORT (which doesn't have ad) or using the KEYWORD_PERFORMANCE_REPORT which I would then have distinct, just to get the mapping?

Simply put, what is the best way to get the attribute data for keywordId?

Thanks!

P.S. I have searched the forum, and I saw this question was asked with no answer 4 years ago:

Brad Ruderman

unread,
Apr 28, 2015, 12:38:39 AM4/28/15
to adwor...@googlegroups.com
Just been playing around here. It appears I can use the AdGroupCriterionService, however how can I only sync new record?

Thanks!

Anash P. Oommen (AdWords API Team)

unread,
Apr 28, 2015, 3:10:03 PM4/28/15
to adwor...@googlegroups.com
Hi Brad,

You should be able to use AdGroupCriterionService to get all the keywords. By "new records", are you referring to non-deleted keywords?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Brad Ruderman

unread,
Apr 28, 2015, 3:45:45 PM4/28/15
to adwor...@googlegroups.com
Anash-

For example if I add a keyword to adwords via the GUI, its impractical for me to everynight repoll the 25k keywords. I would just like to get the keywords which we "added" that day.

Thanks!

Anash P. Oommen (AdWords API Team)

unread,
Apr 28, 2015, 4:13:57 PM4/28/15
to adwor...@googlegroups.com
Hi Brad,

You can use CustomerSyncService (https://developers.google.com/adwords/api/docs/reference/v201502/CustomerSyncService) to get details of the items that got modified after a particular date and time.

Cheers,
Anash
Reply all
Reply to author
Forward
0 new messages