Good morning all! We recently set up a new Google...
# support
s
Good morning all! We recently set up a new Google Ads campaign, but the campaign name is seemingly not logged in the context_campaign_name field like our other Ads campaigns. I confirmed that the campaign definitely has a name in Ads, but it seems the campaign name is null in our Redshift destination. Any ideas? The only transformation we have on this is geolocation enrichment.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Kyle can you provide the following - Website where this is implemented - Confirm that the campaign_name is being captured at the source - Sample payload that you are sending
s
Hi Ranganath! Both the Denver Day Labor campaign (the campaign name that is captured) and the V2 Denver campaign (the campaign that is not captured) send visitors to this page: https://laborjack.com/denver/staffing I confirmed that campaign name is being captured through auto-tagging in Ads. (screenshot 1) But when I started to dig in more (screenshot 2) you can see that the utm_campaign is simply missing from the URL for the V2 Denver campaign.
Here's a sample payload from the google ad:
Copy code
{
  "anonymousId": "c7a50a03-1a27-4a88-ac90-044b8b181c25",
  "channel": "web",
  "context": {
    "app": {
      "name": "RudderLabs JavaScript SDK",
      "namespace": "com.rudderlabs.javascript",
      "version": "2.47.0"
    },
    "campaign": {
      "medium": "ppc",
      "name": "",
      "source": "adwords",
      "term": "staffing agencies near me"
    },
    "library": {
      "name": "RudderLabs JavaScript SDK",
      "version": "2.47.0"
    },
    "locale": "es-419",
    "os": {
      "name": "",
      "version": ""
    },
    "page": {
      "initial_referrer": "https://www.google.com/",
      "initial_referring_domain": "www.google.com",
      "path": "/denver/staffing",
      "referrer": "https://www.google.com/",
      "referring_domain": "www.google.com",
      "search": "?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE",
      "tab_url": "https://laborjack.com/denver/staffing?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE",
      "title": "Laborjack",
      "url": "https://laborjack.com/denver/staffing?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE"
    },
    "screen": {
      "density": 2.8125,
      "height": 857,
      "innerHeight": 725,
      "innerWidth": 384,
      "width": 384
    },
    "sessionId": 1704815306042,
    "sessionStart": true,
    "timezone": "GMT-0700",
    "traits": {},
    "userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36"
  },
  "integrations": {
    "All": true
  },
  "messageId": "8394fe1a-c746-492c-a6cc-1f71e2aafd33",
  "originalTimestamp": "2024-01-09T15:48:26.327Z",
  "properties": {
    "initial_referrer": "https://www.google.com/",
    "initial_referring_domain": "www.google.com",
    "path": "/denver/staffing",
    "referrer": "https://www.google.com/",
    "referring_domain": "www.google.com",
    "search": "?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE",
    "tab_url": "https://laborjack.com/denver/staffing?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE",
    "title": "Laborjack",
    "url": "https://laborjack.com/denver/staffing?utm_term=staffing%20agencies%20near%20me&utm_campaign=&utm_source=adwords&utm_medium=ppc&hsa_acc=5703577062&hsa_cam=20915333963&hsa_grp=159068521404&hsa_ad=686623223255&hsa_src=g&hsa_tgt=kwd-62428028711&hsa_kw=staffing%20agencies%20near%20me&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=CjwKCAiA-vOsBhAAEiwAIWR0TSXHMfevTVNK1ARg6NcNiIt5JBiY4mYVfvBskbBogM8t7l7qd4YHLBoCHAIQAvD_BwE"
  },
  "rudderId": "48d2f59d-52f5-48df-9d70-9e299042a426",
  "sentAt": "2024-01-09T15:48:26.359Z",
  "type": "page",
  "userId": ""
}
m
But then I feel that the issue is that the V2 campaign is not sending the campaign_name since all the other utm parameters are correctly captured and as per you the V1 campaign is also being captured correctly.
or the campaign_name is wrongly set to an empty string in the v2 campign
s
I believe that I may have figured it out; I am waiting for organic ads traffic to confirm. I will circle back later today with an update!
m
Nice. :)
s
Following up here; the issue was two-fold. The Denver Day Labor ad had a custom UTM set up, where campaign_name was set to
campaign_name=Denver+Day+Labor
in the URL. Our other campaign had no custom UTM, which meant that it relied on the global default UTM... Well, the global default UTM had
campaign_name={utm_campaign}
but utm_campaign is not a valid parameter. In fact, the campaign name does not appear to be a native field within google ads. So I just copied the same UTM config from the working one to the non-working one, changed
campaign_name=Denver+Day+Labor
to
campaign_name=V2+Denver
and it is now working.
m
Thanks for the update.