Hi,
In your Python code example for "
Create Customer" (and others). the versioning seems highly redundant to me:
def main(client, manager_customer_id):
customer_service = client.get_service("CustomerService", version="v5")
customer = client.get_type("Customer", version="v5")
I was wondering, if there is a way to set the version on a higher level, e.g. on the "google_ads_client" level when creating the object as in here:
google_ads_client = (
google.ads.google_ads.client.GoogleAdsClient.load_from_storage()
)
..or while importing the library:
import google.ads.google_ads.client
... or somwhere in the google-ads.yaml
I've seen some skripts where dozens of lines of code contain this ", version="vX" - part. I guess there is a smarter way - right?
Regards
Mat