Product Group Name

54 views
Skip to first unread message

Thomas Dean

unread,
Apr 20, 2022, 11:31:57 AM4/20/22
to Google Ads Scripts Forum
Hello!

Hope you are well.

Is there any report where I can get the product group name? In the UI it is shown as 'Product Group' in the Product Groups tab.

Thanks,

Tom

Thomas Dean

unread,
Apr 21, 2022, 11:10:31 AM4/21/22
to Google Ads Scripts Forum
EDIT - I think this is less important than some of the other issues being raised at the moment - feel free to ignore for a couple weeks

Tom

Google Ads Scripts Forum Advisor

unread,
Apr 26, 2022, 6:03:23 AM4/26/22
to adwords...@googlegroups.com

Hello Tom,

I’m James, a member of the Google Ads scripts support team. Thank you for reaching out to us.

Yes, you can retrieve those data by implementing AdsApp.Report() and create a query that retrieves data from product_group_view resource. To capture the product group name within the said resource, you need to utilize or filter it by product_group_view.resource_name field.

Let me know if you have any questions.

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2a58Ix:ref

Thomas Dean

unread,
Apr 27, 2022, 2:46:52 AM4/27/22
to Google Ads Scripts Forum
Hi James,

Thanks for your swift reply.

Already tried that - it doesn't return a human readable name, it returns a series of ids e.g customers/6447040799/productGroupViews/68266739699~293946777945.

How would I get the name that can be seen in the UI?

Thanks,
Tom

Google Ads Scripts Forum Advisor

unread,
Apr 29, 2022, 2:10:39 AM4/29/22
to adwords...@googlegroups.com

Hello Tom,

Can you please share with us the UI screenshot of the data that you are trying to retrieve so that we can check this further if it is possible to retrieve it via Ads scripts? You may share it via ‘Reply privately to author’ option.

Regards,

Thomas Dean

unread,
Apr 29, 2022, 3:02:41 AM4/29/22
to Google Ads Scripts Forum
Hi James,

I don't have permission to reply to the author - I guess you need to grant this first?

Attached a screenshot without sensitive data for now. The data I can't find is the 'All products' text. I can pull resource name and cost which gives a cost figure that matches this row but I can't get the human readable name.

Thanks,

Tom

product_group_name.png

Google Ads Scripts Forum Advisor

unread,
May 3, 2022, 1:44:48 AM5/3/22
to adwords...@googlegroups.com
Hi Tom,

I'm afraid that we cannot identify the entity you've provided. Could you share the whole screenshot on googleadsscr...@google.com instead? Also, please include the link of this forum thread, so we could identify where it came from.

Regards,
Google Logo
Teejay Wennie
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2a58Ix:ref

Google Ads Scripts Forum Advisor

unread,
May 11, 2022, 4:08:11 AM5/11/22
to adwords...@googlegroups.com
Hi Tom,

Thank you for providing the requested information.

With regard to your concern, the product_group_view report is the best fit for your use case.
Reply all
Reply to author
Forward
0 new messages