Skip to content

Update the Search Ads 360 hook to Call the New Reporting API #39942

@Taishan314

Description

@Taishan314

Description

The current Search Ads 360 API is being deprecated and replaced with the Search Ads Reporting API, details of which are found here.

I currently use the GoogleSearchAds operators which all call the GoogleSearchAdsHook, which in turn, establishes a connection to an api as seen here.

I believe this is calling the api soon to be deprecated. The deprecation date supplied by google is the 30th June 2024.

Use case/motivation

I'd like to see an update to this method to call the new api, perhaps make the old one optional for deprecation purposes.

The old api service name is: doubleclicksearch.googleapis.com
The new api service name is: searchads360.googleapis.com

I believe the change should be adding the string "searchads360" to the build() method inside the get_conn() method call.

Making that parameter configurable with the default as "doubleclicksearch" would be the ideal change for deprecation of the old api.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions