bingads package¶
Subpackages¶
- bingads.internal package
- bingads.v13 package
- Subpackages
- bingads.v13.bulk package
- Subpackages
- Submodules
- bingads.v13.bulk.bulk_operation module
- bingads.v13.bulk.bulk_operation_progress_info module
- bingads.v13.bulk.bulk_operation_status module
- bingads.v13.bulk.bulk_service_manager module
- bingads.v13.bulk.download_parameters module
- bingads.v13.bulk.enums module
- bingads.v13.bulk.exceptions module
- bingads.v13.bulk.file_reader module
- bingads.v13.bulk.file_writer module
- bingads.v13.bulk.upload_parameters module
- Module contents
- bingads.v13.internal package
- bingads.v13.reporting package
- Submodules
- bingads.v13.reporting.exceptions module
- bingads.v13.reporting.report_contract module
- bingads.v13.reporting.report_file_reader module
- bingads.v13.reporting.reporting_download_parameters module
- bingads.v13.reporting.reporting_operation module
- bingads.v13.reporting.reporting_operation_status module
- bingads.v13.reporting.reporting_service_manager module
- Module contents
- bingads.v13.bulk package
- Module contents
- Subpackages
Submodules¶
bingads.exceptions module¶
- exception bingads.exceptions.FileDownloadException(description)[source]¶
Bases:
bingads.exceptions.SdkException
This exception is thrown if timeout occurs
- exception bingads.exceptions.FileUploadException(description)[source]¶
Bases:
bingads.exceptions.SdkException
This exception is thrown if timeout occurs
- exception bingads.exceptions.OAuthTokenRequestException(error_code, description)[source]¶
Bases:
bingads.exceptions.SdkException
This exception is thrown if an error was returned from the Microsoft Account authorization server.
- property error_code¶
The error code of the OAuth error.
- Return type
str
- property error_description¶
The description of the OAuth error.
- Return type
str
- exception bingads.exceptions.SdkException(message)[source]¶
Bases:
Exception
Base Exception for exceptions in SDK.
- property message¶
Detailed exception message.
- Return type
str
- exception bingads.exceptions.TimeoutException(description)[source]¶
Bases:
bingads.exceptions.SdkException
This exception is thrown if timeout occurs
bingads.headerplugin module¶
bingads.manifest module¶
bingads.service_client module¶
- class bingads.service_client.ServiceClient(service, version, authorization_data=None, environment='production', **suds_options)[source]¶
Bases:
object
Provides an interface for calling the methods of the specified Bing Ads service.
- property authorization_data¶
Represents a user who intends to access the corresponding customer and account.
- Return type
- property factory¶
The internal suds soap client factory.
- Return type
Factory
- property refresh_oauth_tokens_automatically¶
A value indicating whether OAuth access and refresh tokens should be refreshed automatically upon access token expiration.
- Return type
bool
- property service_url¶
The wsdl url of service based on the specific service and environment.
- Return type
str
- set_options(**kwargs)[source]¶
Set suds options, these options will be passed to suds.
- Parameters
kwargs – suds options.
- Return type
None
- property soap_client¶
The internal suds soap client.
- Return type
Client