Get campaign by its ads display url

14 views
Skip to first unread message

uvsuperDev

unread,
Jan 27, 2016, 11:25:06 AM1/27/16
to AdWords API Forum
Hi Guys
We are looking for the best way to fetch only campaigns that contains ads that would lead the visitor to webpage aaa.com (for example). campaigns that contains adgroups (and eventually ads) that leads to bbb.com will not be fetched. 

What would be the best way to implement such query? 

Thanks!

Anthony Madrigal

unread,
Jan 27, 2016, 12:48:11 PM1/27/16
to AdWords API Forum
Hi,

Unfortunately, there is no way to query something from a lower level in a higher level (e.g. get ads from a campaign level). I recommend using the AdGroupAdService to first get the ads that contain a certain website, then from there, get the campaigns of the ads.

Regards,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages