diff --git a/.gemini/settings.json b/.gemini/settings.json index 2e85946..ffd2ce2 100644 --- a/.gemini/settings.json +++ b/.gemini/settings.json @@ -1,18 +1,19 @@ { "ui": { "accessibility": { - "disableLoadingPhrases": true + "disableLoadingPhrases": true, + "enableLoadingPhrases": false } }, "context": { "includeDirectories": [ - "/path/to/your/extension/google-ads-api-developer-assistant/api_examples", - "/path/to/your/extension/google-ads-api-developer-assistant/saved_code", - "/path/to/your/library/google-ads-python", - "/path/to/your/library/google-ads-php", - "/path/to/your/library/google-ads-ruby", - "/path/to/your/library/google-ads-java", - "/path/to/your/library/google-ads-dotnet" + "/path/to/your/extension/google-ads-api-developer-assistant/api_examples", + "/path/to/your/extension/google-ads-api-developer-assistant/saved_code", + "/path/to/your/library/google-ads-python", + "/path/to/your/library/google-ads-php", + "/path/to/your/library/google-ads-ruby", + "/path/to/your/library/google-ads-java", + "/path/to/your/library/google-ads-dotnet" ] } } diff --git a/ChangeLog b/ChangeLog index 4442bcb..fbba5ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* 1.5.1 +- Added support for v23. + * 1.5.0 - Added rigorous GAQL validation rules to GEMINI.md diff --git a/api_examples/ai_max_reports.py b/api_examples/ai_max_reports.py index 493b277..45d52a4 100644 --- a/api_examples/ai_max_reports.py +++ b/api_examples/ai_max_reports.py @@ -220,6 +220,6 @@ def main(client: "GoogleAdsClient", customer_id: str, report_type: str) -> None: # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") main(googleads_client, args.customer_id, args.report_type) diff --git a/api_examples/capture_gclids.py b/api_examples/capture_gclids.py index 5fca866..9b3f645 100644 --- a/api_examples/capture_gclids.py +++ b/api_examples/capture_gclids.py @@ -63,7 +63,7 @@ def main(client: GoogleAdsClient, customer_id: str, gclid: str) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Uploads a click conversion for a given GCLID." diff --git a/api_examples/conversion_reports.py b/api_examples/conversion_reports.py index d2ebdb2..afed56f 100644 --- a/api_examples/conversion_reports.py +++ b/api_examples/conversion_reports.py @@ -499,7 +499,7 @@ def main( args = parser.parse_args() - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") main( googleads_client, diff --git a/api_examples/create_campaign_experiment.py b/api_examples/create_campaign_experiment.py index bd28742..d9dde1a 100644 --- a/api_examples/create_campaign_experiment.py +++ b/api_examples/create_campaign_experiment.py @@ -204,7 +204,7 @@ def modify_treatment_campaign(client, customer_id, draft_campaign_resource_name) if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Create a campaign experiment based on a campaign draft." diff --git a/api_examples/disapproved_ads_reports.py b/api_examples/disapproved_ads_reports.py index 1627082..26911b8 100644 --- a/api_examples/disapproved_ads_reports.py +++ b/api_examples/disapproved_ads_reports.py @@ -288,7 +288,7 @@ def main( ) args = parser.parse_args() - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") main( googleads_client, diff --git a/api_examples/get_campaign_bid_simulations.py b/api_examples/get_campaign_bid_simulations.py index cabee37..1c945d3 100644 --- a/api_examples/get_campaign_bid_simulations.py +++ b/api_examples/get_campaign_bid_simulations.py @@ -89,7 +89,7 @@ def main(client: "GoogleAdsClient", customer_id: str, campaign_id: str) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Retrieves campaign bid simulations for a given campaign ID." diff --git a/api_examples/get_campaign_shared_sets.py b/api_examples/get_campaign_shared_sets.py index 113d995..54d669e 100644 --- a/api_examples/get_campaign_shared_sets.py +++ b/api_examples/get_campaign_shared_sets.py @@ -78,7 +78,7 @@ def main(client: GoogleAdsClient, customer_id: str) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = GoogleAdsClient.load_from_storage(version="v22") + google_ads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Lists campaign shared sets for a given customer ID." diff --git a/api_examples/get_change_history.py b/api_examples/get_change_history.py index e4f0579..82ab741 100644 --- a/api_examples/get_change_history.py +++ b/api_examples/get_change_history.py @@ -103,7 +103,7 @@ def main( if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser(description="Retrieves Google Ads change history.") # The following argument(s) are required to run the example. diff --git a/api_examples/get_conversion_upload_summary.py b/api_examples/get_conversion_upload_summary.py index 511f398..98c4398 100644 --- a/api_examples/get_conversion_upload_summary.py +++ b/api_examples/get_conversion_upload_summary.py @@ -160,7 +160,7 @@ def main(client: GoogleAdsClient, customer_id: str) -> None: # The version parameter is a string that specifies the API version to be used. # For example, "v22". # This value has been user-confirmed and saved to the agent's memory. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") try: main(googleads_client, args.customer_id) diff --git a/api_examples/get_geo_targets.py b/api_examples/get_geo_targets.py index e6aec9e..aae6969 100644 --- a/api_examples/get_geo_targets.py +++ b/api_examples/get_geo_targets.py @@ -110,7 +110,7 @@ def main(client: "GoogleAdsClient", customer_id: str) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = GoogleAdsClient.load_from_storage(version="v22") + google_ads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Lists geo targets for all campaigns for a given customer ID." diff --git a/api_examples/list_accessible_users.py b/api_examples/list_accessible_users.py index fab3eb8..65ecc2b 100644 --- a/api_examples/list_accessible_users.py +++ b/api_examples/list_accessible_users.py @@ -54,6 +54,6 @@ def main(client: GoogleAdsClient) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") main(googleads_client) diff --git a/api_examples/list_pmax_campaigns.py b/api_examples/list_pmax_campaigns.py index 7d70a0d..01e64d6 100644 --- a/api_examples/list_pmax_campaigns.py +++ b/api_examples/list_pmax_campaigns.py @@ -68,7 +68,7 @@ def main(client: "GoogleAdsClient", customer_id: str) -> None: if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser(description="Lists Performance Max campaigns.") # The following argument(s) are required to run the example. diff --git a/api_examples/parallel_report_downloader_optimized.py b/api_examples/parallel_report_downloader_optimized.py index f0035b4..a69cfdf 100644 --- a/api_examples/parallel_report_downloader_optimized.py +++ b/api_examples/parallel_report_downloader_optimized.py @@ -87,7 +87,7 @@ def main(customer_ids: List[str], login_customer_id: Optional[str]) -> None: customer_ids: A list of customer IDs to run reports for. login_customer_id: The login customer ID to use (optional). """ - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") if login_customer_id: googleads_client.login_customer_id = login_customer_id diff --git a/api_examples/remove_automatically_created_assets.py b/api_examples/remove_automatically_created_assets.py index 260bdbf..451a2d6 100644 --- a/api_examples/remove_automatically_created_assets.py +++ b/api_examples/remove_automatically_created_assets.py @@ -126,7 +126,7 @@ def main( args = parser.parse_args() # GoogleAdsClient will read the google-ads.yaml file from the home directory. - googleads_client = GoogleAdsClient.load_from_storage(version="v22") + googleads_client = GoogleAdsClient.load_from_storage(version="v23") main( googleads_client, diff --git a/api_examples/target_campaign_with_user_list.py b/api_examples/target_campaign_with_user_list.py index 552dfb8..f7caf29 100644 --- a/api_examples/target_campaign_with_user_list.py +++ b/api_examples/target_campaign_with_user_list.py @@ -80,7 +80,7 @@ def main( if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = GoogleAdsClient.load_from_storage(version="v22") + google_ads_client = GoogleAdsClient.load_from_storage(version="v23") parser = argparse.ArgumentParser( description="Adds a campaign criterion to target a user list to a campaign."