is it possible to integrate my custom logging system to google adsence ad tag - google-search-console

i have a custom logging system,
my client provide me a script of google adsence ad tag
(which using domain http://adserver.adtech.de/addyn/ with ad tag id and other staff )
and i want to track how many clicks on this ad tag
So i need to integrate my custom logging system to google adsence,
by using some parameter like in double click or other 3 rd party media company
is it possible to do that?

I think you would be better of using the Adsense API to retrieve this information http://code.google.com/apis/adsense/management/v1/reference.html#collection_reports
I don't know what success you'll have trying to intercept the click event on the ads. Even if you could get it to work (which is unlikely as it's rendered from a different domain) Google would likely ban you for tampering with the ads

Related

Creating Facebook Newsfeed ad with Website Conversions as a goal

I'm trying to create an ad for an unpublished page post (link type) via FB Ads API with goal set to WEBSITE_CONVERSIONS. I was a bit puzzled by api docs, so I checked hwo FB Ad Manager does this and notices it send "OBJECTIVE" parameter to FB - something that doesn't exist in API Docs at all
I have a php script in cURL that does the job, sending the following to act_xxxx/adgroups endpoint:
method=post
access_token=xxxxxxxxxxxxxxxxxxxxxxxxxx
name=CURL 001
campaign_id=xxxxxxxxxxxxxxx
targeting={"countries":["US"],"age_min":13,"broad_age":1,"page_types":["feed"]}
bid_type=ABSOLUTE_OCPM
bid_info={"ACTIONS":25}
adgroup_status=ACTIVE
creative={"type":27,"object_id":"XXXXXXXXXXXXXX","story_id":"XXXXXXXXXXX"}
objective=WEBSITE_CONVERSIONS
conversion_specs={"action.type":["offsite_conversion"],"offsite_pixel":["XXXXXXXXXXX"]}
redownload=1
When I go to FB Ad Manager and open the campaign, I can see the ad with correct objective set. Everything looks OK even if I open it with FB Ad Manager.
However, when I send the same request using the application I work on, things get messy. From FB Ad Manager campaign view, everything looks OK, but when I open the ad for editing, I get the following error for my Objective: You've entered a destination that can't be used with the Website Conversions objective. Edit Objective.
So, am I missing something, is there a point in API where this is explained?
Thank you and sorry for the long explanation.
EDIT: After inspecting the ad I created via FB Ads Manager, I noticed that creative it generated had (among other) title, image_url and link_url fields, even though creatives of type 27 shouldn't have those (according to https://developers.facebook.com/docs/reference/ads-api/adgroup/). Maybe it's something new?
After noticing the same issue arises when using the Power Manager, I reported a bug and was explained that this is by design, i.e. currently it's not an option available via API. Users who use API should define their goals implicitly by setting the correct bid info (e.g. "Clicks to website" is set by selecting bid_type=CPC or ABSOLUTE_CPM and setting appropriate bid_info.

Automate distribution of redemption codes for Custom B2B app

I have built a Custom B2B app for one of our clients. My question is how to automate the distribution of the redemption codes.
I have already looked at some of the MDM providers. Their solutions are too expensive and all we really need is a way to distribute the app from a webserver, not manage a bunch of mobile devices.
As you probably already know, when a client buys a Custom B2B app through the Apple VPP program, they get a spreadsheet with valid redemption codes for the number of licenses they have built. This spreadsheet has 2 columns: 1) redemption code 2) URL to redeem the code
I want to provide my client with a URL where they can send their users to download the app. They just don't have the expertise/infrastructure to distribute the app themselves. And emailing clients is not going to work.
I'm not a web guy, but it seems to me that we could write a webpage that would look at the spreadsheet for the next available activation code and then redirect the user to the associated URL. I'm not concerned with the number of licenses they distribute since I have another way of auditing the real number of users (Flurry). So I want this to be as painless as possible.
In fact, I have multiple clients and want to provide them each with their own URL for their clients. It seems like this shouldn't be too difficult to code.
The problem is, I'm not the guy to write that code. Any ideas on how best to do this?
Assuming that you don't want to show the user a website you should be able to do this with an online service like parse.com and the features it offers.
From a user POV you would supply them with a link which directed them to parse.com with a path and parameters indicating the action to be taken (get app) and what account is associated. This would redirect the users browser to the appropriate destination.
The main issue (and this applies to any solution) is knowing if the user actually followed through and used the code. i.e. should it be removed from the DB so it isn't offered to another user in future. Then you would update the DB each time you get a new spreadsheet.
Anyway, this could be achieved with a little javascript in parse.com, specifically, by using cloud code which can interrogate and modify the DB and then redirect the user.
Obviously if you need user authentication of some kind or other restrictions then you would need to start adding some web interface on top of this in order to collect the details.

Is it possible to read the doubleclick cookie ID or Google user ID from a DFA ad impression?

I'm trying to find a way to track users by impressions. Is it possible to either read the doubleclick cookie ID or Google user ID when serving an ad? Alternatively is it possible to send a custom value to DFA on the impression level? I know it's possible to do this by passing custom variables to a floodlight tag but I really need to do it for impressions too. Thanks.
Not possible in impressions. Only possible to pass this on click using %m macro. I imagine it can only read the cookie once the impression has been delivered even if a previous cookie exists.
That said you could do a hack whereby in your creative you setup a fake click in a hidden iframe that sends the cookie ID up / makes it available.
This has a pretty good breakdown of the macro's available and where they can be used/what level in DFP - I imagine DFA would be the same.
https://support.google.com/dfp/answer/158101?hl=en#Tracking2

Can we move Google Analytics data to other account?

Started a webpage that now contains a lot of analytic data. Now that I have the client GA Tracking ID I would like to move the data I already have to that account.
Is this possible?
I get the Google Analytics API, I can always fetch all the data I want, but my problem is, upon I have the data how can I send / push this data to other account
in other words, How can I transfer data?
The domain is the same, only the account Id in use was a different one (my own, instead of the client's)
It is not possible:
You cannot currently transfer profiles or account data from one account to another account.
Google Analytics does not provide any flexibility with importing, exporting, or modifying any past data. Any data you have in one account cannot be moved to another.
With GA, the only way to get data in to an account is directly via __utm.gif requests, usually through their JavaScript snippet, but that doesn't allow for any way to import past data, since the date is fixed according to when the data is sent in.
Further, the Google Analytics API is read-only, and doesn't provide any way to import or move data.
(This answer is slightly less true for Universal Analytics
http://piwik.org/ is a good alternative, open source analytics system, not unlike Google Analytics, but without some of the constraints like this.
I think now it's possible to move data from one account to another.
Check out this article:
https://support.google.com/analytics/answer/6370521?hl=en
If you need to reorganize your properties in Analytics, you can move them (and their views) from one account to another.
Moving properties lets you keep your Analytics implementation current with your business. You might be reorganizing after a merger, after an internal restructuring, after hiring a new agency, or you might be developing a new Roll-Up strategy.
This was not possible in 2011 when the question was originally asked. Google added this capability to GA in 2016 (source). In addition to Google's documentation which engray provided, there are several blog posts which discuss how.
How to transfer a Google Analytics property from one Google Account to another
How to Move a Property to Another Account in Google Analytics
How to move a property:
Sign in to Google Analytics & navigate to Admin section.
In the ACCOUNT column choose the account that contains the property you want to move.
In the PROPERTY column, select the property you want to move.
Click Property Settings, then click Move property.
Select the destination account.
Choose your permissions settings.
Click Move.
Confirm data processing, then click Save.
Might be possible to do this as i was curious and found a few forum posts mentioning it:
Log into GA.
Goto the Account List.
Find your web property, you can't click the 'property' itself but a profile under it...
Then click on Admin on top-right side.
Go 'Up' a Level.
For example the breadcrumb says:
'Account list' › 'FOO (www.foo.com)' › 'FOO (www.foo.com) - (Default Profile)'
and now the breadcrumb should say when you click 2nd breadcrumb link:
'Account list' › 'FOO (www.foo.com)'
Now you have an option to add other users to this whole web property by going to the Users tab.
Add an Administrator user to this specific property. You can setup this user for them on gmail that they can change the password later after you set it up (or use their Google Account email they provide and maybe walk through with them to make sure they do it correctly).
Then login as that user, and delete the old user. Then that should 'transfer' to a new account.
What I do in this situation - export all data from Google account and import it into Tableau or QlickView. And use desktop analysis. In any case these data will be actual no more than 2 years.

Managing multiple apps with one Google Analytics account?

I've just setup a Google Analytics for Mobile Apps account and I've implemented the SDK in my iPhone app with no trouble at all. However, I haven't figured out how to manage multiple apps with one account. It seems fairly easy to setup multiple subdomains when dealing with websites and I've noticed the javascript code has a setSubdomain function that doesn't seem to be present in the iPhone SDK.
Is there any way I can have google analytics differentiate my different apps for the same account?
Set up more profiles in GA - one profile per app. You should end up with UA codes like UA-XXXXX-1 and UA-XXXXX-2 - the XXXXX is the account identifier, and the suffix is the 'web property identifier' - in this case each app will have it's own property identifier. They don't match up 1-to-1 to GA profiles, as you can have more than one profile for a web-property-identifier (so you can have profiles with different filters on the same data), but in your case I'd suggest a separate web property IDs for each application.
So the docs say:
To use the SDK, you must create a free
account at www.google.com/analytics,
and create a new website profile in
that account using a fake but
descriptive website URL (e.g.
http://mymobileapp.mywebsite.com).
Once you create the profile, write
down or keep a copy of the web
property ID that is generated for the
newly-created profile. A Web property
ID is also known as the UA number of
your tracking code and looks like
UA-xxxxx-yy, where the x's and y's
indicate the unique numbers for your
profile. You must indicate the web
property ID you'd like to use when
instantiating the tracking object. See
Web Property for more information.
Appears to me you simply setup that "fake website" such as http://myapp1.yourwebsite.com and then you'll get a new UA- number which you plug into the code within myapp1.
App2 will have a different UA- number you use.