snippets_py
Integration
New integration from credential
google_ads = yepcode.integration.googleAds("credential-slug")
New integration from plain authentication data
from google.ads.googleads.client import GoogleAdsClient
credentials = {
"developer_token": "abcdef123456",
"refresh_token": "1//0abcdefghijklABCDEF",
"client_id": "123456-abcdef.apps.googleusercontent.com",
"client_secret": "aBcDeFgHiJkL"}
google_ads = GoogleAdsClient.load_from_dict(credentials)