generate report filters, host channels

45 views
Skip to first unread message

Group Participant

unread,
Dec 18, 2012, 1:45:50 AM12/18/12
to adsen...@googlegroups.com
Given there is a host channel h1 which is associated with multiple publishers p1, p2, ..., pn, can the filter

CUSTOM_CHANNEL_ID==<h1 id>,AD_CLIENT_ID==<pn client id>

be used to retrieve the data for pn inside the data for h1, excluding data for other publishers inside h1's data?

(I would just test this myself to find out but I haven't yet figured out how to access live data from the sandbox.)

Jose Alcérreca (AdSense API Team)

unread,
Dec 18, 2012, 4:52:17 AM12/18/12
to adsen...@googlegroups.com
Hi there,

You can try the filter with the APIs explorer (or your app) to check that there are no syntax errors or general warnings.

In that particular case you need to use HOSTED_AD_CLIENT_ID, which corresponds to the ad client id of a publisher. AD_CLIENT_ID is used for host client ids (which I guess is not what you want).

Cheers,
Jose

---
Jose Alcérreca
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


Google Inc.| Developer Relations | AdSense API Team | developers .google.com/adsense

Group Participant

unread,
Dec 18, 2012, 7:29:48 PM12/18/12
to adsen...@googlegroups.com
My question should have been worded "What filters are used to retrieve the data for a specific client inside a specific host channel?"
 
In that particular case you need to use HOSTED_AD_CLIENT_ID, which corresponds to the ad client id of a publisher.

and this appears to be the answer I was looking for; thank you.


2012年12月18日火曜日 18時52分17秒 UTC+9 Jose Alcérreca (AdSense API Team):

Jose Alcérreca (AdSense API Team)

unread,
Dec 19, 2012, 5:29:36 AM12/19/12
to adsen...@googlegroups.com
:) glad I could help.

---
Jose Alcérreca
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


Google Inc.| Developer Relations | AdSense API Team | developers .google.com/adsense


Reply all
Reply to author
Forward
0 new messages