Hello,
I’m James from the Google Ads scripts support team. Thank you for contacting us.
I concur with Mike that it is possible. I made some adjustments to our solution script in order for it to overwrite data in an existing spreadsheet. That said, can you please try to implement the attached script below and let me know how it goes on your end?
Regards,
|
||||||
10/6/2022 2:20:28 PM | Using template spreadsheet - https://docs.google.com/spreadsheets/d/1acE4CyRU5ri0_imq27vO3XAtFmBdXdRgHUUT-Lvxz8c/edit#gid=12. |
10/6/2022 2:20:33 PM | TypeError: segments is not iterable at outputSegmentation (Code:213:29) at main (Code:108:5) |
Hello,
Can you please share with us the following items below so that we can further check the issue?
On the other hand, regarding your additional question, could you please provide more details to it so that we can provide an accurate response?
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/D4XqEy2927w/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/NsmO6000000000000000000000000000000000000000000000RJVZJS00MddeMifQQPGDB0zfGUVuiQ%40sfdc.net.
--
-- 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/D4XqEy2927w/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/f246c92f-eacb-493b-a37f-91cb4f6f5f05n%40googlegroups.com.
Hello,
I believe that it is feasible to segment your report by campaign name or campaign type. You just need to add the campaign.name or campaign.advertising_channel_type field as a filter within the GAQL query under processAccount function.
Let me know if you have any further questions.
Regards,