How to see Adwords Converstions report? - google-ads-api

I have the following code:
<script>
gtag('event', 'conversion', {
'send_to': 'AW-1234567879/D-vACLXiz4IBEID834AD',
'value': "5000",
'currency': 'ZAR',
'transaction_id': '12345'
});
</script>
This code is executed when an order is placed on my website. And I can see the conversions working in Adwords:
But nowhere can I find a place in Adwords where I can actually see this transaction_id. Why would Adwords allow me to provide this info, if I can't get the transaction_id afterwards. All I want is a list of transaction IDs that were as a result of Adwords. But all the reports I find only show totals. None that can give me the individual ids.
Any ideas?
UPDATE
In fact, I can't even see the individual amounts. I must be missing something obvious because surely if I am able to provide the value and the transaction_id, adwords should show this data to me somewhere?

From the research I've done, it looks like this is actually not possible to do through Adwords.
You should read through this section of an article about gtags as it states:
The transaction_id field lets you provide an optional identifier for the transaction. This ID is used by AdWords to de-dupe multiple conversion events that may be fired for with the same transaction_id and avoid counting the conversion multiple times. This sometimes happens when users can access a cached version of the conversion page, which may contain the event snippet embedded in it.

The transaction ID is actually only on there for the ability to de-duplicate transactions.
You can read more at: https://support.google.com/adwords/answer/6386790
But the key section is found in the note area
Note Order IDs won't be reported in AdWords.
If you want to traceback order IDs to AdWords campaigns you'll have a lot easier time integrating with Google Analytics where you can report on both transaction IDs and AdWords traffic together.

Related

How to extract conversion results based on different attribution models from the Google Adwords API

I need to extract data from the adwords API to allow me to see the impact of different attribution models on conversion. I'm visualising my adwords data in the Klipfolio tool. My adwords account is set up to use the position based model but I'd also like to show last click conversions. This is essentially the data which is available in the adwords manager interface. I'm making my API calls via the supermetrics tool but can also create them directly in Klipfolio.
I'm not entirely familiar with the adwords query language but it does look like that there is a field for attribution type.
I've got as far as extracting data via this, using the Klipfolio interface:
SELECT
Date,Conversions,ConversionTypeName
FROM CAMPAIGN_PERFORMANCE_REPORT
DURING {date.add(-7).format('yyyyMMdd')},{date.today.format('yyyyMMdd')}
Exactly what I'm looking for is WHERE function where I can specify a different type of attribution model from the current.
I cannot obtain this data from our Google Analytics data as our conversion data from GA is, unfortunately, duplicated. We're using the adword's conversion tags de-duplication functions to get around this issue.
I'd be very grateful if anyone could share an example of how an API request could look with the attribution model field present or, indeed, give some feedback on whether this is even possible.
Hi you can find more information about the CAMPAIGN_PERFORMANCE_REPORT report here
You can find there the WHERE and SELECT fields like this:
SELECT CampaignName, Clicks, Impressions, Cost
FROM CAMPAIGN_PERFORMANCE_REPORT
WHERE Impressions < 10
DURING LAST_30_DAYS'
Usually the reason for the duplications it's the selection of SELECT parameters, but I cannot say this for sure without more information.

How to use google click id (GCLID) to extract AdWords Campaign, Ad Group, Keyword, Ad, etc

I tried searching for api which can help in extracting AdWords Campaign, Ad Group, Keyword, Ad, Keyword, etc.. from Google Click ID (gclid), but I end up with Click Performance Reports. Well it wont solve my requirement completely.
So is there any way to use "gclid" in adwords to extract data.
Any public API would be of great use.
This question is quite old but I wanted to share: Google AdWords has an API.
https://developers.google.com/adwords/api/docs/guides/start
Check out the PHP Library on Github.
https://github.com/googleads/googleads-php-lib
Gclid is exactly that - Click ID. With this, you can fetch Click Performance report like you have done. It contains CampaignID, AdgroupID and Criteria which has KeywordID. Then with these ID's, you can fetch appropriate reports which contain any additional information you may want!

Trouble Showing Value of SFDC Conversion in AdWords

Screenshots and similar explanation found at my post in the AdWords community help forum
Whereas most, usual AdWords conversions center around an event happening on your site (often via Google Analytics), Google now (as of ~6 months ago, I believe) offers the ability to track conversions that occur in Salesforce, automatically, by looking for specified "Opportunity Stages" on the Opportunity object in Salesforce. Example: When a given lead is qualified, and their stage is updated to reflect that, this now counts as a secondary conversion in AdWords.
Now I have normal conversions which measure how many people have created an account, and I can measure how many of those accounts are actually potential customers. I love this. It's automatic and gives us pretty granular insight.
The workflow is:
Lead clicks on search or display ad
Arrives at landing page, is assigned a GCLID
Ideally the lead signs up and self identifies
Code on our site sends all the lead's self-provided information PLUS their GCLID into our database AND into Salesforce, where the GCLID is retained in a separate field (called GCLID)
When that lead is converted to an opportunity in Salesforce, the GCLID transfers from the individual lead to the Opportunity object for the account
AdWords polls once daily at midnight for any opportunities where the GCLID field is filled out AND they have reached a specified stage (post qualification)
When AdWords polls the SFDC API and a record matches those criteria, it imports that GCLID, the date of creation, and the value (field named "Amount") that is assigned to the lead.
AdWords is supposed to measure that 1) the conversion occurred (which it does) and 2) the VALUE of the conversion that is determined by a field in SFDC.
I'm having trouble with step 8. I can see the AdWords import history and it's detecting the conversion AND the value, but the VALUE is not appearing in any AdWords report of any kind. All values associated with that conversion are 0, though the conversions themselves are registering.
I've now spoken with AdWords support reps directly and have solicited advice from their community forum, no luck. Anyone have any idea of why this might happen?
Per this FAQ, it sounds like AdWords looks for the conversion value in the Opportunity's Expected Review field.

Capture keyword used when user clicks on adwords ad

I wanted to know if it is possible to be able to capture the keyword that was searched when the user clicks on one of my ads. For instance say a user searches for "HVAC Installation" I would like to match a lead with a particular keyword searched for. Is that possible?
I'm assuming maybe from a POST I could capture the keyword?
If you just need the keyword as the user is entering your site, take a look at ValueTrack parameters, especially matchtype and keyword: ValueTrack documentation at support.google.com
On the other hand, there's the Search Query Performance Report which gives you detailed statistics for every search term that caused at least one impression of your ads for a given time frame. It's available under the "Dimensions" tab in the Adwords Web UI or using the ad-hoc reporting functionality of the Adwords API: Report definition at developers.google.com.

YouTube Analytics API returns no rows for demographic query - but does return views

When querying the YouTube Analytics API for demographics for a channel for a 1 day range (metric:viewerPercentage, dimensions:ageGroup,gender) in some cases no rows are returned. The api IS returning views for that day however.
2 reasons for this come to mind:
1. The data is not available yet because it is still being processed.
2. There is no known demographics for that (i.e. the gender and age of the user are not known)?
Am I safe to assume it's not (1) in this case because a query for views did return results? If I can't assume on then is it true that there's no difference in the response/results between "not processed" and "processed but all users are of unknown demographics?"
In other words if, when (2) were the case, the API would return a row with all zero's 0 for each demographic, that would enable us to interpret things correctly (but I'm pretty sure that's not how API queries with a dimension work).
Thanks for any guidance!
I can't provide any hard-and-fast guidance about the YouTube Analytics data processing pipeline, i.e. whether the demographic data will always be available at exactly the same time that the view count data is available in a report.
To get a more authoritative answer about this sort of specific question, I'd recommend going to the YouTube Analytics web interface (http://youtube.com/analytics) and try running an identical report from there. The web interface normally gives you some warning if you're requesting a report that relies on data that isn't yet available.

Resources