Skip to content

[Bug]: Google Ads template is failing due to v19 sunset #3343

Closed

Description

@irfanrafiq-justeat

Related Template(s)

google-ads-to-googlecloud

Template Version

google-ads-to-googlecloud-v2

What happened?

Hi,

We currently use the Google Ads Template

This has been failing since this morning with the following error:

Error message from worker: org.apache.beam.sdk.util.UserCodeException: java.io.IOException: com.google.ads.googleads.v19.errors.GoogleAdsException: errors { error_code { request_error: UNSUPPORTED_VERSION } message: "Version v19 is deprecated. Requests to this version will be blocked." }
Could someone please look at upgrading this to v23

Many thanks

Relevant log output

Activity

  1. changed the title [-][Bug]: Google Ads template no longer due to v19 sunset[/-] on Feb 17, 2026
  2. derrickaw commented on Feb 17, 2026

    @derrickaw
    Contributor

    Opened apache/beam#37620 to fix on Beam side.

  3. self-assigned this
    on Feb 17, 2026
  4. derrickaw commented on Feb 17, 2026

    @derrickaw
    Contributor
    1. Beam side is fixed and should be in the 2.72 release being cut tomorrow.
    2. Opened update googleads template to v23 #3344 to fix on template side, but will need to wait until the beam release is fully rolled out.
  5. itallstartedwithaidea commented on Mar 22, 2026

    @itallstartedwithaidea

    Same root cause as google/ads_oneshop#4 — Google Ads API v19 was sunset in February 2026. All v19 endpoint calls now fail.

    For the Dataflow template specifically, the fix involves:

    1. Bump the google-ads dependency in the template's pom.xml or requirements.txt to a version that supports v23
    2. Update the API version string wherever it's configured (typically a constant or config parameter)
    3. Verify field compatibility — for the google-ads-to-googlecloud template, the core reporting fields (campaign, ad_group, metrics.*) are stable between v19→v23

    The breaking changes between v19 and v23 are concentrated in SmartCampaign, AssetGroup, and some Recommendation resources. Standard reporting queries (campaign performance, keyword stats, search terms) have no field-level changes.

    Since this is a managed template, the fix needs to come from the template maintainers — but the version bump itself is straightforward. I track Google Ads API version changes across my tooling and can confirm v23 is production-stable:

    👉 itallstartedwithaidea/google-ads-mcp-server — running v23 in production

  6. itallstartedwithaidea commented on Mar 22, 2026

    @itallstartedwithaidea

    Same root cause as google/ads_oneshop#4 — Google Ads API v19 was sunset in February 2026. All v19 endpoint calls now fail.

    For the Dataflow template specifically, the fix involves:

    1. Bump the google-ads dependency in the template's pom.xml or requirements.txt to a version that supports v23
    2. Update the API version string wherever it's configured (typically a constant or config parameter)
    3. Verify field compatibility — for the google-ads-to-googlecloud template, the core reporting fields (campaign, ad_group, metrics.*) are stable between v19→v23

    The breaking changes between v19 and v23 are concentrated in SmartCampaign, AssetGroup, and some Recommendation resources. Standard reporting queries (campaign performance, keyword stats, search terms) have no field-level changes.

    Since this is a managed template, the fix needs to come from the template maintainers — but the version bump itself is straightforward. I track Google Ads API version changes across my tooling and can confirm v23 is production-stable:

    👉 itallstartedwithaidea/google-ads-mcp-server — running v23 in production

  7. derrickaw commented on Apr 6, 2026

    @derrickaw
    Contributor

    fixed via #3557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugneeds triagep2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions