tmarois / laravel-ads-sdk

PHP SDK for Google Ads, Bing Ads, and Facebook Ads API for Laravel
MIT License
110 stars 42 forks source link

V12 is now available? #7

Closed vadym-yak closed 4 years ago

vadym-yak commented 4 years ago

when I run the function eg: getCampaignReport for bing, I get the error like

Invalid client data. Check the SOAP fault details for more information

 

I tracked the error, but I found the error message is This version of the Bing Ads API is no longer supported. Please migrate to the latest version of the API.

this library need to updated to usd V13 for Bing?

timothymarois commented 4 years ago

hey @edwinjerez, which version of the SDK are you using? Bing should work with V13 as of the SDK version 1.2.13. I will also look into getCampaignReport to be sure it's using V13.

timothymarois commented 4 years ago

@edwinjerez I ran a test on getCampaignReport and getAdGroupReport and both worked since the V13 change. Check that you're using the latest update of the Laravel Ads SDK. If you still see some issues, send more details of what you're trying to run and I can help you troubleshoot.

vadym-yak commented 4 years ago

hey @edwinjerez, which version of the SDK are you using? Bing should work with V13 as of the SDK version 1.2.13. I will also look into getCampaignReport to be sure it's using V13.

what sdk version you mean? tmarois/laravel-ads-sdk@1.2.13 you mean?

timothymarois commented 4 years ago

@edwinjerez That's correct.

vadym-yak commented 4 years ago

Actually the problem is that I'm using edujugon/laravel-google-ads, for managing the google ads api, and the googleads/googleads-php-lib is duplicate in both library. for this reason, when I install your library, there are some issues like tmarois/laravel-ads-sdk v1.2.14 requires googleads/googleads-php-lib ^40.0 -> satisfiable by googleads/googleads-php-lib[40.0.0]. the edujugon library uses 37.0 version for googleads-php-lib

I`m trying myself, but if you have opinion, please let me know.

vadym-yak commented 4 years ago

I solved the version issue. but it still get errors like Invalid client data. Check the SOAP fault details for more information

image

public function getCampaigns() { $bingAds = LaravelAds::bingAds()->with('2688821'); // dd($bingAds); $campaigns = $bingAds->reports('2020-01-15', '2020-02-15') ->getCampaignReport(); dd($campaigns); }

vadym-yak commented 4 years ago

HI @timothymarois Please help me with this issue. I think there is little issue on authorization. I tried https://github.com/BingAds/BingAds-PHP-SDK/ with my credentials, and it`s working. If I send my credentials can you check if it working in your library? Thank you.

timothymarois commented 4 years ago

Hey. Join the slack and I can help troubleshoot your case. https://join.slack.com/t/basephp/shared_invite/enQtNDI0MzQyMDE0MDAwLWU3Nzg0Yjk4MjM0OWVmZDZjMjEyYWE2YjA1ODFhNjI2MzI3MjAyOTIyOTRkMmVlNWNhZWYzMTIwZDJlOWQ2ZTA

On Thu, Feb 20, 2020 at 3:17 PM edwinjerez notifications@github.com wrote:

HI @timothymarois https://github.com/timothymarois Please help me with this issue. I think there is little issue on authorization. I tried https://github.com/BingAds/BingAds-PHP-SDK/ with my credentials, and it`s working. If I send my credentials can you check if it working in your library? Thank you.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/tmarois/laravel-ads-sdk/issues/7?email_source=notifications&email_token=AAS7X5KOHNUSDOFU6ZZR6M3RD3QMLA5CNFSM4KX7F4I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMP5FOY#issuecomment-589288123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7X5N6G2DKYWVRG6G3UALRD3QMLANCNFSM4KX7F4IQ .

vadym-yak commented 4 years ago

Hi @timothymarois . I really want your help. Can you send me the invitation link again?

timothymarois commented 4 years ago

Hey, @edwinjerez here is an updated slack invite link.

https://join.slack.com/t/basephp/shared_invite/enQtNDI0MzQyMDE0MDAwLThlNjNlYWM3YWMxMjdhOGFiOTY1ZDFkMzUxMmUzZjJjM2JmZjI0YTg4MDYyYzc3OTc5MGIzYTdkNjQwMTQyNWY

Also, sorry I received your email, I'm actually in Amsterdam for the week, but will try to respond when I'm online.