Multiple adsense publisher id's mixing and matching etc - adsense

Does anyone know the adsense TOS regarding using more than one publisher ID
on a site.
can a page have 1 ad using publisher ID#1 and another ad using publisher ID#2
i.e the top banner ad is using one pubid and the bottom banner ad is using another
pubid
This is important as I have been noticing some very strange results lately, but
I want to make certain what I am doing is 'legal' before saying more..

You are allowed to have multiple Adsence id's on the same site, even the same page as long as the total number of adds per page is not exceeded (I don't think extra adds will show up if you have more than 3 anyway.)
There are a number of sites around that allow you to include your Adsence ads with your content. Take a look at these:
www.weebly.com
www.hubpages.com
www.triond.com
More...
Its 100% allowed to use more than one publisher ID on a single page or across a website provided the total number of ad units per page is not exceeded (that per page not per account.)
http://productforums.google.com/forum/#!topic/adsense/eBwPjDixtUY
The answer is that yes, we do allow this. But before you place your ad code on the same page or site as another publisher, here are a few important points to keep in mind:
The maximum number of products per page will remain the same.
If you don't own the site, you'll need to receive permission from the site owner to display your ads on their pages.
We're unable to divide earnings between accounts, so any revenue generated will be credited to the account associated with the ad unit that was clicked or viewed.
Any shared site that displays Google ads must also comply with our program policies.
You're responsible for the content of any page where your ad code appears. Before placing your ad code on another publisher's site, we recommend reviewing the site for any policy violations.
And one final tip before giving your code to another publisher -- try using our Allowed Sites feature to monitor where your ads are appearing and keep your account in good standing.
http://adsense.blogspot.com/2008/07/sharing-your-ad-space.html

Related

Fetching comments from active facebook ads

I am working on a Facebook comment manager and I just can't manage to get only active ad creatives from Facebook API.
Is there a way to get all ad creatives filtered by their status?
I can't afford to check all ads manually, because I plan to pull ads every few minutes and I would be hitting Facebook's rate limit.
There are a number of endpoints that could help you do this, but would require you to make multiple API calls.
Step One: Get all Ads
Assuming you have managed to get the Ad Account ID from a previous API call, you will be able to get all Ads running against that account by making a GET request to the /act_{ad_account_id}/ads?fields=name endpoint.
Step Two: Get Images with Active Status
Next you can call the /{ad_id}/adcreatives?fields=name,image_hash,status endpoint for each Ad, which will return the name of the creative, the image hash that was used, and the status of the creative.
If you require the status of the actual Ad itself rather than the status of the creative, you will need to do another step in between Step One and Step Two, where you call /{ad_id}?fields=name,status on each Ad, then filter ACTIVE campaigns.
EDIT:
You can use /act_{ad_account_id}/adcreatives?fields=status,image_hash,title to get all creatives and statuses associated with the account. This would reduce your API call rate although would mean you would need to sort the creative to match with the ads. Using the title field would give the title of the ad it was used in the ad. Facebook does not offer any other fields related to the ad itself.
You can limit results to ads whose effective_status is ACTIVE.
Here is a sample request:
act_123/ads?filtering=[{"field":"effective_status","operator":"IN","value":["PAUSED"]}]
Ad fields
Insight Parameter

Graph API rate limits: do test apps have their own limit?

I'm currently developing a facebook App whose purpose is to
For a given page, list the last X posts
For each of said posts, list the last Y comments
For each of said posts, list the last W reactions (e.g. likes)
For the page as a whole, display the Z most active users considering the last X posts
The app is not yet published (And, since it'll only provide server to server communication, it might never be) and it currently has one admin and 4 test users.
I'm currently hitting rate limits for the comments endpoint, whereas I've never got any alert for the reactions endpoint.
The rate limit documentation says that some endpoints do not count for rate limiting, but it doesn't say which ones. So I assume that, in my case, only the comments API calls are eating my rate limit.
One approach I might consider to go over the rate limit is to create test apps for my app. They do have their own app-id and app-secret, and share the same app-scoped User ID namespace, so user IDs will be consistent and I'll be able to use both Apps to display aggregate data.
What I don't know is do test apps have their own rate limit?, or do they "eat" part of the production app rate limit?
I want to avoid creating the logic to rotate the App credentials on each call only to discover the rate is still the same.
Edit: I created a test app and hardcoded some calls to use its credentials. However, said calls aren't shown in test app's dashboard. I believe this would mean that its calls are attributed to the main app anyway.

Tracking custom fields in Adsense

I was wondering if it's possible to put a custom field onto an Ad Unit that could be used to filtering an API call, and be used to calculate that content's earnings to allow sharing revenue with the site's content creators.
There are more than 500 content creators and Custom Channels are limited to 500, so they cannot be used. I couldn't find any related question or article about that kind of customization.
Any hints? Thanks.
As I asked to the ADSense forum there is no way to add a custom tag to a banner and filtering by an API call. Me too I needed to share revenues with more than 500 publishers. Actually you can do that with the "ADSense Host" plan
https://developers.google.com/adsense/host/
Please note, only websites with over 100k daily page views are eligible to participate in the AdSense Host API program.

Facebook Graph API pre-defined messages, but with the ability to edit

I am currently building a site for a University study that aims to encourage a select few young people (peer supporters) to share messages around health and wellbeing in a private Facebook group.
I have used the Feed/Share dialog to share relevant links/images, however there are a few bits of content that are just pure text. I am aware that Facebook allows to post a status to a group using the Graph API, however you are not allowed to pre-fill what a user is going to say.
Would it be possible to have the ability to generate the content in a text box allowing the users to edit it as they wish before posting to the group or is this still prohibited?
...allowing the users to edit it as they wish...
No, that is not allowed, it´s prefilling. You would only be allowed to present an EMPTY textbox, where users can write the message. The message always must be 100% user generated.

Using GA Data Export API to Get All UA's

I am using the GA Data Export API to interact with Google Analytics and I'm making a lot of progress, I am using this URL Endpoint initially to pull all the profiles under an account:
https://www.google.com/analytics/feeds/accounts/default
This URL retrieves each GA ID (profile) and each UA. One thing I've realized is one account can contain multiple UAs and when this happens, this request pulls all profiles. We have a client who has about 115 profiles under like 10 different UAs, and the request takes about 30 seconds for the initial request (and then I believe it must be cached, because it speeds up considerably after this, but then the next day the same thing occurs).
Is there a way to get a list of UA's without pulling the profiles? This way I can query the UA specifically for the profiles instead of pulling each one.
Any advice on this would be really helpful!
Thanks
UPDATE: Here's some documentation on the specific call I am using right now:
http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html
UPDATE 1: I have found some interesting information in the docs
Once your application has verified
that the user has Analytics access,
its next step is to find out which
Analytics accounts the user has access
to. Remember, users can have access to
many different accounts, and within
them, many different profiles. For
this reason, your application cannot
access any report information without
first requesting the list of accounts
available to the user. The resulting
accounts feed returns that list, but
most importantly, the list also
contains the account profiles that the
user can view.
So this means that you have to use the default accounts call to get these back? Surely, somebody has had this issue before?
So apparently, you can query the account if you know the UA-ID, however there is no way to get back a list of only UA IDs.
One way you can do it is have the user enter their own UA ID instead of having them choose one; not as user-friendly as it could be but better than making the user wait 30 seconds!