Hello Yaniv,
Michael here from Google Ads scripts Team. Thank you for reaching out to us.
With regards to your concern, would you be able to try the code below if it will fit to your use case?
function main() { let campaignIterator = AdsApp.campaigns() .withCondition('campaign.name NOT LIKE "%GDN%"') .get(); while (campaignIterator.hasNext()) { let campaign = campaignIterator.next(); console.log(campaign.getName()) } }
You can also try the suggested samples by Sigurd.
@Sigurd, thank you for chiming in and sharing your ideas.
Regards,
|
||||||
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/igUv5Uh-sPk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/0Gy0h000000000000000000000000000000000000000000000RBAMD200wCxWW33vReqXoODYaGM6aw%40sfdc.net.
Hello,
James here, also a member of the Google Ads scripts. Please let us know if you need anything else. We’re here to assist.
Regards,
|
||||||
Hi Martin,
Thanks for reaching out to the Google Ads Scripts.
So our team can better check this concern, could you provide the following?
You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsscr...@google.com
Regards,
|
||||||