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,
 |
| Harry Cliford Rivera |
| Google Ads Scripts Team |
|
|
| |

ref:_00D1U1174p._5004Q2En5hk:ref