Retrieve identity of newly created instance (keyword, ad, ... )

14 views
Skip to first unread message

Wouter T

unread,
Jan 20, 2014, 3:35:44 AM1/20/14
to adwords...@googlegroups.com
Sometimes I want to label newly created keywords or ads. However, adGroup.createKeyword() does not return a reference to the newly created keyword.

Is there anyway this is possible to implement? Or, may it be possible to add this feature in the future?

Regards,
Wouter

Wouter T

unread,
Jan 31, 2014, 8:21:25 AM1/31/14
to adwords...@googlegroups.com
Anyone?

Op maandag 20 januari 2014 09:35:44 UTC+1 schreef Wouter T:

Anash Oommen

unread,
Feb 3, 2014, 7:42:33 AM2/3/14
to adwords...@googlegroups.com
Hi Wouter,

No, this feature is not available. However, you could get the keyword back by 

var keyword = adgroup.keywords().withCondition("KeywordText = 'xxx' and KeywordMatchType = 'BROAD|PHRASE|EXACT'").get().next();

Cheers,
Anash P. Oommen,
AdWords API Advisor
Reply all
Reply to author
Forward
0 new messages