How to get keyword which initiated search ad showing?

47 views
Skip to first unread message

fp.mm...@gmail.com

unread,
Nov 5, 2018, 5:16:01 AM11/5/18
to AdWords API and Google Ads API Forum
I thought it would be possible to get keyword by GCLID. But after reading this forum I got doubts. My question is - does it possible to get click info (keyword, campaignName, groupName etc, the most important it's keyword) with help of GCLID? Or the only way it's ValueTrack?

Also my questions are:
- how to send manage account request to the client google ads account programmatically? 
- how to set ValueTrack parameters in client google ads account programmatically?

Thanks in advance to anybody how will help!

Teja Makani

unread,
Nov 5, 2018, 12:16:01 PM11/5/18
to AdWords API and Google Ads API Forum
Hello,

You could get CriteriaIdGclIdAdGroupId and CampaignId using the ClickPerformanceReport via AdWords API. Below is my response inline for your questions:
  1. how to send manage account request to the client google ads account programmatically?
  1. If you are trying to link accounts to your manager account, you could do that by using the ManagedCustomerService.mutateLink also can refer the linking accounts section of this guide.

  1. how to set ValueTrack parameters in client google ads account programmatically?
  1.  You could use the specific  API service to set the trackingtemplateUrl with the value track paramaters in it. For instance, to set the value track parameters for a keyword, you will need to use the BiddableAdGroupCriterion via AdWords API programatically. 
Please let me know if you have any further questions.

Regards,
Sai Teja, AdWords API Team.

Manuel Regidor

unread,
Mar 4, 2025, 5:33:44 AM3/4/25
to Google Ads API and AdWords API Forum
Hi.

Is this still possible with the latest API?

In the new click_view report I don't see the CriteriaID

Google Ads API Forum Advisor

unread,
Mar 4, 2025, 11:47:49 AM3/4/25
to mregi...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for contacting the Google Ads API support team.

Kindly find below the specified responses to your queries:

1. How to send manage account request to the client google ads account programmatically? 

To send a manage account request to a client's Google Ads account using the Google Ads API, you need to specify both the login customer ID and the customer ID in your API request. This ensures that your request is directed to the appropriate client account in the Google Ads accounts.

2. How to set ValueTrack parameters in client google ads account programmatically?

To set up ValueTrack parameters in your Google Ads account programmatically, you’ll need to configure tracking templates at the account, campaign, or ad group level. Tracking templates should include a ValueTrack parameter that inserts your final URL, like {lpurl}. When your ad is clicked, these parameters will insert your final URL. If you don’t include a URL insertion parameter in your tracking template, your landing page URL will break.

If you want to add more than one ValueTrack parameter to a single URL, simply append them together in your URL using an ampersand (&), like this: {lpurl}?matchtype={matchtype}&device={device}.

I would recommend you refer to this Set up tracking with ValueTrack parameters help center article for more detailed information.

Additionally, note that Criteria ID is not supported in Google Ads API. You can refer to this fields/segments/metrics documentation for which are all supported in the click_view.  


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-04 16:47:05Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH5vk:ref" (ADR-00291330)



Manuel Regidor

unread,
Mar 4, 2025, 11:50:52 AM3/4/25
to Google Ads API Forum Advisor, adwor...@googlegroups.com
Hi,

Thanks for your quick response. Just wanted to follow up - is there any workaround available for this? Also, I was wondering if it's possible to use audience source (criteria) as a ValueTrack parameter in Shopping campaigns?

Best regards,
Manuel

Google Ads API Forum Advisor

unread,
Mar 4, 2025, 1:09:48 PM3/4/25
to mregi...@gmail.com, adwor...@googlegroups.com

Hi,

Please find the answers to your queries below:

  •  Just wanted to follow up - is there any workaround available for this? 

Answer: Please note that there is no other way to support criteria Id in the click_view report.

  • Also, I was wondering if it's possible to use audience source (criteria) as a ValueTrack parameter in Shopping campaigns?

Answer: There is no ValueTrack parameter present for the audience source (criteria) as per this documentation. Please refer to this Help Center article for information on the allowed values for ValueTrack parameters for each campaign type. 

I hope this clarifies your queries. Feel free to reach out for any further concerns/ queries.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-04 18:09:06Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH5vk:ref" (ADR-00291330)



Reply all
Reply to author
Forward
0 new messages