Miguel Hernandez
unread,Apr 27, 2022, 8:30:43 AM4/27/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Ads API and AdWords API Forum
Hi everyone,
I want to migrate one of our scripts to the New Script Experience and I don't know how I can transform the following code that filters price extensions:
// Set builders
var priceItemBuilder = AdsApp.extensions().newPriceItemBuilder();
var priceBuilder = AdsApp.extensions().newPriceBuilder();
var priceIterator = AdsApp
.extensions()
.prices()
.withCondition("Status = ENABLED")
.withCondition("PolicyApprovalStatus IN ['APPROVED','APPROVED_LIMITED', 'DISAPPROVED']")
.get();
Can someone help me please?
Thanks in advance,
Miguel