All URIs are relative to https://api.dataforseo.com
| Method | HTTP request | Description |
|---|---|---|
| bing_keyword_performance_live | POST /v3/keywords_data/bing/keyword_performance/live | |
| bing_keyword_performance_task_get | GET /v3/keywords_data/bing/keyword_performance/task_get/{id} | |
| bing_keyword_performance_task_post | POST /v3/keywords_data/bing/keyword_performance/task_post | |
| bing_keyword_performance_tasks_ready | GET /v3/keywords_data/bing/keyword_performance/tasks_ready | |
| bing_keywords_for_keywords_live | POST /v3/keywords_data/bing/keywords_for_keywords/live | |
| bing_keywords_for_keywords_task_get | GET /v3/keywords_data/bing/keywords_for_keywords/task_get/{id} | |
| bing_keywords_for_keywords_task_post | POST /v3/keywords_data/bing/keywords_for_keywords/task_post | |
| bing_keywords_for_keywords_tasks_ready | GET /v3/keywords_data/bing/keywords_for_keywords/tasks_ready | |
| bing_keywords_for_site_live | POST /v3/keywords_data/bing/keywords_for_site/live | |
| bing_keywords_for_site_task_get | GET /v3/keywords_data/bing/keywords_for_site/task_get/{id} | |
| bing_keywords_for_site_task_post | POST /v3/keywords_data/bing/keywords_for_site/task_post | |
| bing_keywords_for_site_tasks_ready | GET /v3/keywords_data/bing/keywords_for_site/tasks_ready | |
| bing_search_volume_live | POST /v3/keywords_data/bing/search_volume/live | |
| bing_search_volume_task_get | GET /v3/keywords_data/bing/search_volume/task_get/{id} | |
| bing_search_volume_task_post | POST /v3/keywords_data/bing/search_volume/task_post | |
| bing_search_volume_tasks_ready | GET /v3/keywords_data/bing/search_volume/tasks_ready | |
| google_ads_ad_traffic_by_keywords_live | POST /v3/keywords_data/google_ads/ad_traffic_by_keywords/live | |
| google_ads_ad_traffic_by_keywords_task_get | GET /v3/keywords_data/google_ads/ad_traffic_by_keywords/task_get/{id} | |
| google_ads_ad_traffic_by_keywords_task_post | POST /v3/keywords_data/google_ads/ad_traffic_by_keywords/task_post | |
| google_ads_ad_traffic_by_keywords_tasks_ready | GET /v3/keywords_data/google_ads/ad_traffic_by_keywords/tasks_ready | |
| google_ads_keywords_for_keywords_live | POST /v3/keywords_data/google_ads/keywords_for_keywords/live | |
| google_ads_keywords_for_keywords_task_get | GET /v3/keywords_data/google_ads/keywords_for_keywords/task_get/{id} | |
| google_ads_keywords_for_keywords_task_post | POST /v3/keywords_data/google_ads/keywords_for_keywords/task_post | |
| google_ads_keywords_for_keywords_tasks_ready | GET /v3/keywords_data/google_ads/keywords_for_keywords/tasks_ready | |
| google_ads_keywords_for_site_live | POST /v3/keywords_data/google_ads/keywords_for_site/live | |
| google_ads_keywords_for_site_task_get | GET /v3/keywords_data/google_ads/keywords_for_site/task_get/{id} | |
| google_ads_keywords_for_site_task_post | POST /v3/keywords_data/google_ads/keywords_for_site/task_post | |
| google_ads_keywords_for_site_tasks_ready | GET /v3/keywords_data/google_ads/keywords_for_site/tasks_ready | |
| google_ads_search_volume_live | POST /v3/keywords_data/google_ads/search_volume/live | |
| google_ads_search_volume_task_get | GET /v3/keywords_data/google_ads/search_volume/task_get/{id} | |
| google_ads_search_volume_task_post | POST /v3/keywords_data/google_ads/search_volume/task_post | |
| google_ads_search_volume_tasks_ready | GET /v3/keywords_data/google_ads/search_volume/tasks_ready | |
| google_ads_status | GET /v3/keywords_data/google_ads/status | |
| google_trends_categories | GET /v3/keywords_data/google_trends/categories | |
| google_trends_explore_live | POST /v3/keywords_data/google_trends/explore/live | |
| google_trends_explore_task_get | GET /v3/keywords_data/google_trends/explore/task_get/{id} | |
| google_trends_explore_task_post | POST /v3/keywords_data/google_trends/explore/task_post | |
| google_trends_explore_tasks_ready | GET /v3/keywords_data/google_trends/explore/tasks_ready | |
| keywords_data_bing_keyword_performance_locations_and_languages | GET /v3/keywords_data/bing/keyword_performance/locations_and_languages | |
| keywords_data_bing_languages | GET /v3/keywords_data/bing/languages | |
| keywords_data_bing_locations | GET /v3/keywords_data/bing/locations | |
| keywords_data_errors | POST /v3/keywords_data/errors | |
| keywords_data_google_ads_languages | GET /v3/keywords_data/google_ads/languages | |
| keywords_data_google_ads_locations | GET /v3/keywords_data/google_ads/locations | |
| keywords_data_google_trends_languages | GET /v3/keywords_data/google_trends/languages | |
| keywords_data_google_trends_locations | GET /v3/keywords_data/google_trends/locations | |
| keywords_data_google_trends_locations_country | GET /v3/keywords_data/google_trends/locations/{country} | |
| keywords_data_id_list | POST /v3/keywords_data/id_list |
KeywordsDataBingKeywordPerformanceLiveResponseInfo bing_keyword_performance_live(keywords_data_bing_keyword_performance_live_request_info=keywords_data_bing_keyword_performance_live_request_info)
You can receive a set of keyword performance stats for a group of keywords depending on the specified match type, location and language parameters. Ad position, clicks, impressions, and other keyword metrics are aggregated for the last month for one or all of the following device types: mobile, desktop, tablet. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keyword_performance/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keyword_performance_live_request_info import KeywordsDataBingKeywordPerformanceLiveRequestInfo
from dataforseo_client.models.keywords_data_bing_keyword_performance_live_response_info import KeywordsDataBingKeywordPerformanceLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keyword_performance_live_request_info = [dataforseo_client.KeywordsDataBingKeywordPerformanceLiveRequestInfo()] # List[KeywordsDataBingKeywordPerformanceLiveRequestInfo] | (optional)
try:
api_response = api_instance.bing_keyword_performance_live(keywords_data_bing_keyword_performance_live_request_info=keywords_data_bing_keyword_performance_live_request_info)
print("The response of KeywordsDataApi->bing_keyword_performance_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keyword_performance_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keyword_performance_live_request_info | List[KeywordsDataBingKeywordPerformanceLiveRequestInfo] | [optional] |
KeywordsDataBingKeywordPerformanceLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordPerformanceTaskGetResponseInfo bing_keyword_performance_task_get(id)
You can receive a set of keyword performance stats for a group of keywords depending on the specified match type, location and language parameters. Ad position, clicks, impressions, and other keyword metrics are aggregated for the last month for one or all of the following device types: mobile, desktop, tablet. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keyword_performance/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keyword_performance_task_get_response_info import KeywordsDataBingKeywordPerformanceTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '2dbc8bcb-082b-441b-bee5-1de473c94a63' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.bing_keyword_performance_task_get(id)
print("The response of KeywordsDataApi->bing_keyword_performance_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keyword_performance_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataBingKeywordPerformanceTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordPerformanceTaskPostResponseInfo bing_keyword_performance_task_post(keywords_data_bing_keyword_performance_task_post_request_info=keywords_data_bing_keyword_performance_task_post_request_info)
You can receive a set of keyword performance stats for a group of keywords depending on the specified match type, location and language parameters. Ad position, clicks, impressions, and other keyword metrics are aggregated for the last month for one or all of the following device types: mobile, desktop, tablet. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keyword_performance/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keyword_performance_task_post_request_info import KeywordsDataBingKeywordPerformanceTaskPostRequestInfo
from dataforseo_client.models.keywords_data_bing_keyword_performance_task_post_response_info import KeywordsDataBingKeywordPerformanceTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keyword_performance_task_post_request_info = [dataforseo_client.KeywordsDataBingKeywordPerformanceTaskPostRequestInfo()] # List[KeywordsDataBingKeywordPerformanceTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.bing_keyword_performance_task_post(keywords_data_bing_keyword_performance_task_post_request_info=keywords_data_bing_keyword_performance_task_post_request_info)
print("The response of KeywordsDataApi->bing_keyword_performance_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keyword_performance_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keyword_performance_task_post_request_info | List[KeywordsDataBingKeywordPerformanceTaskPostRequestInfo] | [optional] |
KeywordsDataBingKeywordPerformanceTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordPerformanceTasksReadyResponseInfo bing_keyword_performance_tasks_ready()
This endpoint is designed to provide you with the list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keyword_performance/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keyword_performance_tasks_ready_response_info import KeywordsDataBingKeywordPerformanceTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.bing_keyword_performance_tasks_ready()
print("The response of KeywordsDataApi->bing_keyword_performance_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keyword_performance_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingKeywordPerformanceTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForKeywordsLiveResponseInfo bing_keywords_for_keywords_live(keywords_data_bing_keywords_for_keywords_live_request_info=keywords_data_bing_keywords_for_keywords_live_request_info)
This endpoint will select the relevant keywords for the specified ones. Set up to 200 keywords and get the results, which are suggested by Bing Ads for your query. You can get up to 3000 keyword suggestions using this function. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_keywords/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_live_request_info import KeywordsDataBingKeywordsForKeywordsLiveRequestInfo
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_live_response_info import KeywordsDataBingKeywordsForKeywordsLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keywords_for_keywords_live_request_info = [dataforseo_client.KeywordsDataBingKeywordsForKeywordsLiveRequestInfo()] # List[KeywordsDataBingKeywordsForKeywordsLiveRequestInfo] | (optional)
try:
api_response = api_instance.bing_keywords_for_keywords_live(keywords_data_bing_keywords_for_keywords_live_request_info=keywords_data_bing_keywords_for_keywords_live_request_info)
print("The response of KeywordsDataApi->bing_keywords_for_keywords_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_keywords_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keywords_for_keywords_live_request_info | List[KeywordsDataBingKeywordsForKeywordsLiveRequestInfo] | [optional] |
KeywordsDataBingKeywordsForKeywordsLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForKeywordsTaskGetResponseInfo bing_keywords_for_keywords_task_get(id)
This endpoint will select relevant keywords for the specified terms. Set up to 200 keywords and get the results, which are suggested by Bing Ads for your query. You can get up to 3000 keyword suggestions using this function. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_keywords/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_task_get_response_info import KeywordsDataBingKeywordsForKeywordsTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = 'ac302d47-b774-4dc3-a86e-f28bbeb88435' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.bing_keywords_for_keywords_task_get(id)
print("The response of KeywordsDataApi->bing_keywords_for_keywords_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_keywords_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataBingKeywordsForKeywordsTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForKeywordsTaskPostResponseInfo bing_keywords_for_keywords_task_post(keywords_data_bing_keywords_for_keywords_task_post_request_info=keywords_data_bing_keywords_for_keywords_task_post_request_info)
This endpoint will select relevant keywords for the specified terms. Set up to 200 keywords and get the results, which are suggested by Bing Ads for your query. You can get up to 3000 keyword suggestions using this function. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_keywords/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_task_post_request_info import KeywordsDataBingKeywordsForKeywordsTaskPostRequestInfo
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_task_post_response_info import KeywordsDataBingKeywordsForKeywordsTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keywords_for_keywords_task_post_request_info = [dataforseo_client.KeywordsDataBingKeywordsForKeywordsTaskPostRequestInfo()] # List[KeywordsDataBingKeywordsForKeywordsTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.bing_keywords_for_keywords_task_post(keywords_data_bing_keywords_for_keywords_task_post_request_info=keywords_data_bing_keywords_for_keywords_task_post_request_info)
print("The response of KeywordsDataApi->bing_keywords_for_keywords_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_keywords_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keywords_for_keywords_task_post_request_info | List[KeywordsDataBingKeywordsForKeywordsTaskPostRequestInfo] | [optional] |
KeywordsDataBingKeywordsForKeywordsTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForKeywordsTasksReadyResponseInfo bing_keywords_for_keywords_tasks_ready()
This endpoint is designed to provide you with the list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_keywords/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_keywords_tasks_ready_response_info import KeywordsDataBingKeywordsForKeywordsTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.bing_keywords_for_keywords_tasks_ready()
print("The response of KeywordsDataApi->bing_keywords_for_keywords_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_keywords_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingKeywordsForKeywordsTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForSiteLiveResponseInfo bing_keywords_for_site_live(keywords_data_bing_keywords_for_site_live_request_info=keywords_data_bing_keywords_for_site_live_request_info)
This endpoint will provide you with a list of keywords relevant to the specified URL along with their search volume for the last month, search volume trend for up to 24 past months (for estimating search volume dynamics), current cost-per-click and competition values for paid search. The maximum number of returned keywords is 3000. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_site/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_site_live_request_info import KeywordsDataBingKeywordsForSiteLiveRequestInfo
from dataforseo_client.models.keywords_data_bing_keywords_for_site_live_response_info import KeywordsDataBingKeywordsForSiteLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keywords_for_site_live_request_info = [dataforseo_client.KeywordsDataBingKeywordsForSiteLiveRequestInfo()] # List[KeywordsDataBingKeywordsForSiteLiveRequestInfo] | (optional)
try:
api_response = api_instance.bing_keywords_for_site_live(keywords_data_bing_keywords_for_site_live_request_info=keywords_data_bing_keywords_for_site_live_request_info)
print("The response of KeywordsDataApi->bing_keywords_for_site_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_site_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keywords_for_site_live_request_info | List[KeywordsDataBingKeywordsForSiteLiveRequestInfo] | [optional] |
KeywordsDataBingKeywordsForSiteLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForSiteTaskGetResponseInfo bing_keywords_for_site_task_get(id)
This endpoint will provide you with a list of keywords relevant to the specified website along with their search volume for the last month, search volume trend for the last year (for estimating search volume dynamics), current cost-per-click and competition level for paid search. The maximum number of returned keywords is 3000. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_site/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_site_task_get_response_info import KeywordsDataBingKeywordsForSiteTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '11d932b5-ab92-42bb-9c6f-87c0e5593052' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.bing_keywords_for_site_task_get(id)
print("The response of KeywordsDataApi->bing_keywords_for_site_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_site_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataBingKeywordsForSiteTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForSiteTaskPostResponseInfo bing_keywords_for_site_task_post(keywords_data_bing_keywords_for_site_task_post_request_info=keywords_data_bing_keywords_for_site_task_post_request_info)
This endpoint will provide you with a list of keywords relevant to the specified website along with their search volume for the last month, search volume trend for up to 24 past months (for estimating search volume dynamics), current cost-per-click and competition level for paid search. The maximum number of returned keywords is 3000. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_site/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_site_task_post_request_info import KeywordsDataBingKeywordsForSiteTaskPostRequestInfo
from dataforseo_client.models.keywords_data_bing_keywords_for_site_task_post_response_info import KeywordsDataBingKeywordsForSiteTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_keywords_for_site_task_post_request_info = [dataforseo_client.KeywordsDataBingKeywordsForSiteTaskPostRequestInfo()] # List[KeywordsDataBingKeywordsForSiteTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.bing_keywords_for_site_task_post(keywords_data_bing_keywords_for_site_task_post_request_info=keywords_data_bing_keywords_for_site_task_post_request_info)
print("The response of KeywordsDataApi->bing_keywords_for_site_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_site_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_keywords_for_site_task_post_request_info | List[KeywordsDataBingKeywordsForSiteTaskPostRequestInfo] | [optional] |
KeywordsDataBingKeywordsForSiteTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordsForSiteTasksReadyResponseInfo bing_keywords_for_site_tasks_ready()
This endpoint is designed to provide you with the list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keywords_for_site/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keywords_for_site_tasks_ready_response_info import KeywordsDataBingKeywordsForSiteTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.bing_keywords_for_site_tasks_ready()
print("The response of KeywordsDataApi->bing_keywords_for_site_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_keywords_for_site_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingKeywordsForSiteTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingSearchVolumeLiveResponseInfo bing_search_volume_live(keywords_data_bing_search_volume_live_request_info=keywords_data_bing_search_volume_live_request_info)
This endpoint will provide you with search volume data for the last month, search volume trend for up to 24 past months (that will let you estimate search volume dynamics), current cost-per-click and competition values for paid search. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/search_volume/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_search_volume_live_request_info import KeywordsDataBingSearchVolumeLiveRequestInfo
from dataforseo_client.models.keywords_data_bing_search_volume_live_response_info import KeywordsDataBingSearchVolumeLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_search_volume_live_request_info = [dataforseo_client.KeywordsDataBingSearchVolumeLiveRequestInfo()] # List[KeywordsDataBingSearchVolumeLiveRequestInfo] | (optional)
try:
api_response = api_instance.bing_search_volume_live(keywords_data_bing_search_volume_live_request_info=keywords_data_bing_search_volume_live_request_info)
print("The response of KeywordsDataApi->bing_search_volume_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_search_volume_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_search_volume_live_request_info | List[KeywordsDataBingSearchVolumeLiveRequestInfo] | [optional] |
KeywordsDataBingSearchVolumeLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingSearchVolumeTaskGetResponseInfo bing_search_volume_task_get(id)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/search_volume/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_search_volume_task_get_response_info import KeywordsDataBingSearchVolumeTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '431405e5-6e7c-4418-867c-cac96e7bdce5' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.bing_search_volume_task_get(id)
print("The response of KeywordsDataApi->bing_search_volume_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_search_volume_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataBingSearchVolumeTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingSearchVolumeTaskPostResponseInfo bing_search_volume_task_post(keywords_data_bing_search_volume_task_post_request_info=keywords_data_bing_search_volume_task_post_request_info)
This endpoint will provide you with search volume data for the last month, search volume trend for up to 24 past months (that will let you estimate search volume dynamics), current cost-per-click and competition values for paid search. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/search_volume/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_search_volume_task_post_request_info import KeywordsDataBingSearchVolumeTaskPostRequestInfo
from dataforseo_client.models.keywords_data_bing_search_volume_task_post_response_info import KeywordsDataBingSearchVolumeTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_bing_search_volume_task_post_request_info = [dataforseo_client.KeywordsDataBingSearchVolumeTaskPostRequestInfo()] # List[KeywordsDataBingSearchVolumeTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.bing_search_volume_task_post(keywords_data_bing_search_volume_task_post_request_info=keywords_data_bing_search_volume_task_post_request_info)
print("The response of KeywordsDataApi->bing_search_volume_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_search_volume_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_bing_search_volume_task_post_request_info | List[KeywordsDataBingSearchVolumeTaskPostRequestInfo] | [optional] |
KeywordsDataBingSearchVolumeTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingSearchVolumeTasksReadyResponseInfo bing_search_volume_tasks_ready()
This endpoint is designed to provide you with the list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/search_volume/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_search_volume_tasks_ready_response_info import KeywordsDataBingSearchVolumeTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.bing_search_volume_tasks_ready()
print("The response of KeywordsDataApi->bing_search_volume_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->bing_search_volume_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingSearchVolumeTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsAdTrafficByKeywordsLiveResponseInfo google_ads_ad_traffic_by_keywords_live(keywords_data_google_ads_ad_traffic_by_keywords_live_request_info=keywords_data_google_ads_ad_traffic_by_keywords_live_request_info)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/ad_traffic_by_keywords/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_live_request_info import KeywordsDataGoogleAdsAdTrafficByKeywordsLiveRequestInfo
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_live_response_info import KeywordsDataGoogleAdsAdTrafficByKeywordsLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_ads_ad_traffic_by_keywords_live_request_info = [dataforseo_client.KeywordsDataGoogleAdsAdTrafficByKeywordsLiveRequestInfo()] # List[KeywordsDataGoogleAdsAdTrafficByKeywordsLiveRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_ad_traffic_by_keywords_live(keywords_data_google_ads_ad_traffic_by_keywords_live_request_info=keywords_data_google_ads_ad_traffic_by_keywords_live_request_info)
print("The response of KeywordsDataApi->google_ads_ad_traffic_by_keywords_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_ad_traffic_by_keywords_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_ads_ad_traffic_by_keywords_live_request_info | List[KeywordsDataGoogleAdsAdTrafficByKeywordsLiveRequestInfo] | [optional] |
KeywordsDataGoogleAdsAdTrafficByKeywordsLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo google_ads_ad_traffic_by_keywords_task_get(id)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/ad_traffic_by_keywords/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_task_get_response_info import KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '2cd39d67-d88c-43fd-bcb6-c0791dbb62df' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.google_ads_ad_traffic_by_keywords_task_get(id)
print("The response of KeywordsDataApi->google_ads_ad_traffic_by_keywords_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_ad_traffic_by_keywords_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostResponseInfo google_ads_ad_traffic_by_keywords_task_post(keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info=keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/ad_traffic_by_keywords/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info import KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostRequestInfo
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_task_post_response_info import KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info = [dataforseo_client.KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostRequestInfo()] # List[KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_ad_traffic_by_keywords_task_post(keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info=keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info)
print("The response of KeywordsDataApi->google_ads_ad_traffic_by_keywords_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_ad_traffic_by_keywords_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_ads_ad_traffic_by_keywords_task_post_request_info | List[KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostRequestInfo] | [optional] |
KeywordsDataGoogleAdsAdTrafficByKeywordsTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsAdTrafficByKeywordsTasksReadyResponseInfo google_ads_ad_traffic_by_keywords_tasks_ready()
This endpoint is designed to provide you with a list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/ad_traffic_by_keywords/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_ad_traffic_by_keywords_tasks_ready_response_info import KeywordsDataGoogleAdsAdTrafficByKeywordsTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_ads_ad_traffic_by_keywords_tasks_ready()
print("The response of KeywordsDataApi->google_ads_ad_traffic_by_keywords_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_ad_traffic_by_keywords_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsAdTrafficByKeywordsTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForKeywordsLiveResponseInfo google_ads_keywords_for_keywords_live(keywords_data_task_request_info=keywords_data_task_request_info)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. This endpoint will provide relevant keywords for the specified terms. Set up to 20 keywords in the keywords array and get keyword suggestions from Google Ads. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_keywords_live_response_info import KeywordsDataGoogleAdsKeywordsForKeywordsLiveResponseInfo
from dataforseo_client.models.keywords_data_task_request_info import KeywordsDataTaskRequestInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_task_request_info = [dataforseo_client.KeywordsDataTaskRequestInfo()] # List[KeywordsDataTaskRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_keywords_for_keywords_live(keywords_data_task_request_info=keywords_data_task_request_info)
print("The response of KeywordsDataApi->google_ads_keywords_for_keywords_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_keywords_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_task_request_info | List[KeywordsDataTaskRequestInfo] | [optional] |
KeywordsDataGoogleAdsKeywordsForKeywordsLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForKeywordsTaskGetResponseInfo google_ads_keywords_for_keywords_task_get(id)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. This endpoint will select relevant keywords for the specified terms. Set up to 20 keywords and get the results, which are suggested by Google Ads for your query. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_keywords_task_get_response_info import KeywordsDataGoogleAdsKeywordsForKeywordsTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '84f159d3-2f8a-4131-a312-496902a5308a' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.google_ads_keywords_for_keywords_task_get(id)
print("The response of KeywordsDataApi->google_ads_keywords_for_keywords_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_keywords_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataGoogleAdsKeywordsForKeywordsTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostResponseInfo google_ads_keywords_for_keywords_task_post(keywords_data_google_ads_keywords_for_keywords_task_post_request_info=keywords_data_google_ads_keywords_for_keywords_task_post_request_info)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. This endpoint will provide relevant keywords for the specified terms. Set up to 20 keywords in the keywords array and get keyword suggestions from Google Ads. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_keywords_task_post_request_info import KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostRequestInfo
from dataforseo_client.models.keywords_data_google_ads_keywords_for_keywords_task_post_response_info import KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_ads_keywords_for_keywords_task_post_request_info = [dataforseo_client.KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostRequestInfo()] # List[KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_keywords_for_keywords_task_post(keywords_data_google_ads_keywords_for_keywords_task_post_request_info=keywords_data_google_ads_keywords_for_keywords_task_post_request_info)
print("The response of KeywordsDataApi->google_ads_keywords_for_keywords_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_keywords_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_ads_keywords_for_keywords_task_post_request_info | List[KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostRequestInfo] | [optional] |
KeywordsDataGoogleAdsKeywordsForKeywordsTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForKeywordsTasksReadyResponseInfo google_ads_keywords_for_keywords_tasks_ready()
This endpoint is designed to provide you with a list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_keywords_tasks_ready_response_info import KeywordsDataGoogleAdsKeywordsForKeywordsTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_ads_keywords_for_keywords_tasks_ready()
print("The response of KeywordsDataApi->google_ads_keywords_for_keywords_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_keywords_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsKeywordsForKeywordsTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForSiteLiveResponseInfo google_ads_keywords_for_site_live(keywords_data_google_ads_keywords_for_site_live_request_info=keywords_data_google_ads_keywords_for_site_live_request_info)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. This endpoint will provide you with a list of keywords relevant to the specified domain along with their bids, search volumes for the last month, search volume trends for the last year (for estimating search volume dynamics), and competition levels. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_site/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_live_request_info import KeywordsDataGoogleAdsKeywordsForSiteLiveRequestInfo
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_live_response_info import KeywordsDataGoogleAdsKeywordsForSiteLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_ads_keywords_for_site_live_request_info = [dataforseo_client.KeywordsDataGoogleAdsKeywordsForSiteLiveRequestInfo()] # List[KeywordsDataGoogleAdsKeywordsForSiteLiveRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_keywords_for_site_live(keywords_data_google_ads_keywords_for_site_live_request_info=keywords_data_google_ads_keywords_for_site_live_request_info)
print("The response of KeywordsDataApi->google_ads_keywords_for_site_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_site_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_ads_keywords_for_site_live_request_info | List[KeywordsDataGoogleAdsKeywordsForSiteLiveRequestInfo] | [optional] |
KeywordsDataGoogleAdsKeywordsForSiteLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForSiteTaskGetResponseInfo google_ads_keywords_for_site_task_get(id)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. This endpoint will provide you with a list of keywords relevant to the specified domain along with their bids, search volumes for the last month, search volume trends for the last year (for estimating search volume dynamics), and competition levels. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_site/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_task_get_response_info import KeywordsDataGoogleAdsKeywordsForSiteTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = 'c8c63b11-216f-4a7d-9f83-d3ae4d4f9511' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.google_ads_keywords_for_site_task_get(id)
print("The response of KeywordsDataApi->google_ads_keywords_for_site_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_site_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataGoogleAdsKeywordsForSiteTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForSiteTaskPostResponseInfo google_ads_keywords_for_site_task_post(keywords_data_google_ads_keywords_for_site_task_post_request_info=keywords_data_google_ads_keywords_for_site_task_post_request_info)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_site/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_task_post_request_info import KeywordsDataGoogleAdsKeywordsForSiteTaskPostRequestInfo
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_task_post_response_info import KeywordsDataGoogleAdsKeywordsForSiteTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_ads_keywords_for_site_task_post_request_info = [dataforseo_client.KeywordsDataGoogleAdsKeywordsForSiteTaskPostRequestInfo()] # List[KeywordsDataGoogleAdsKeywordsForSiteTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_keywords_for_site_task_post(keywords_data_google_ads_keywords_for_site_task_post_request_info=keywords_data_google_ads_keywords_for_site_task_post_request_info)
print("The response of KeywordsDataApi->google_ads_keywords_for_site_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_site_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_ads_keywords_for_site_task_post_request_info | List[KeywordsDataGoogleAdsKeywordsForSiteTaskPostRequestInfo] | [optional] |
KeywordsDataGoogleAdsKeywordsForSiteTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsKeywordsForSiteTasksReadyResponseInfo google_ads_keywords_for_site_tasks_ready()
This endpoint is designed to provide you with a list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_site/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_keywords_for_site_tasks_ready_response_info import KeywordsDataGoogleAdsKeywordsForSiteTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_ads_keywords_for_site_tasks_ready()
print("The response of KeywordsDataApi->google_ads_keywords_for_site_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_keywords_for_site_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsKeywordsForSiteTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo google_ads_search_volume_live(keywords_data_task_request_info=keywords_data_task_request_info)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/search_volume/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_search_volume_live_response_info import KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo
from dataforseo_client.models.keywords_data_task_request_info import KeywordsDataTaskRequestInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_task_request_info = [dataforseo_client.KeywordsDataTaskRequestInfo()] # List[KeywordsDataTaskRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_search_volume_live(keywords_data_task_request_info=keywords_data_task_request_info)
print("The response of KeywordsDataApi->google_ads_search_volume_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_search_volume_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_task_request_info | List[KeywordsDataTaskRequestInfo] | [optional] |
KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo google_ads_search_volume_task_get(id)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/search_volume/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_search_volume_task_get_response_info import KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = '251c47ba-60e7-4487-b9cb-31696341ae66' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.google_ads_search_volume_task_get(id)
print("The response of KeywordsDataApi->google_ads_search_volume_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_search_volume_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsSearchVolumeTaskPostResponseInfo google_ads_search_volume_task_post(keywords_data_task_request_info=keywords_data_task_request_info)
Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/search_volume/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_search_volume_task_post_response_info import KeywordsDataGoogleAdsSearchVolumeTaskPostResponseInfo
from dataforseo_client.models.keywords_data_task_request_info import KeywordsDataTaskRequestInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_task_request_info = [dataforseo_client.KeywordsDataTaskRequestInfo()] # List[KeywordsDataTaskRequestInfo] | (optional)
try:
api_response = api_instance.google_ads_search_volume_task_post(keywords_data_task_request_info=keywords_data_task_request_info)
print("The response of KeywordsDataApi->google_ads_search_volume_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_search_volume_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_task_request_info | List[KeywordsDataTaskRequestInfo] | [optional] |
KeywordsDataGoogleAdsSearchVolumeTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsSearchVolumeTasksReadyResponseInfo google_ads_search_volume_tasks_ready()
This endpoint is designed to provide you with a list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/search_volume/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_search_volume_tasks_ready_response_info import KeywordsDataGoogleAdsSearchVolumeTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_ads_search_volume_tasks_ready()
print("The response of KeywordsDataApi->google_ads_search_volume_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_search_volume_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsSearchVolumeTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsStatusResponseInfo google_ads_status()
By calling this endpoint, you will know if Google updated keyword data for the previous month. Generally, Google updates keyword data in the middle of the month. So, if Google updated its data in October, you would be able to see the actual search volume, cost-per-click, competition, and other metrics for September. If Google didn’t update its data in October, the latest information would be available for August. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/status/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_status_response_info import KeywordsDataGoogleAdsStatusResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_ads_status()
print("The response of KeywordsDataApi->google_ads_status:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_ads_status: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsStatusResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsCategoriesResponseInfo google_trends_categories()
By calling this API you will receive the list of categories supported by Google Trends API. As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information about available categories. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/categories/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_categories_response_info import KeywordsDataGoogleTrendsCategoriesResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_trends_categories()
print("The response of KeywordsDataApi->google_trends_categories:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_trends_categories: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleTrendsCategoriesResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsExploreLiveResponseInfo google_trends_explore_live(keywords_data_google_trends_explore_live_request_info=keywords_data_google_trends_explore_live_request_info)
This endpoint will provide you with the keyword popularity data from the ‘Explore’ feature of Google Trends. You can check keyword trends for Google Search, Google News, Google Images, Google Shopping, and YouTube. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/explore/live/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_explore_live_request_info import KeywordsDataGoogleTrendsExploreLiveRequestInfo
from dataforseo_client.models.keywords_data_google_trends_explore_live_response_info import KeywordsDataGoogleTrendsExploreLiveResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_trends_explore_live_request_info = [dataforseo_client.KeywordsDataGoogleTrendsExploreLiveRequestInfo()] # List[KeywordsDataGoogleTrendsExploreLiveRequestInfo] | (optional)
try:
api_response = api_instance.google_trends_explore_live(keywords_data_google_trends_explore_live_request_info=keywords_data_google_trends_explore_live_request_info)
print("The response of KeywordsDataApi->google_trends_explore_live:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_trends_explore_live: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_trends_explore_live_request_info | List[KeywordsDataGoogleTrendsExploreLiveRequestInfo] | [optional] |
KeywordsDataGoogleTrendsExploreLiveResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsExploreTaskGetResponseInfo google_trends_explore_task_get(id)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/explore/task_get/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_explore_task_get_response_info import KeywordsDataGoogleTrendsExploreTaskGetResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
id = 'cd7d0384-73cf-4e05-8f34-4c42cac0959e' # str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time
try:
api_response = api_instance.google_trends_explore_task_get(id)
print("The response of KeywordsDataApi->google_trends_explore_task_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_trends_explore_task_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
KeywordsDataGoogleTrendsExploreTaskGetResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsExploreTaskPostResponseInfo google_trends_explore_task_post(keywords_data_google_trends_explore_task_post_request_info=keywords_data_google_trends_explore_task_post_request_info)
This endpoint will provide you with the keyword popularity data from the ‘Explore’ feature of Google Trends. You can check keyword trends for Google Search, Google News, Google Images, Google Shopping, and YouTube. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/explore/task_post/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_explore_task_post_request_info import KeywordsDataGoogleTrendsExploreTaskPostRequestInfo
from dataforseo_client.models.keywords_data_google_trends_explore_task_post_response_info import KeywordsDataGoogleTrendsExploreTaskPostResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_google_trends_explore_task_post_request_info = [dataforseo_client.KeywordsDataGoogleTrendsExploreTaskPostRequestInfo()] # List[KeywordsDataGoogleTrendsExploreTaskPostRequestInfo] | (optional)
try:
api_response = api_instance.google_trends_explore_task_post(keywords_data_google_trends_explore_task_post_request_info=keywords_data_google_trends_explore_task_post_request_info)
print("The response of KeywordsDataApi->google_trends_explore_task_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_trends_explore_task_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_google_trends_explore_task_post_request_info | List[KeywordsDataGoogleTrendsExploreTaskPostRequestInfo] | [optional] |
KeywordsDataGoogleTrendsExploreTaskPostResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsExploreTasksReadyResponseInfo google_trends_explore_tasks_ready()
This endpoint is designed to provide you with a list of completed tasks, which haven’t been collected yet. If you use the Standard method without specifying the postback_url, you can receive the list of id for all completed tasks using this endpoint. Then, you can collect the results using the ‘Task GET’ endpoint. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/explore/tasks_ready/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_explore_tasks_ready_response_info import KeywordsDataGoogleTrendsExploreTasksReadyResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.google_trends_explore_tasks_ready()
print("The response of KeywordsDataApi->google_trends_explore_tasks_ready:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->google_trends_explore_tasks_ready: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleTrendsExploreTasksReadyResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingKeywordPerformanceLocationsAndLanguagesResponseInfo keywords_data_bing_keyword_performance_locations_and_languages()
Using this endpoint you can get the full list of locations and languages supported in Keyword Performance endpoints of Bing Keywords Data API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/keyword_performance/locations_and_languages/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_keyword_performance_locations_and_languages_response_info import KeywordsDataBingKeywordPerformanceLocationsAndLanguagesResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_bing_keyword_performance_locations_and_languages()
print("The response of KeywordsDataApi->keywords_data_bing_keyword_performance_locations_and_languages:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_bing_keyword_performance_locations_and_languages: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingKeywordPerformanceLocationsAndLanguagesResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingLanguagesResponseInfo keywords_data_bing_languages()
By calling this API you will receive the list of languages supported by Bing Ads API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/languages/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_languages_response_info import KeywordsDataBingLanguagesResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_bing_languages()
print("The response of KeywordsDataApi->keywords_data_bing_languages:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_bing_languages: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingLanguagesResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataBingLocationsResponseInfo keywords_data_bing_locations()
By calling this API you will receive the list of locations supported in Bing Ads API. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/bing/locations/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_bing_locations_response_info import KeywordsDataBingLocationsResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_bing_locations()
print("The response of KeywordsDataApi->keywords_data_bing_locations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_bing_locations: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataBingLocationsResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataErrorsResponseInfo keywords_data_errors(keywords_data_errors_request_info=keywords_data_errors_request_info)
By calling this endpoint you will receive information about the Keywords Data API tasks that returned an error within the past 24 hours. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/errors/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_errors_request_info import KeywordsDataErrorsRequestInfo
from dataforseo_client.models.keywords_data_errors_response_info import KeywordsDataErrorsResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_errors_request_info = [dataforseo_client.KeywordsDataErrorsRequestInfo()] # List[KeywordsDataErrorsRequestInfo] | (optional)
try:
api_response = api_instance.keywords_data_errors(keywords_data_errors_request_info=keywords_data_errors_request_info)
print("The response of KeywordsDataApi->keywords_data_errors:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_errors: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_errors_request_info | List[KeywordsDataErrorsRequestInfo] | [optional] |
KeywordsDataErrorsResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsLanguagesResponseInfo keywords_data_google_ads_languages()
By calling this API you will receive the list of languages supported by Keywords Data API. As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information about available languages. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/languages/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_languages_response_info import KeywordsDataGoogleAdsLanguagesResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_google_ads_languages()
print("The response of KeywordsDataApi->keywords_data_google_ads_languages:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_google_ads_languages: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsLanguagesResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleAdsLocationsResponseInfo keywords_data_google_ads_locations()
We use Google Geographical Targeting. You can refer to Google Ads Target Types page to review the full list of possible location types. With Keywords Data API, you can select any location type supported by Google, except for “Okrug”. Postal Codes can be used to set a task, albeit API response will not return data for such tasks. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_ads/locations/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_ads_locations_response_info import KeywordsDataGoogleAdsLocationsResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_google_ads_locations()
print("The response of KeywordsDataApi->keywords_data_google_ads_locations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_google_ads_locations: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleAdsLocationsResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsLanguagesResponseInfo keywords_data_google_trends_languages()
By calling this API you will receive the list of languages supported by Google Trends API. As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information about available languages. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/languages/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_languages_response_info import KeywordsDataGoogleTrendsLanguagesResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_google_trends_languages()
print("The response of KeywordsDataApi->keywords_data_google_trends_languages:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_google_trends_languages: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleTrendsLanguagesResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsLocationsResponseInfo keywords_data_google_trends_locations()
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/locations/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_locations_response_info import KeywordsDataGoogleTrendsLocationsResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
try:
api_response = api_instance.keywords_data_google_trends_locations()
print("The response of KeywordsDataApi->keywords_data_google_trends_locations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_google_trends_locations: %s\n" % e)This endpoint does not need any parameter.
KeywordsDataGoogleTrendsLocationsResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataGoogleTrendsLocationsCountryResponseInfo keywords_data_google_trends_locations_country(country)
for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/google_trends/locations/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_google_trends_locations_country_response_info import KeywordsDataGoogleTrendsLocationsCountryResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
country = 'us' # str | country ISO code optional field specify the ISO code if you want to filter the list of locations by country example: us
try:
api_response = api_instance.keywords_data_google_trends_locations_country(country)
print("The response of KeywordsDataApi->keywords_data_google_trends_locations_country:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_google_trends_locations_country: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| country | str | country ISO code optional field specify the ISO code if you want to filter the list of locations by country example: us |
KeywordsDataGoogleTrendsLocationsCountryResponseInfo
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
KeywordsDataIdListResponseInfo keywords_data_id_list(keywords_data_id_list_request_info=keywords_data_id_list_request_info)
This endpoint is designed to provide you with the list of IDs and metadata of the completed Keywords Data tasks during the specified period. You will get all task IDs that were made including successful, uncompleted, and tasks that responded as errors. for more info please visit 'https://docs.dataforseo.com/v3/keywords_data/id_list/?bash'
- Basic Authentication (basicAuth):
import dataforseo_client
from dataforseo_client.models.keywords_data_id_list_request_info import KeywordsDataIdListRequestInfo
from dataforseo_client.models.keywords_data_id_list_response_info import KeywordsDataIdListResponseInfo
from dataforseo_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dataforseo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = dataforseo_client.Configuration(
host = "https://api.dataforseo.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = dataforseo_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with dataforseo_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dataforseo_client.KeywordsDataApi(api_client)
keywords_data_id_list_request_info = [dataforseo_client.KeywordsDataIdListRequestInfo()] # List[KeywordsDataIdListRequestInfo] | (optional)
try:
api_response = api_instance.keywords_data_id_list(keywords_data_id_list_request_info=keywords_data_id_list_request_info)
print("The response of KeywordsDataApi->keywords_data_id_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling KeywordsDataApi->keywords_data_id_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| keywords_data_id_list_request_info | List[KeywordsDataIdListRequestInfo] | [optional] |
KeywordsDataIdListResponseInfo
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |