Debian Codegraph @

docs/dyn/searchads360_v23.geoTargetConstants.html

raw
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.geoTargetConstants.html">geoTargetConstants</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="#suggest">suggest(body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Returns GeoTargetConstant suggestions by location name or by resource name. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [GeoTargetConstantSuggestionError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()</p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="suggest">suggest(body=None, x__xgafv=None)</code>
91 <pre>Returns GeoTargetConstant suggestions by location name or by resource name. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [GeoTargetConstantSuggestionError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
92
93 Args:
94 body: object, The request body.
95 The object takes the form of:
96
97 { # Request message for GeoTargetConstantService.SuggestGeoTargetConstants.
98 &quot;countryCode&quot;: &quot;A String&quot;, # Returned geo targets are restricted to this country code.
99 &quot;geoTargets&quot;: { # A list of geo target constant resource names. # The geo target constant resource names to filter by.
100 &quot;geoTargetConstants&quot;: [ # A list of geo target constant resource names.
101 &quot;A String&quot;,
102 ],
103 },
104 &quot;locale&quot;: &quot;A String&quot;, # If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
105 &quot;locationNames&quot;: { # A list of location names. # The location names to search by. At most 25 names can be set.
106 &quot;names&quot;: [ # A list of location names.
107 &quot;A String&quot;,
108 ],
109 },
110 }
111
112 x__xgafv: string, V1 error format.
113 Allowed values
114 1 - v1 error format
115 2 - v2 error format
116
117 Returns:
118 An object of the form:
119
120 { # Response message for GeoTargetConstantService.SuggestGeoTargetConstants.
121 &quot;geoTargetConstantSuggestions&quot;: [ # Geo target constant suggestions.
122 { # A geo target constant suggestion.
123 &quot;geoTargetConstant&quot;: { # A geo target constant. # The GeoTargetConstant result.
124 &quot;canonicalName&quot;: &quot;A String&quot;, # Output only. The fully qualified English name, consisting of the target&#x27;s name and that of its parent and country.
125 &quot;countryCode&quot;: &quot;A String&quot;, # Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
126 &quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the geo target constant.
127 &quot;name&quot;: &quot;A String&quot;, # Output only. Geo target constant English name.
128 &quot;parentGeoTarget&quot;: &quot;A String&quot;, # Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{parent_geo_target_constant_id}`
129 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The resource name of the geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{geo_target_constant_id}`
130 &quot;status&quot;: &quot;A String&quot;, # Output only. Geo target constant status.
131 &quot;targetType&quot;: &quot;A String&quot;, # Output only. Geo target constant target type.
132 },
133 &quot;geoTargetConstantParents&quot;: [ # The list of parents of the geo target constant.
134 { # A geo target constant.
135 &quot;canonicalName&quot;: &quot;A String&quot;, # Output only. The fully qualified English name, consisting of the target&#x27;s name and that of its parent and country.
136 &quot;countryCode&quot;: &quot;A String&quot;, # Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
137 &quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the geo target constant.
138 &quot;name&quot;: &quot;A String&quot;, # Output only. Geo target constant English name.
139 &quot;parentGeoTarget&quot;: &quot;A String&quot;, # Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{parent_geo_target_constant_id}`
140 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The resource name of the geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{geo_target_constant_id}`
141 &quot;status&quot;: &quot;A String&quot;, # Output only. Geo target constant status.
142 &quot;targetType&quot;: &quot;A String&quot;, # Output only. Geo target constant target type.
143 },
144 ],
145 &quot;locale&quot;: &quot;A String&quot;, # The language this GeoTargetConstantSuggestion is currently translated to. It affects the name of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then name=EspaƱa. The default locale will be returned if no translation exists for the locale in the request.
146 &quot;reach&quot;: &quot;A String&quot;, # Approximate user population that will be targeted, rounded to the nearest 100.
147 &quot;searchTerm&quot;: &quot;A String&quot;, # If the request searched by location name, this is the location name that matched the geo target.
148 },
149 ],
150 }</pre>
151 </div>
152
153 </body></html>