1- #The googleads Python client library
1+ # The googleads Python client library
22
33
44This client library simplifies accessing Google's SOAP Ads APIs - AdWords,
55and DoubleClick for Publishers. The library provides easy ways to store your
66authentication and create SOAP web service clients. It also contains example
77code to help you get started integrating with our APIs.
88
9- ##Getting started
9+ ## Getting started
10101 . Download and install the library
1111
1212 * [ setuptools] ( https://pypi.python.org/pypi/setuptools ) is a pre-requisite
@@ -46,7 +46,7 @@ code to help you get started integrating with our APIs.
4646
4747 * [ Developing a web application (AdWords or DFP)] ( https://github.com/googleads/googleads-python-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow) )
4848
49- ####Where can I find samples?
49+ #### Where can I find samples?
5050
5151You can find code examples for the latest versions of AdWords or DFP on the
5252[ releases] ( https://github.com/googleads/googleads-python-lib/releases ) page.
@@ -55,11 +55,11 @@ Alternatively, you can find [AdWords](https://github.com/googleads/googleads-pyt
5555or [ DFP] ( https://github.com/googleads/googleads-python-lib/tree/master/examples/dfp )
5656samples in the examples directory of this repository.
5757
58- ####Where can I find the pydocs?
58+ #### Where can I find the pydocs?
5959
6060Our pydocs can be found [ here] ( http://googleads.github.io/googleads-python-lib ) .
6161
62- ####Caching authentication information
62+ #### Caching authentication information
6363
6464It is possible to cache your API authentication information. The library
6565includes a sample file showing how to do this named ` googleads.yaml ` . Fill
@@ -76,7 +76,7 @@ adwords_client = adwords.AdWordsClient.LoadFromStorage()
7676dfp_client = dfp.DfpClient.LoadFromStorage(' C:\My\Directory\googleads.yaml' )
7777```
7878
79- ####How do I change the Client Customer Id at runtime?
79+ #### How do I change the Client Customer Id at runtime?
8080You can change the Client Customer Id with the following:
8181
8282```
@@ -85,7 +85,7 @@ adwords_client.SetClientCustomerId('my_client_customer_id')
8585```
8686
8787
88- ##Where do I submit bug reports and/or feature requests?
88+ ## Where do I submit bug reports and/or feature requests?
8989
9090If you have issues directly related to the client library, use the [ issue
9191tracker] ( https://github.com/googleads/googleads-python-lib/issues ) .
@@ -100,7 +100,7 @@ Make sure to subscribe to our [Google Plus page](https://plus.google.com/+Google
100100for API change announcements and other news.
101101
102102
103- ##How do I log SOAP interactions?
103+ ## How do I log SOAP interactions?
104104The library uses Python's built in logging framework. If you wish to log your
105105SOAP interactions to stdout, you can do the following:
106106``` python
@@ -111,7 +111,7 @@ If you wish to log to a file, you'll need to attach a log handler to this source
111111which is configured to write the output to a file.
112112
113113
114- ##How do I disable log filters?
114+ ## How do I disable log filters?
115115By default, this library will apply log filters to the ` googleads.common ` ,
116116` suds.client ` , and ` suds.transport ` loggers in order to omit sensitive data. If
117117you need to see this data in your logs, you can disable the filters with the
@@ -126,7 +126,7 @@ logging.getLogger('suds.transport').removeFilter(
126126```
127127
128128
129- ##I'm familiar with suds. Can I use suds features with this library?
129+ ## I'm familiar with suds. Can I use suds features with this library?
130130Yes, you can. The services returned by the ` client.GetService() ` functions all
131131have a reference to the underlying suds client stored in the ` suds_client `
132132attribute. You can retrieve the client and use it in familiar ways:
@@ -162,7 +162,7 @@ suds_client.set_options(
162162suds_client.service.mutate([operation])
163163```
164164
165- ##How can I configure or disable caching for the suds client?
165+ ## How can I configure or disable caching for the suds client?
166166
167167By default, the suds clients are cached because reading and digesting the WSDL
168168can be expensive. However, the default caching method requires permission to
@@ -187,26 +187,15 @@ adwords_client = adwords.AdWordsClient(
187187 client_customer_id = client_customer_id, cache = suds.cache.NoCache())
188188```
189189
190- ##Timeout Tips
191- The requests sent by this library are sent via urllib, which is consequently
192- where the timeout is set. If you set a system timeout elsewhere, the googleads
193- library will respect it.
194190
195- You can do the following if you wish to override the timeout:
191+ ## Requirements
196192
197- ``` python
198- import socket
199- socket.setdefaulttimeout(15 * 60 )
200- ```
201-
202- ##Requirements
203-
204- ###Python Versions
193+ ### Python Versions
205194
206195This library supports both Python 2 and 3. To use this library, you will need to
207196have Python 2.7.9 (or higher) or Python 3.4 (or higher) installed.
208197
209- ###External Dependencies:
198+ ### External Dependencies:
210199
211200 - httplib2 -- https://pypi.python.org/pypi/httplib2/
212201 - oauth2client -- https://pypi.python.org/pypi/oauth2client/
@@ -221,5 +210,5 @@ have Python 2.7.9 (or higher) or Python 3.4 (or higher) installed.
221210 (only needed to run unit tests)
222211
223212
224- ##Authors:
213+ ## Authors:
225214 Mark Saniscalchi
0 commit comments