Skip to content
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

Needs to migrate to v13 of Bing Ads API #3

Open
sshemtov opened this issue Mar 6, 2020 · 4 comments
Open

Needs to migrate to v13 of Bing Ads API #3

sshemtov opened this issue Mar 6, 2020 · 4 comments

Comments

@sshemtov
Copy link

sshemtov commented Mar 6, 2020

Hello,

The package no longer seems to work since the sunset of v12. It's now version v13
https://docs.microsoft.com/en-us/advertising/guides/migration-guide?view=bingads-13

Can you please update?

Thanks

@sshemtov
Copy link
Author

sshemtov commented Mar 6, 2020

I changed the endpoint to https://bingads.microsoft.com/Reporting/v13 in the reporting-.header.xml and reporting.submitGenerateReportRequest.xml but still getting this error:

Error in if (is.null(reportId) | reportId == "") { :
argument is of length zero

@sshemtov
Copy link
Author

sshemtov commented Mar 6, 2020

^^^ error happens after executing the getReportId() function

@jburkhardt
Copy link

@sshemtov did you checkout https://github.com/jburkhardt/RBingAds

@sshemtov
Copy link
Author

@jburkhardt have not seen it yet but I do use your RAdwords package! When I originally began using bingAdsR I saw that you never got around to finishing a Bing package due to XML complexities.

I will check out your RBingAds when I get a chance but for now I was able to patch bingAdsR by copying the code for the getReportId and getDownloadUrl functions and replacing the /v12 with /v13 in the endpoint urls - then call my new functions instead. Also, had to change the endpoint urls in the 2 XML files in the package's /data/ folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants