| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="searchads360_v23.html">Search Ads 360 Reporting API</a> . <a href="searchads360_v23.v23.html">v23</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#generateConversionRates">generateConversionRates(body=None, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Returns a collection of conversion rate suggestions for supported plannable products. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#listBenchmarksAvailableDates">listBenchmarksAvailableDates(body=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Returns a date range that supports benchmarks. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#listBenchmarksLocations">listBenchmarksLocations(body=None, x__xgafv=None)</a></code></p> |
| 88 |
<p class="firstline">Returns the list of locations that support benchmarks (for example, countries). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 89 |
<p class="toc_element"> |
| 90 |
<code><a href="#listBenchmarksProducts">listBenchmarksProducts(body=None, x__xgafv=None)</a></code></p> |
| 91 |
<p class="firstline">Returns the list of products that supports benchmarks. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="#listBenchmarksSources">listBenchmarksSources(body=None, x__xgafv=None)</a></code></p> |
| 94 |
<p class="firstline">Returns the list of benchmarks sources (for example, Industry Verticals). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 95 |
<p class="toc_element"> |
| 96 |
<code><a href="#listPlannableLocations">listPlannableLocations(body=None, x__xgafv=None)</a></code></p> |
| 97 |
<p class="firstline">Returns the list of plannable locations (for example, countries). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 98 |
<p class="toc_element"> |
| 99 |
<code><a href="#listPlannableProducts">listPlannableProducts(body=None, x__xgafv=None)</a></code></p> |
| 100 |
<p class="firstline">Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p> |
| 101 |
<p class="toc_element"> |
| 102 |
<code><a href="#listPlannableUserInterests">listPlannableUserInterests(body=None, x__xgafv=None)</a></code></p> |
| 103 |
<p class="firstline">Returns the list of plannable user interests. A plannable user interest is one that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [ListOperationError]() [QuotaError]() [RequestError]() [StringLengthError]()</p> |
| 104 |
<p class="toc_element"> |
| 105 |
<code><a href="#listPlannableUserLists">listPlannableUserLists(body=None, x__xgafv=None)</a></code></p> |
| 106 |
<p class="firstline">Returns the list of plannable user lists with their plannable status. User lists may not be plannable for a number of reasons, including: - They are less than 10 days old. - They have a membership lifespan that is less than 30 days - They have less than 10,000 or more than 700,000 users. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [ReachPlanError]() [RequestError]()</p> |
| 107 |
<h3>Method Details</h3> |
| 108 |
<div class="method"> |
| 109 |
<code class="details" id="close">close()</code> |
| 110 |
<pre>Close httplib2 connections.</pre> |
| 111 |
</div> |
| 112 |
|
| 113 |
<div class="method"> |
| 114 |
<code class="details" id="generateConversionRates">generateConversionRates(body=None, x__xgafv=None)</code> |
| 115 |
<pre>Returns a collection of conversion rate suggestions for supported plannable products. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 116 |
|
| 117 |
Args: |
| 118 |
body: object, The request body. |
| 119 |
The object takes the form of: |
| 120 |
|
| 121 |
{ # Request message for ReachPlanService.GenerateConversionRates. |
| 122 |
"customerId": "A String", # Required. The ID of the customer. A conversion rate based on the historical data of this customer may be suggested. |
| 123 |
"customerReachGroup": "A String", # The name of the customer being planned for. This is a user-defined value. |
| 124 |
"reachApplicationInfo": { # 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. |
| 125 |
"applicationId": "A String", # 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. |
| 126 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 127 |
}, |
| 128 |
} |
| 129 |
|
| 130 |
x__xgafv: string, V1 error format. |
| 131 |
Allowed values |
| 132 |
1 - v1 error format |
| 133 |
2 - v2 error format |
| 134 |
|
| 135 |
Returns: |
| 136 |
An object of the form: |
| 137 |
|
| 138 |
{ # Response message for ReachPlanService.GenerateConversionRates, containing conversion rate suggestions for supported plannable products. |
| 139 |
"conversionRateSuggestions": [ # A list containing conversion rate suggestions. Each repeated element will have an associated product code. Multiple suggestions may share the same product code. |
| 140 |
{ # A conversion rate suggestion. |
| 141 |
"conversionRate": 3.14, # The suggested conversion rate. The value is between 0 and 1 (exclusive). |
| 142 |
"conversionRateModel": "A String", # Model type used to calculate the suggested conversion rate. |
| 143 |
"plannableProductCode": "A String", # The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable product codes, use ReachPlanService.ListPlannableProducts. |
| 144 |
"surfaceTargeting": { # Container for surfaces for a product. Surfaces refer to the available types of ad inventories such as In-Feed, In-Stream, and Shorts. # The surfaces associated with the plannable product. If not present, the conversion rate is considered surface agnostic for this product. |
| 145 |
"surfaces": [ # List of surfaces available to target. |
| 146 |
"A String", |
| 147 |
], |
| 148 |
}, |
| 149 |
}, |
| 150 |
], |
| 151 |
}</pre> |
| 152 |
</div> |
| 153 |
|
| 154 |
<div class="method"> |
| 155 |
<code class="details" id="listBenchmarksAvailableDates">listBenchmarksAvailableDates(body=None, x__xgafv=None)</code> |
| 156 |
<pre>Returns a date range that supports benchmarks. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 157 |
|
| 158 |
Args: |
| 159 |
body: object, The request body. |
| 160 |
The object takes the form of: |
| 161 |
|
| 162 |
{ # Request message for BenchmarksService.ListBenchmarksAvailableDates. |
| 163 |
"applicationInfo": { # Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. # Additional information on the application issuing the request. |
| 164 |
"applicationId": "A String", # 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. |
| 165 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 166 |
}, |
| 167 |
} |
| 168 |
|
| 169 |
x__xgafv: string, V1 error format. |
| 170 |
Allowed values |
| 171 |
1 - v1 error format |
| 172 |
2 - v2 error format |
| 173 |
|
| 174 |
Returns: |
| 175 |
An object of the form: |
| 176 |
|
| 177 |
{ # Response message for BenchmarksService.ListBenchmarksAvailableDates. |
| 178 |
"supportedDates": { # A date range. # The dates that support benchmarks metrics. Data is supported for any dates within this date range inclusive. |
| 179 |
"endDate": "A String", # The end date, in yyyy-mm-dd format. This date is inclusive. |
| 180 |
"startDate": "A String", # The start date, in yyyy-mm-dd format. This date is inclusive. |
| 181 |
}, |
| 182 |
}</pre> |
| 183 |
</div> |
| 184 |
|
| 185 |
<div class="method"> |
| 186 |
<code class="details" id="listBenchmarksLocations">listBenchmarksLocations(body=None, x__xgafv=None)</code> |
| 187 |
<pre>Returns the list of locations that support benchmarks (for example, countries). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 188 |
|
| 189 |
Args: |
| 190 |
body: object, The request body. |
| 191 |
The object takes the form of: |
| 192 |
|
| 193 |
{ # Request message for BenchmarksService.ListBenchmarksLocations. |
| 194 |
"applicationInfo": { # Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. # Additional information on the application issuing the request. |
| 195 |
"applicationId": "A String", # 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. |
| 196 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 197 |
}, |
| 198 |
} |
| 199 |
|
| 200 |
x__xgafv: string, V1 error format. |
| 201 |
Allowed values |
| 202 |
1 - v1 error format |
| 203 |
2 - v2 error format |
| 204 |
|
| 205 |
Returns: |
| 206 |
An object of the form: |
| 207 |
|
| 208 |
{ # Response message for BenchmarksService.ListBenchmarksLocations. |
| 209 |
"benchmarksLocations": [ # The list of locations supported for benchmarks data. |
| 210 |
{ # A location that supports benchmarks data. |
| 211 |
"locationInfo": { # A location criterion. # Information on the geographic location, including the location ID. |
| 212 |
"geoTargetConstant": "A String", # The geo target constant resource name. |
| 213 |
}, |
| 214 |
"locationName": "A String", # The unique location name in English. |
| 215 |
"locationType": "A String", # The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream. |
| 216 |
}, |
| 217 |
], |
| 218 |
}</pre> |
| 219 |
</div> |
| 220 |
|
| 221 |
<div class="method"> |
| 222 |
<code class="details" id="listBenchmarksProducts">listBenchmarksProducts(body=None, x__xgafv=None)</code> |
| 223 |
<pre>Returns the list of products that supports benchmarks. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 224 |
|
| 225 |
Args: |
| 226 |
body: object, The request body. |
| 227 |
The object takes the form of: |
| 228 |
|
| 229 |
{ # Request message for BenchmarksService.ListBenchmarksProducts. |
| 230 |
"applicationInfo": { # Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. # Additional information on the application issuing the request. |
| 231 |
"applicationId": "A String", # 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. |
| 232 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 233 |
}, |
| 234 |
} |
| 235 |
|
| 236 |
x__xgafv: string, V1 error format. |
| 237 |
Allowed values |
| 238 |
1 - v1 error format |
| 239 |
2 - v2 error format |
| 240 |
|
| 241 |
Returns: |
| 242 |
An object of the form: |
| 243 |
|
| 244 |
{ # Response message for BenchmarksService.ListBenchmarksProducts. |
| 245 |
"benchmarksProducts": [ # The list of products available for benchmarks data. |
| 246 |
{ # The metadata associated with a product supported for benchmarks data. |
| 247 |
"marketingObjective": "A String", # The marketing objective associated with the product. A marketing objective is a broader classification of products. |
| 248 |
"productCode": "A String", # The identifier of the product. The identifier can be used as inputs for BenchmarksService.GenerateBenchmarksMetrics. |
| 249 |
"productName": "A String", # The name of the product. |
| 250 |
}, |
| 251 |
], |
| 252 |
}</pre> |
| 253 |
</div> |
| 254 |
|
| 255 |
<div class="method"> |
| 256 |
<code class="details" id="listBenchmarksSources">listBenchmarksSources(body=None, x__xgafv=None)</code> |
| 257 |
<pre>Returns the list of benchmarks sources (for example, Industry Verticals). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 258 |
|
| 259 |
Args: |
| 260 |
body: object, The request body. |
| 261 |
The object takes the form of: |
| 262 |
|
| 263 |
{ # Request message for BenchmarksService.ListBenchmarksSources. |
| 264 |
"applicationInfo": { # Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. # Additional information on the application issuing the request. |
| 265 |
"applicationId": "A String", # 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. |
| 266 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 267 |
}, |
| 268 |
"benchmarksSources": [ # Required. The types of benchmarks sources to be returned (for example, INDUSTRY_VERTICAL). |
| 269 |
"A String", |
| 270 |
], |
| 271 |
} |
| 272 |
|
| 273 |
x__xgafv: string, V1 error format. |
| 274 |
Allowed values |
| 275 |
1 - v1 error format |
| 276 |
2 - v2 error format |
| 277 |
|
| 278 |
Returns: |
| 279 |
An object of the form: |
| 280 |
|
| 281 |
{ # Response message for BenchmarksService.ListBenchmarksSources. |
| 282 |
"benchmarksSources": [ # The list of available source used to generate benchmarks data for. |
| 283 |
{ # The metadata associated with a benchmarks source. |
| 284 |
"benchmarksSourceType": "A String", # The type of benchmarks source. |
| 285 |
"industryVerticalInfo": { # The information associated with an Industry Vertical. # Information on the Industry Vertical. |
| 286 |
"industryVerticalId": "A String", # The unique identifier of the Industry Vertical. |
| 287 |
"industryVerticalName": "A String", # The name of the Industry Vertical. |
| 288 |
"parentIndustryVerticalId": "A String", # The unique identifier of the parent Industry Vertical, if exists. |
| 289 |
}, |
| 290 |
}, |
| 291 |
], |
| 292 |
}</pre> |
| 293 |
</div> |
| 294 |
|
| 295 |
<div class="method"> |
| 296 |
<code class="details" id="listPlannableLocations">listPlannableLocations(body=None, x__xgafv=None)</code> |
| 297 |
<pre>Returns the list of plannable locations (for example, countries). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 298 |
|
| 299 |
Args: |
| 300 |
body: object, The request body. |
| 301 |
The object takes the form of: |
| 302 |
|
| 303 |
{ # Request message for ReachPlanService.ListPlannableLocations. |
| 304 |
"reachApplicationInfo": { # 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. |
| 305 |
"applicationId": "A String", # 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. |
| 306 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 307 |
}, |
| 308 |
} |
| 309 |
|
| 310 |
x__xgafv: string, V1 error format. |
| 311 |
Allowed values |
| 312 |
1 - v1 error format |
| 313 |
2 - v2 error format |
| 314 |
|
| 315 |
Returns: |
| 316 |
An object of the form: |
| 317 |
|
| 318 |
{ # The list of plannable locations. |
| 319 |
"plannableLocations": [ # The list of locations available for planning. See https://developers.google.com/google-ads/api/reference/data/geotargets for sample locations. |
| 320 |
{ # A plannable location: country, metro region, province, etc. |
| 321 |
"countryCode": "A String", # The ISO-3166-1 alpha-2 country code that is associated with the location. |
| 322 |
"id": "A String", # The location identifier. |
| 323 |
"locationType": "A String", # The location's type. Location types correspond to target_type returned by . |
| 324 |
"name": "A String", # The unique location name in English. |
| 325 |
"parentCountryId": "A String", # The parent country (not present if location is a country). If present, will always be a GeoTargetConstant ID. Additional information such as country name is provided by ReachPlanService.ListPlannableLocations or |
| 326 |
}, |
| 327 |
], |
| 328 |
}</pre> |
| 329 |
</div> |
| 330 |
|
| 331 |
<div class="method"> |
| 332 |
<code class="details" id="listPlannableProducts">listPlannableProducts(body=None, x__xgafv=None)</code> |
| 333 |
<pre>Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() |
| 334 |
|
| 335 |
Args: |
| 336 |
body: object, The request body. |
| 337 |
The object takes the form of: |
| 338 |
|
| 339 |
{ # Request to list available products in a given location. |
| 340 |
"plannableLocationId": "A String", # Required. The ID of the selected location for planning. To list the available plannable location IDs use ReachPlanService.ListPlannableLocations. |
| 341 |
"reachApplicationInfo": { # 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. |
| 342 |
"applicationId": "A String", # 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. |
| 343 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 344 |
}, |
| 345 |
} |
| 346 |
|
| 347 |
x__xgafv: string, V1 error format. |
| 348 |
Allowed values |
| 349 |
1 - v1 error format |
| 350 |
2 - v2 error format |
| 351 |
|
| 352 |
Returns: |
| 353 |
An object of the form: |
| 354 |
|
| 355 |
{ # A response with all available products. |
| 356 |
"productMetadata": [ # The list of products available for planning and related targeting metadata. |
| 357 |
{ # The metadata associated with an available plannable product. |
| 358 |
"plannableProductCode": "A String", # The code associated with the ad product (for example: BUMPER, TRUEVIEW_IN_STREAM). To list the available plannable product codes use ReachPlanService.ListPlannableProducts. |
| 359 |
"plannableProductName": "A String", # The name associated with the ad product. |
| 360 |
"plannableTargeting": { # The targeting for which traffic metrics will be reported. # The allowed plannable targeting for this product. |
| 361 |
"ageRanges": [ # Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values. |
| 362 |
"A String", |
| 363 |
], |
| 364 |
"devices": [ # Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. |
| 365 |
{ # A device criterion. |
| 366 |
"type": "A String", # Type of the device. |
| 367 |
}, |
| 368 |
], |
| 369 |
"genders": [ # Targetable genders for the ad product. |
| 370 |
{ # A gender criterion. |
| 371 |
"type": "A String", # Type of the gender. |
| 372 |
}, |
| 373 |
], |
| 374 |
"networks": [ # Targetable networks for the ad product. |
| 375 |
"A String", |
| 376 |
], |
| 377 |
"surfaceTargeting": { # The surface targeting combinations available for an ad product. # Targetable surface combinations for the ad product. |
| 378 |
"availableTargetingCombinations": [ # Available surface target combinations for the ad product. |
| 379 |
{ # Container for surfaces for a product. Surfaces refer to the available types of ad inventories such as In-Feed, In-Stream, and Shorts. |
| 380 |
"surfaces": [ # List of surfaces available to target. |
| 381 |
"A String", |
| 382 |
], |
| 383 |
}, |
| 384 |
], |
| 385 |
"defaultTargeting": { # Container for surfaces for a product. Surfaces refer to the available types of ad inventories such as In-Feed, In-Stream, and Shorts. # Default surface targeting applied to the ad product. |
| 386 |
"surfaces": [ # List of surfaces available to target. |
| 387 |
"A String", |
| 388 |
], |
| 389 |
}, |
| 390 |
}, |
| 391 |
"youtubeSelectLineups": [ # Targetable YouTube Select Lineups for the ad product. |
| 392 |
{ # A Plannable YouTube Select Lineup for product targeting. |
| 393 |
"lineupId": "A String", # The ID of the YouTube Select Lineup. |
| 394 |
"lineupName": "A String", # The unique name of the YouTube Select Lineup. |
| 395 |
}, |
| 396 |
], |
| 397 |
}, |
| 398 |
}, |
| 399 |
], |
| 400 |
}</pre> |
| 401 |
</div> |
| 402 |
|
| 403 |
<div class="method"> |
| 404 |
<code class="details" id="listPlannableUserInterests">listPlannableUserInterests(body=None, x__xgafv=None)</code> |
| 405 |
<pre>Returns the list of plannable user interests. A plannable user interest is one that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [ListOperationError]() [QuotaError]() [RequestError]() [StringLengthError]() |
| 406 |
|
| 407 |
Args: |
| 408 |
body: object, The request body. |
| 409 |
The object takes the form of: |
| 410 |
|
| 411 |
{ # Request message for ReachPlanService.ListPlannableUserInterests. |
| 412 |
"customerId": "A String", # Required. The ID of the customer. |
| 413 |
"nameQuery": "A String", # A filter by user interest name. If set, only user interests with a name containing the literal string (case insensitive) in the filter will be returned. Maximum length is 200 characters. |
| 414 |
"pathQuery": "A String", # A filter by user interest path. If set, only user interests with a path containing the literal string (case insensitive) in the filter will be returned. Maximum length is 200 characters. |
| 415 |
"reachApplicationInfo": { # 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. |
| 416 |
"applicationId": "A String", # 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. |
| 417 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 418 |
}, |
| 419 |
"userInterestTaxonomyTypes": [ # Optional. A filter by user interest type. If set, only user interests with a type listed in the filter will be returned. If not set, user interests of all supported types will be returned. Supported user interest types are AFFINITY and IN_MARKET. Each type must be specified at most once. |
| 420 |
"A String", |
| 421 |
], |
| 422 |
} |
| 423 |
|
| 424 |
x__xgafv: string, V1 error format. |
| 425 |
Allowed values |
| 426 |
1 - v1 error format |
| 427 |
2 - v2 error format |
| 428 |
|
| 429 |
Returns: |
| 430 |
An object of the form: |
| 431 |
|
| 432 |
{ # Response message for ReachPlanService.ListPlannableUserInterests. |
| 433 |
"plannableUserInterests": [ # The list of plannable user interests. |
| 434 |
{ # A plannable user interest that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast. |
| 435 |
"userInterest": { # Represents a particular interest-based topic to be targeted. # The user interest id. |
| 436 |
"userInterestCategory": "A String", # The UserInterest resource name. |
| 437 |
}, |
| 438 |
"userInterestDisplayName": "A String", # The user interest display name. For example, "Autos & Vehicles" |
| 439 |
"userInterestPath": "A String", # The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by Type/Off-Road Vehicles" |
| 440 |
"userInterestType": "A String", # The user interest type. |
| 441 |
}, |
| 442 |
], |
| 443 |
}</pre> |
| 444 |
</div> |
| 445 |
|
| 446 |
<div class="method"> |
| 447 |
<code class="details" id="listPlannableUserLists">listPlannableUserLists(body=None, x__xgafv=None)</code> |
| 448 |
<pre>Returns the list of plannable user lists with their plannable status. User lists may not be plannable for a number of reasons, including: - They are less than 10 days old. - They have a membership lifespan that is less than 30 days - They have less than 10,000 or more than 700,000 users. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [ReachPlanError]() [RequestError]() |
| 449 |
|
| 450 |
Args: |
| 451 |
body: object, The request body. |
| 452 |
The object takes the form of: |
| 453 |
|
| 454 |
{ # Request message for ReachPlanService.ListPlannableUserLists that lists the available user lists for a customer. |
| 455 |
"customerId": "A String", # Required. The ID of the customer. |
| 456 |
"customerReachGroup": "A String", # The name of the customer being planned for. This is a user-defined value. |
| 457 |
"reachApplicationInfo": { # 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. |
| 458 |
"applicationId": "A String", # 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. |
| 459 |
"applicationInstance": "A String", # The instance type of the application sending the request. |
| 460 |
}, |
| 461 |
} |
| 462 |
|
| 463 |
x__xgafv: string, V1 error format. |
| 464 |
Allowed values |
| 465 |
1 - v1 error format |
| 466 |
2 - v2 error format |
| 467 |
|
| 468 |
Returns: |
| 469 |
An object of the form: |
| 470 |
|
| 471 |
{ # A response with all available user lists with their plannable status. |
| 472 |
"plannableUserLists": [ # The list of user lists available for planning and related targeting metadata. |
| 473 |
{ # A plannable user list. |
| 474 |
"displayName": "A String", # The name of the user list. |
| 475 |
"plannableStatus": "A String", # The plannable status of the user list. |
| 476 |
"plannableUserListMetadata": { # The metadata associated with a plannable user list. # The relevant metadata for this user list. |
| 477 |
"userListCrmDataSourceType": "A String", # The data source type of a CRM based user list. |
| 478 |
}, |
| 479 |
"userListInfo": { # A User List criterion. Represents a user list that is defined by the advertiser to be targeted. # The user list ID. |
| 480 |
"userList": "A String", # The User List resource name. |
| 481 |
}, |
| 482 |
"userListType": "A String", # The user list type. |
| 483 |
}, |
| 484 |
], |
| 485 |
}</pre> |
| 486 |
</div> |
| 487 |
|
| 488 |
</body></html> |