Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleads/google-ads-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: googleads/google-ads-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rewrite-update-campaign-in-ruby
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 10, 2025

  1. I've rewritten examples/basic_operations/update_campaign.py in Ruby…

    … for you.
    
    This commit introduces a Ruby version of the Python script
    `examples/basic_operations/update_campaign.py`.
    
    The new Ruby script, `examples/basic_operations/update_campaign.rb`,
    provides the same functionality:
    - Accepts customer_id and campaign_id as command-line arguments.
    - Initializes the Google Ads client.
    - Updates the specified campaign by:
      - Setting its status to PAUSED.
      - Disabling target_search_network.
    - Prints the resource name of the updated campaign.
    - Includes error handling for API exceptions.
    
    A Gemfile has also been added to the repository root to manage the
    `google-ads-googleads` gem dependency.
    google-labs-jules[bot] committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    05fb2e5 View commit details
    Browse the repository at this point in the history
Loading