googleads / google-ads-php

Google Ads API Client Library for PHP
https://developers.google.com/google-ads/api/docs/client-libs/php
Apache License 2.0
288 stars 260 forks source link

Update AddCampaigns.php #945

Closed Globerada closed 1 year ago

Globerada commented 1 year ago

Fixed error:

PHP Fatal error: Uncaught TypeError: Google\Ads\GoogleAds\V14\Services\Client\BaseClient\CampaignBudgetServiceBaseClient::mutateCampaignBudgets(): Argument #1 ($request) must be of type Google\Ads\GoogleAds\V14\Services\MutateCampaignBudgetsRequest, int given, called in /home/mejores/google-ads-php/examples/BasicOperations/AddCampaigns.php on line 192 and defined in /home/mejores/google-ads-php/src/Google/Ads/GoogleAds/V14/Services/Client/BaseClient/CampaignBudgetServiceBaseClient.php:252

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.