Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .gemini/settings.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* 1.5.1
- Added support for v23.

* 1.5.0
- Added rigorous GAQL validation rules to GEMINI.md

Expand Down
2 changes: 1 addition & 1 deletion api_examples/ai_max_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion api_examples/capture_gclids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion api_examples/conversion_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion api_examples/create_campaign_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion api_examples/disapproved_ads_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion api_examples/get_campaign_bid_simulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion api_examples/get_campaign_shared_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion api_examples/get_change_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion api_examples/get_conversion_upload_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion api_examples/get_geo_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion api_examples/list_accessible_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion api_examples/list_pmax_campaigns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion api_examples/parallel_report_downloader_optimized.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api_examples/remove_automatically_created_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion api_examples/target_campaign_with_user_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down