Hi Dan,
Thanks for reaching out to the Google Ads Scripts Team.
You could check our documentation on Ad Customizers for more information on the available methods which can be used in Google Ads Scripts. However, if you're looking for another feature that is not stated in our documentation, could you please further elaborate on what you're aiming for in bullet form so we're able to have a better understanding of your concern? Complete and uncropped screenshots are very much appreciated.
You may send these privately via the Reply to author option. Note that you may need to join the Google Group for you to use this option. If this option is not available on your end still, you may send it through our email (googleadsscr...@google.com) instead.
Relevant links:
Best regards,
![]() |
Google Ads Scripts Team |
Hi All,
@Sigurd - Thank you for your continued patronage to this public forum.
@Dan - I believe Sigurd's recommendation is a great approach to follow. In the event that you'd need further assistance or encounter any errors, please let us know along with your Google Ads account ID or CID as well as the name of the script in your account so our team can further investigate.
Best regards,
Google Ads Scripts Team
--
-- 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 the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/d1645e68-65a2-451a-ae62-1fc36972ff75n%40googlegroups.com.
Let me know if you need other details.
This is our current code:
function main() {
// retrieve spreadsheet data
var spreadsheet = SpreadsheetApp.openByUrl(SPREADSHEET_URL);
var sheet = spreadsheet.getSheetByName(SHEET_NAME);
var data = sheet.getDataRange().getValues();
// store desired data
var prices = {};
for(let i=0; i< data.length; i++){
if(ATTRIBUTE_NAMES.includes(data[i][0])){
prices[data[i][0]] = data[i][2];
}
}
// loop through sources
for(const source of AdsApp.adCustomizerSources()){
console.log('Source', source.getName());
// retrieve items
var adCustomizerItemSelector = source.items();
var adCustomizerItemIterator = adCustomizerItemSelector.get();
while (adCustomizerItemIterator.hasNext()) {
var adCustomizerItem = adCustomizerItemIterator.next();
console.log('item', adCustomizerItem);
// adCusotmizerItem.setAttributes(prices)
}
}
}
Hi Dan,
Thank you for providing more context to your use-case. Would you be so kind as to provide your Google Ads account ID or CID as well as the name of the script in the account for our team's further investigation?
We'll be looking forward to your response.
Hi Dan,
Thank you for your response. Please be informed that this issue has already been raised to our wider team. We'll update you on this thread as soon as we have information.
Regards,