get_demographics_marital_status

Gets the ratio of viewers bucketed by marital status (married/single/divorced or separated/widowed) 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_married (integer)
The percentage of viewers who are married.
pct_single (integer)
The percentage of viewers who are single.
pct_divorced_separated (integer)
The percentage of viewers who are divorced or separated.
pct_widowed (integer)
The percentage of viewers who are widowed.
details (list)
A list of percentage buckets over time with the following parameters: date, pct_married, pct_single, pct_divorced_separated, and pct_widowed. 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_marital_status&interval=perday
&start=2010-11-15&end=2010-11-20&auth=aa6fb416b3cac7861be9c9db2ebeef564b70f2e4

<response name="get_demographics_marital_status" status="ok">
	<pct_married>52.73</pct_married>
	<pct_single>23.72</pct_single>
	<pct_divorced_separated>15.91</pct_divorced_separated>
	<pct_widowed>7.64</pct_widowed>
	<details count="6" interval="perday" list_size="6" has_more_items="false">
		<entry>
			<date>2010-11-15</date>
			<pct_married>51.64</pct_married>
			<pct_single>24.46</pct_single>
			<pct_divorced_separated>16.18</pct_divorced_separated>
			<pct_widowed>7.72</pct_widowed>
		</entry>
                .
                .
                .
		<entry>
			<date>2010-11-20</date>
			<pct_married>53.92</pct_married>
			<pct_single>22.89</pct_single>
			<pct_divorced_separated>15.65</pct_divorced_separated>
			<pct_widowed>7.54</pct_widowed>
		</entry>
	</details>
</response>

Error Codes

Standard error codes