RE: DSA Target Urls List Ads Scripts

226 views
Skip to first unread message
Message has been deleted

Google Ads Scripts Forum Advisor

unread,
Mar 25, 2021, 11:07:36 PM3/25/21
to adwords...@googlegroups.com
Hi there,

Thanks for reaching out. I am Harry from the Google Ads Scripts Team. Allow me to assist you on this.

For your reference, Campaigns and Ads have different selectors so if you want to retrieve ads at the campaign level, use Campaign.ads() instead which will return an AdSelector for each of your Display and Search Campaigns and use the AdSelector directly if you want to retrieve ads without looking at their campaigns. Please do note also that Video and Shopping Ads have different selectors. See VideoAdSelector and ProductAdSelector respectively.

In addition, the AdSelector's CampaignStatus column only enumerates ENABLED, PAUSED, REMOVED statuses and does not support the DELETED status. Please see AdsSelector Columns for your reference. Kindly update your script accordingly, then let me know if you are still unable to retrieve urls.


Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2En5hk:ref
Message has been deleted

Google Ads Scripts Forum Advisor

unread,
Mar 26, 2021, 4:32:25 AM3/26/21
to adwords...@googlegroups.com
Hi,

Kindly provide the script's name and your CID so that I could check what you have so far on our end and assist you further. You may send them here or privately via the reply to author option. Note that you need to join the Google Group for you to use the said option.

If this option is not available at your end still, you may send it through our email (googleadsscr...@google.com) instead.
Message has been deleted

Google Ads Scripts Forum Advisor

unread,
Mar 28, 2021, 11:39:37 PM3/28/21
to adwords...@googlegroups.com
Hello, 

Unfortunately, Dynamic Search Ads is currently not supported through the Google Ads Scripts. However, you may retrieve FinalUrls' of Dynamic Search Ads by retrieving a Criteria Performance Report through scripts. This report allows you to pull a FinalUrls attribute at the ad group criteria level, one row per ad group and criteria combination. You may retrieve Reports using scripts by referring to the examples in this link.

Let me know if you have questions or other concerns.
Reply all
Reply to author
Forward
0 new messages