Hi,
Thank you for reaching out to Google Ads API Forum.
Would be helpful if i can have the example to create campaign with specific products and i am preferring REST API.
>> With regards to your concern, you may use the REST method customers.campaigns.mutate to create, update, or remove campaigns. You may also utilize the api explorer customers.campaigns.mutate to test out the method. Additionally, for your reference, you may refer to the Campaign Management guide for an overview of Campaigns in Google Ads API.
For the specifics of a Shopping Campaign, you may refer to this guide.
Let us know if you have further questions and clarifications.
![]() |
Google Ads API Team |
Hi,
Thanks for getting back to us.
With regards to Performance Max campaigns, you may refer to this guide regarding Overview of Performance Max campaigns. You may also refer to this code example. This example shows how to create a Performance Max campaign.
With regards to the hierarchy, you may refer to this guide regarding Creating Shopping Listing Groups. For your reference, you may also refer to this code example regarding Adding Performance Max Product Listing Group Tree.
Let us know if you have further questions and clarifications.
Hi,
Thank you for responding back.
As per the AssetGroupListingGroupFilterOperation, you may create an array of operations in a single request. However, you may specify only one ProductItemId for each operation. I will suggest utilizing the API explorer (https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.assetGroupListingGroupFilters/mutate?apix=true) also provided in our previous response to customize and validate your requests.
Hi,
Thank you for getting back to us.
I understand that you are getting the error for parent listing filter and the REST API gives an error when you are not passing anything for TYPE parameter. Can you please provide us with the complete logs(request and response with request ID) of these requests so we can investigate further the errors being thrown and provide you with precise guidance and recommendations?
If you are using a Client Library and haven't enabled logging yet, it can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation(via this link https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging), which you can access from this link. For REST interface requests, you can enable logging via the curl command by using the -i flag.
You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com