Duplicating AdWords & FaceBook - google-ads-api

I am running ads on both Facebook & Adwords using last click attribution. I have implemented AdWords conversion pixel and Facebook pixel via Google Tag Manager to fire on the "Thank-you" page
My questions is, is there a way to deduplicate sales from AdWords & FB?I want to be able to count the sale only once
Thanks for the help

I'm going to assume that by deduplicating sales, you mean conversions that are preceded by clicks on both your Adwords ad and your FB ad.
I'm sure that the Adwords conversion pixel only registers a conversion if there was a corresponding ad click before, and pretty sure that it's the same for Facebook ads.
I don't know what your specific setup is, but the easiest way I see would be to track your conversion in Google Analytics or another web tracking suite and let that tool handle the attribution instead of trying to merge the conversion data from Adwords and Facebook.
In Google Analytics, by default, the session and thus the conversion will be attributed to the last non-direct visit, so there's no chance of duplicated conversions.

Facebook, AdWords and Google Analytics all have different ways of counting a conversion.
Google Analytics by default is the last click on the conversion.
AdWords is first, last or any click before the conversion.
Facebook Ads is any impression before the conversion.
Facebook remarketing campaigns can, therefore, appear to be outperforming all campaigns- even brand term campaigns from search channels.
Facebook will report on the conversion- even if someone does not click on the ad. While it is possible to optimize based on click- instead of impression- However the reporting will show all conversions where an impression/advert has been served. This is why remarketing campaigns on Facebook will always appear to be doing better than they are.
Google Analytics-
GA gives credit to the channel of the last click before the conversion. This is useful for measuring which channel the prospect converted on. (or scored the goal!). You can also look at the multi-channel attribution report to identify which channels are responsible for the first click. (and middle clicks before the conversion click).
Facebook Ads-
FB gives credit to sales by impression.
AdWords will take credit for the conversion- if someone clicks on the advert at any time during the conversion funnel.
-
Your best bet is to use Google Analytics to see which channels are the last click before the conversion- as well as the attribution reports to see which channels are responsible for the first click
There is not duplication per say- because AdWords and Facebook are oblivious to each other regarding the multi-channel conversion. They only record themselves. (AdWords with a click, and Facebook with an impression)
Looking at GA multi-conversion channels to determine the attribution of the first click and the last click is the best approach.
Clicks in the middle of the funnel are useful- but the main thing is the first and last click to measure a channels contribution.
Google Analytics will not record the conversion (lead/sale) twice. It will record it once- and show the channel before the last click. So in this context not duplication would occur within Google Analytics.

Related

View Instagram From The Perspective Of A Celebrity, A Presidential Candidate, Or A Close Friend

In 2016, there was an app "Being" that performed this function:
https://www.buzzfeednews.com/article/brendanklinkenberg/this-app-shows-you-what-other-peoples-instagram-feed-looks-l
"Being is an app that lets its users see what Instagram is like for someone else. You log in with your own Instagram account, then choose who you want to be. It could be a friend, it could be a partner, it could be a celebrity, it could be a presidential candidate — anyone with a public account on the photo-sharing service can be accessed. You can even click a button and parachute into a completely randomly chosen person's feed.
The app uses Instagram's API to pull all of the "Following" data from a given account and organize it into a feed. So, if you've ever been curious about what Taylor Swift actually sees when she logs into Instagram — minus the many thousands of notifications from adoring fans — this is the app for you."
Unfortunately, Instagram has removed data access from the app, so it's no longer available. It annoys me that Instagram restricts access to its API.
Does anyone know how to recreate this function?
Can I do this in the Instagram developer environment?
It has to be possible - there has to be a way around it.
One idea I have is instead of using Instagram's API, the content from all of a user's followings is parsed.

Generate dynamic ads for Adwords?

I was on Home Depot's website looking at some tools, and then I went to some random site and this video ad with all the products I was looking on Home Depot's website dynamically displayed on the video. It was like wizardry.
But seriously, I don't even know where to start on how we'd do that. I'm familiar with AdWords image ads, but don't know what to look for to research. What are these types of ads even called?
Thanks everyone!
This is dynamic display ads and dynamic remarketing services of Google Adwords, with a specific feed with informations about your products (description, images, prices...) that is for the making ads.
For targeting previous visitors of your website you have to get a pixel code and put it in the pages of your website to track them.
all you need is here:
Create dynamic display ads
and here
Use dynamic remarketing to show ads tailored to your site visitors

Tracking affiliate generated app installs in iOS greater than 24 hours

I'm trying to run an affiliate project for my app and Apple's 24 hour cutoff makes it a bit difficult. I'm wondering whether there is a way to implement one's own tracking?
I first was thinking a landing page with a phone number input form. Upon submission we'd use something like Twillio to send the user the app store link via SMS and also store the phone number together with the affiliates code from the landing page URL. I then saw that Google somehow let's you track adwords in relation to app installs and thought that perhaps there might be a way that doesn't involve this phone number indirection... Anyone know how they do it?
To be or not to be
The main question here is nature of your intention.
It reasons necessary accuracy / limitations you have on iOS. I see two variants.
100% Accuracy
If you need 100% accuracy, you can use SFSafariViewController - it's view is rendered by another process and it has shareable cookies between your app and Safari. It's iOS 9+ only 100% way to attribute installs. Also you can go with explicit attribution (email, phone number etc.) requested from user after app install. It might be needed if business model relies on this process (like each install is paid out to user account etc.)
You can get an idea and do implementation following this link
<100% Accuracy
If you want to provide greatest UX possible (but it's not critical) or gather analytics (but it allows some kind of deviation) you can go with some approximation techniques, like gathering IP addresses, location etc from requests to your affilate link. The flow can be following:
Your landing page contains dynamically generated link
Upon clicking on link, user metadata is stored (ip, location, device info - whatever can be grabbed from User-Agent or another info available to your web service)
User is redirected to App Store
Upon install and run, app queries your service with device info and ip.
Your web service now decides on attribution. Matching algorithm can include any necessary amount of variables / conditions. Like "Same IP + Device Type + No more than 5 minutes since clicking the link".
This way you don't request any user info (email, phone number) but you're already able to track attribution. Correctness percent is subject to tuning.
Edit #1
This approach might be helpful to you, it's used to attribute login, however you can use modified for analytics.
Edit #2
If you're really wondering, how AdWords does this, you might be interested in install tracking step-by-step guide. It's explicitly stated (section "Instructions for tracking iOS app installs (first open)", p.14) that you should either use AdWords tracking code (this tutorial describes how) or setup server-server integration. So, going back to original questions:
..there might be a way that doesn't involve this phone number indirection?
Yes
Anyone know how they do it?
There are lots of techniques (as well as measurement pixel built on top of mentioned above SFSafariViewController), described in these docs:
Google SDK,
3d-party SDKs

How to determine if an ad is showing using the adwords api

The adwords UI has a nice "Ad showing now?" dialog that says if an ad is showing or not, and in the case the ad isn't showing has a little message explaining why.
Is there a way to programmatically access this information directly on the ad?
as far as I know, there is no direct way, how to see exactly the same information as in web interface.
However, through API, you can download:
Keywords Approval Status
(https://developers.google.com/adwords/scripts/docs/examples/keywords)
and Ad status - CreativeApprovalStatus
(https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report)
and maybe for ex. no. of impressions to each, and since you can download this up to 1000x a day (I would recommend less), you shall have less precise, but similar information as well.
API usage & limitations: https://developers.google.com/adwords/api/docs/ratesheet

Can I track session duration of a specific user-id via Google Analytics?

I have an iOS app with Google Analytics to track engagement/retention, and I have been trying to set up a way to track the session durations of specific users. I followed all of the steps to send the User-ID value when a user logs into a session (using &uid), and I have also created a User-ID enabled reporting view. However, I have no idea how to sift through the bulk session data to pick out the behavior of an individual user. Thanks for your time and help, this is really important to my company.
User ID - iOS SDK
The User ID feature enables the measurement of user activities that
span across devices in Google Analytics, such as attributing an
interaction with a marketing campaign on one mobile device to a
conversion that occurs on another mobile device or in the browser.
When User IDs are sent with Google Analytics hits using the userId
field, your reports will reflect a more accurate count of unique users
and offer new cross-device reporting options.
Userid is used internally by Google analytics to give you more actuate user data in your reports, there for your reports already have it included.
If you are trying to find the value itself so that you can track a user though their use of your application you cant. Google Analytics doesn't allow you to track individual users that would violate their privacy. You could add this value as a custom dimension and track them that way as long as its a non identifiable userid you are using, something that cant be tracked back to a specific user.

Resources