DoubleClick doesn't support per-URL reporting by default. With a few actions from your side, .io can report revenue in real-time for every article, author and section.

Here's what you have to do:

1) Under admin settings-> All network settings -> Big green button “Add service account user”. There you should put ANY name and this email: 

api-test@dfp-api-test-170513.iam.gserviceaccount.com 

choose Role “Administrator (DFP only)”. 

We need DFP admin rights for service account because:

a) We have to push key-value pairs (otherwise, DFP won’t report on non-created or non-targeted key values) 

b) We have to delete and re-push key-value pairs (otherwise, we will reach key-values storage limit)
Please also provide your network ID, which is located on the top-right corner of your DoubleClick dashboard.

2) Create a key named post_url_sha1:

Inventory -> Key values -> Add key

Here's the screenshot:

3) For us to start getting data once API is set-up - we need to assign key-value with article URL to every ad unit on the page through "setTargeting" dynamically.

Example:

googletag.pubads().setTargeting("post_url_sha1","hashed_url")

Where hashed_url is "hostname+pathname" hashed using sha1 algorithm. 

Reason why it needs to be hashed is due to DFP limitations for key values, where it should be shorter than 40 characters.

in case you use Sync rendering, this command has to be placed BEFORE these commands:

googletag.pubads().enableSingleRequest();

googletag.pubads().enableSyncRendering(); 

4) Once settagerting is created, let us know and we'll start collecting per-article, per-section, per-author revenue. 

Did this answer your question?