blob: 82524d27c97009850c8096f16d5b0dc79a8d02a3 [file] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="searchads360_v23.html">Search Ads 360 Reporting API</a> . <a href="searchads360_v23.audienceInsights.html">audienceInsights</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#listInsightsEligibleDates">listInsightsEligibleDates(body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists date ranges for which audience insights data can be requested. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="listInsightsEligibleDates">listInsightsEligibleDates(body=None, x__xgafv=None)</code>
<pre>Lists date ranges for which audience insights data can be requested. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
Args:
body: object, The request body.
The object takes the form of:
{ # Request message for AudienceInsightsService.ListInsightsEligibleDates.
&quot;insightsApplicationInfo&quot;: { # Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. # Optional. Additional information on the application issuing the request.
&quot;applicationId&quot;: &quot;A String&quot;, # The unique identifier of the agency proprietary application. This identifier is generated by Google. Reach out to your Google representative to request an application_id for each new application being integrated.
&quot;applicationInstance&quot;: &quot;A String&quot;, # The instance type of the application sending the request.
},
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for AudienceInsightsService.ListInsightsEligibleDates.
&quot;dataMonths&quot;: [ # The months for which AudienceInsights data is currently available, each represented as a string in the form &quot;YYYY-MM&quot;.
&quot;A String&quot;,
],
&quot;lastThirtyDays&quot;: { # A date range. # The actual dates covered by the &quot;last 30 days&quot; date range that will be used implicitly for AudienceInsightsService.GenerateAudienceCompositionInsights requests that have no data_month set.
&quot;endDate&quot;: &quot;A String&quot;, # The end date, in yyyy-mm-dd format. This date is inclusive.
&quot;startDate&quot;: &quot;A String&quot;, # The start date, in yyyy-mm-dd format. This date is inclusive.
},
}</pre>
</div>
</body></html>