search a ads
This commit is contained in:
@@ -31,6 +31,30 @@ GA_SCOPE = os.getenv(
|
||||
"GA_SCOPE", "https://www.googleapis.com/auth/analytics.readonly"
|
||||
)
|
||||
|
||||
# --- Google Search Console ----------------------------------------------------
|
||||
# Search Analytics, Sites and Sitemaps live under the Webmasters v3 API; the
|
||||
# newer URL Inspection lives under searchconsole.googleapis.com/v1.
|
||||
GSC_DATA_BASE_URL = os.getenv(
|
||||
"GSC_DATA_BASE_URL", "https://www.googleapis.com/webmasters/v3"
|
||||
)
|
||||
GSC_INSPECT_BASE_URL = os.getenv(
|
||||
"GSC_INSPECT_BASE_URL", "https://searchconsole.googleapis.com/v1"
|
||||
)
|
||||
GSC_SCOPE = os.getenv(
|
||||
"GSC_SCOPE", "https://www.googleapis.com/auth/webmasters.readonly"
|
||||
)
|
||||
|
||||
# --- Google Ads ---------------------------------------------------------------
|
||||
# Google Ads API versions are deprecated roughly yearly - keep the version in an
|
||||
# env var so it can be bumped without a code change.
|
||||
GOOGLE_ADS_BASE_URL = os.getenv(
|
||||
"GOOGLE_ADS_BASE_URL", "https://googleads.googleapis.com"
|
||||
)
|
||||
GOOGLE_ADS_API_VERSION = os.getenv("GOOGLE_ADS_API_VERSION", "v19")
|
||||
GOOGLE_ADS_SCOPE = os.getenv(
|
||||
"GOOGLE_ADS_SCOPE", "https://www.googleapis.com/auth/adwords"
|
||||
)
|
||||
|
||||
# --- Sklik (Seznam) -----------------------------------------------------------
|
||||
# Sklik "Drak" JSON API. The method name is appended to this base URL and the
|
||||
# HTTP body is a JSON array of positional arguments.
|
||||
|
||||
Reference in New Issue
Block a user