Google Ads is an online advertising platform developed by Google, where advertisers pay to display brief advertisements, service offerings, product listings, video content, and generate mobile application installs within the Google Ads network to web users.
Below is an example of a way in which you could potentially use the Google Ads connector, to retrieve the details of a custom audience.
The steps will be as follows:
Setup using a manual trigger and list all the custom audiences.
Loop through the received list of custom audiences.
Retrieve the details of each custom audience.
Your completed workflow should look similar to this:
1 - Setup Trigger & List custom audiencesCopy
Select the manual trigger from the trigger options available. From the connectors panel on the left, add a Google Ads connector to your workflow. Set the operation to 'List resources'.
Feel free to re-name your steps as you go along to make things clearer for yourself and other users. The operation names themselves often suffice.
Upon completion, you will have set up the manual trigger and fetched a list of all the custom audiences.
2 - Loop collectionCopy
Next, search for the Loop collection connector within your connector panel, and drag it into your workflow as your next step. Set your operations to 'Loop list'.
The Loop Collection connector allows you to iterate through a list of results. In this example, we will use it to iterate through the data found within the previous Google Ads connector step.
In order to specify the list you want to loop through, start by using the list mapping icon (found next to the list input field, within the properties panel) to generate the connector-snake.
While hovering over the 'List Custom Audiences' step (with the tail end of the connector-snake), select
results from the list of output properties displayed. This will auto-populate a jsonpath within your list input field, and update the type selector to jsonpath.
For more clarification on the pathways you have available, open the Debug panel to view your step's Input and Output.
Now, you will be able to loop through the list of the custom audience you have fetched in the first step.
3 - Get custom audience detailsCopy
The last step is to drag a Google Ads connector inside of the Loop Collection step itself. Set the operation to 'Get resource'. As you can see, the 'Resource name' field is required.
Use the connector snake and hover over the 'Loop Collection' step (with the tail end of the connector-snake) and select the jsonpath for the specified identifier from the list of output properties displayed.
You can always inspect the logs of your workflow by using the ‘Debug’ tab available on the top of the Tray builder.
If you go through each execution of the 'Get Custom Audience' step, you will see the results of each loop.