New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google AdWords API sunset 27th April 2022 #124
Comments
Hello Jeremy, |
Thank you for the swift reply Johannes - and of course I understand the situation you are in - happy to pull information from the API myself going forward should I need, but would love to hear about the development of the new package as it continues! |
Hello, i build new package You can see documentation in https://selesnow.github.io/rgoogleads/docs/ Migration table: The correspondence between report types and fields can be found in the official documentation. Example of similar code by RAdwordslibrary(RAdwords)
# auth
adwords_auth <- doAuth()
# compose query
query <- statement(
select = c('CampaignName',
'Date',
'Clicks'),
report = 'CAMPAIGN_PERFORMANCE_REPORT',
start = '2021-06-01',
end = '2021-06-30'
)
# loading data
data1 <- getData(
clientCustomerId = 'xxx-xxx-xxxx',
statement = query,
google_auth = adwords_auth
) rgoogleadslibrary(rgoogleads)
# auth
gads_auth_configure(path = 'D:/ga_auth/app.json')
gads_auth(email = 'me@gmail.com')
# loading data
data2 <- gads_get_report(
resource = 'campaign',
fields = c('campaign.name',
'segments.date',
'metrics.clicks'),
date_from = '2021-06-01',
date_to = '2021-06-30',
customer_id = 'xxx-xxx-xxxx'
) |
👏 Hey hey 👏We released our new package {r4googleads}
{r4googleads} is the official successor of the {RAdwords} package. |
@Datacove1 ☝️ |
Thank you, this looks perfect! Will get all my client's scripts amended! |
Good Luck with the migration, let us know how it went. |
Hello,
I've received an email from Google (imagine quite a few people have) advising to update to the Google Ads API by 27th April 2022 (so we have time) as the AdWords API will stop working on this date. Will the package source code be updated to reflect this - or do we need to make any changes ourselves to ensure that calls after this date will not fail?
Many thanks,
Jeremy
The text was updated successfully, but these errors were encountered: