Listing Groups for Retail

23 views
Skip to first unread message

Andreas Chouliaras

unread,
Jul 1, 2025, 6:57:45 PM7/1/25
to Google Ads API and AdWords API Forum
In this code:


what is the definition of AssetGroupListingGroupFilterCreateOperationFactory ?

How do I import it?

And also, what should I put for _TEMPORARY_ID_LISTING_GROUP_ROOT?

Google Ads API Forum Advisor

unread,
Jul 1, 2025, 11:48:54 PM7/1/25
to adh...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Please be informed that the "AssetGroupListingGroupFilterCreateOperationFactory" is a factory class for creating MutateOperations. These operations create new AssetGroupListingGroupFilterMutateOperation instances using the given customer ID and asset group ID. Kindly refer to the sample example on Add Performance Max Product Listing Group Tree sample to get more information.

I would like to inform you that the temporary IDs are used in the list of MutateOperations in order to refer to objects in the request that aren't in the API yet. The GoogleAdsService.Mutate supports temporary resource names that can be referenced later on in the same request. This lets you, for example, create a campaign and its associated ad groups, ads, keywords, etc. all in a single request. I would recommend you refer to the guide Temporary resource names and sample example to get more information. 

I hope this helps! Feel free to get back to us in case of any further queries.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-02 03:48:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rgxF3:ref" (ADR-00316696)



Reply all
Reply to author
Forward
0 new messages