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: refactor-ruby-responsive-ad-script
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 10, 2025

  1. Add Ruby example for creating a full Responsive Search Ad campaign.

    This script, examples/ruby/advanced_operations/add_responsive_search_ad_full.rb,
    is the Ruby equivalent of the Python example
    examples/advanced_operations/add_responsive_search_ad_full.py.
    
    It demonstrates how to create a comprehensive Responsive Search Ad setup,
    including:
    - Optional ad customizer attributes and customer-level linking.
    - Campaign budget creation.
    - Campaign creation with paused status, search channel, target spend bidding
      strategy, and network settings.
    - Ad group creation.
    - Responsive Search Ad creation with pinned headlines, multiple descriptions
      (one potentially using ad customizers), and URL paths.
    - Addition of keywords with exact, phrase, and broad match types.
    - Geo-targeting for the campaign based on location names.
    
    The script uses the `google-ads-googleads` gem, parses command-line
    arguments for your customer ID and an optional customizer attribute name,
    and includes error handling.
    google-labs-jules[bot] committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    bdd0381 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2025

  1. Refactor add_responsive_search_ad_full.rb to remove dependencies

    This commit refactors the `add_responsive_search_ad_full.rb` script to remove the `optimist` and `securerandom` dependencies.
    
    - The `optimist` gem is replaced with Ruby's built-in `OptionParser` for command-line argument parsing.
    - The `securerandom` gem is replaced with the `uuid` gem for generating UUIDs.
    - All functionality related to ad customizers has been removed from the script to simplify its purpose.
    - The `Gemfile` has been updated to reflect these dependency changes.
    google-labs-jules[bot] committed Sep 29, 2025
    Configuration menu
    Copy the full SHA
    884b962 View commit details
    Browse the repository at this point in the history
Loading