I just added a Remarketing event snippet for a dynamic remarketing campaign to product pages in my store. here is an example of the code rendered on the page:

<script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-XXXXXXXXX'); </script> <script>  gtag('event', 'page_view', {  'send_to': 'AW-XXXXXXXXX',  'google_business_vertical' : 'retail',  'id' : 'YYYYYYYYYY',                        // Google Merchant Center ID  'ecomm_pagetype': 'product',  'ecomm_prodid': 'zzzzzzzzzzzzzz',  'ecomm_totalvalue': '255.00'  }); </script> 

This looks correct to me, but Google Tag Assistant extension says there's an error:


When I click 'Requests' and go to the 2nd one, it shows the following meta data:

which again, looks correct to me.

Also, when I go Google Ads --> Audience Manager --> Audience Sources --> Google Ads Tag, it tells me there's an issue: Issue: ecomm_prodid never received

This is very confusing since ​ecomm_prodid is present and has a vale in the meta data above. I'm not sure what else I could be doing wrong. If anyone can help troubleshooting or sees something wrong to begin with, I'd be most appreciative.

The scripts are being added to the tag of a Shopify theme... in case that matters.

Thanks!!

The Company I work with has many clients who uses Google Ads to do marketing for their websites. The company wants to use client's data for Analysis. I am given a project to integrate Google Ads API using C# to get all the data such as Campaigns etc from Google ads and move it to our system for each client. I am only given developer token and customerID for Clients. such as

  1. Customer ID for Client A
  2. Customer ID for Client B

I am bit lost when I went through the google ads API documentation. In the documentation, the OAuth2.0 needs creating in order to use client library which would generate client ID and Client Secret, Refresh token to integrate the API. My question is. Do I need to create OAuth2.0 for each client or do I need to ask my company to generate Client ID and secret in company's Manager Account or Client that uses Google ads would provide me these?

The following Link I found to create OAuth2.

https://developers.google.com/google-ads/api/docs/oauth/cloud-project

This is what I believe would require in C# Content can be found at https://developers.google.com/adwords/api/docs/guides/first-api-call#.net_1

Would highly appreciate if any one can help me what actually I need to configure google ads using C#

I have always referred to to Adwords API (https://developers.google.com/adwords/api/docs/appendix/reports) as a guide for exporting reports from Google Ads. When moving to new Ads API (https://developers.google.com/google-ads/api/fields/v6/overview) I was confused with the new feature "resources" which is the alternative for "old" reports.

Some reports in Adwords API match these resources in Ads API (Ad Group Performance) but I am unable to find matches for Account Performance Report and Criteria Performance Report. I'm not also sure that Audience Performance Report is similar to Campaign Audience View.

Can someone please explain how I can export these unmatched reports using Ads API? Thanks!

I'm trying to figure out if this works. Unfortunately I do not have a website to test this with. Though I've read the GA and GAds documentation I'm not sure if this is possible. So please bear with me.

Imagine a simple website that has Google Analytics (with a linked GAds account) deployed. I want to run a survey on this site users can answer if they like to. As the result of the survey the participants are assigned some ID. Lets say the result variable is called cluster and the values are A, B or C.

What I want to do now, is use this group of participants of the survey and try to target new visitors that are similar to the ones that have been assigned a C value via Google Ads.

As far as I understood the documentations this is how it could be done. Please correct me and point me in the right direction if I'm wrong.

  1. I'm setting up a custom user dimension called Cluster in GA
  2. I'm editing the GA code on the website to include the custom dimension that will be populated with the result of the mentioned survey
  3. When the results come into GA, I'm creating a remarketing audience in GA called Cppl based on the custom dimension Cluster
  4. I'm importing this Cppl remarketing audience into GAds
  5. I'm creating a similar audience in GAds based on Cppl list
  6. I'm publishing a campaign based on this similar audience

Does this process make sense and is it correct or am I making any mistakes?

I'm trying to set html content of a new element but when I check to see if slot.getHtml() gives me the html element (set below), it shows an empty string. Any idea why this could be happening?

var slot = googletag.defineSlot('/1234567/sports', [160, 600], 'ozge')   .addService(googletag.companionAds())   .addService(googletag.pubads())   .addService(googletag.content()); googletag.content().setContent(slot, '<h2>Custom content in ad slot.</h2>') 

I use the code snippet in this link to view the newly defined slot: https://gist.github.com/rdillmanCN/a70ec955d9a982127fefadabe8b898b5