How to identify Ads type using JS ?

23 views
Skip to first unread message

Flintlozk

unread,
Jan 30, 2018, 4:43:16 AM1/30/18
to AdWords API Forum
Hello, its impossible to know the ads type ? is GDN ,Remarketing or Google Search
when i click some ads that link to my website, is it contain 'something' to identify the type of it ?

Milind Sankeshware (AdWords API Team)

unread,
Jan 30, 2018, 3:06:36 PM1/30/18
to AdWords API Forum
Hi Flint,

Could you please confirm if you are looking for the ad type or the campaign type? You could use the value track parameters: {adgroupid}, {campaignid} and {creative} to get the Ids of the AdGroup, Campaign and Ad. Using AdGroupAdService.get() and CampaignService.get() API calls, you could retrieve the ad type and the campaign type. If you would like to know where the click came from: "g" for Google search, "s" for a search partner, or "d" for the Display Network, then you could use {network} parameter. For more information, please check the guide on ValueTrack parameters.

Let me know if you have further questions.

Thanks,
Milind, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages