get_demographics_homeowners

Gets the ratio of viewers who own a home versus rent for a specific tracker or publisher ID.

Explorer

Explore this method

Request URL

http://api.tubemogul.com/api/v3/

HTTP method

GET

Arguments

scope (string)
The scope of the method being called. Valid values are tracker or publisher.
id (string)
The ID corresponding to the scope of the report.
start (string)
The start date for the report. Format is YYYY-MM-DD.
end (string)
The end date for the report. Format is YYYY-MM-DD.
site_id (string) — Optional
The ID for your site. This is required for publisher-scoped queries but not for trackers. Contact us if you do not know your site_id.
interval (string) — Optional
Determines the granularity of list values in the detailed response list. Valid values include perday or none. A value of none will omit the detail list. Defaults to none.

Response Parameters

pct_homeowners (integer)
The percentage of viewers who own their own homes.
pct_rent (integer)
The percentage of viewers who rent their homes.
details (list)
A list of percentage buckets over time with the following parameters: date, pct_homeowners and pct_rent. The entries are scoped based on the arguments provided in the request.

Example Response

http://api.tubemogul.com/api/v3?date=1230109922&user_id=123456
&scope=tracker&id=TD-PEX-Y83&method=get_demographics_homeowners&interval=perday
&start=2010-11-15&end=2010-11-20&auth=aa6fb416b3cac7861be9c9db2ebeef564b70f2e4

<response name="get_demographics_homeowners" status="ok">
	<pct_homeowners>60.57</pct_homeowners>
	<pct_renter>39.43</pct_renter>
	<details count="6" interval="perday" list_size="6" has_more_items="false">
		<entry>
			<date>2010-11-15</date>
			<pct_homeowners>59.81</pct_homeowners>
			<pct_renter>40.19</pct_renter>
		</entry>
                .
                .
                .
		<entry>
			<date>2010-11-20</date>
			<pct_homeowners>60.12</pct_homeowners>
			<pct_renter>39.88</pct_renter>
		</entry>
	</details>
</response>

Error Codes

Standard error codes