We could get the right data results by Google Ads API, visiting
GetCampaigns.php. Now we would like to get the right data results by Web as
follows:
https://github.com/googleads/google-ads-php/blob/master/examples/BasicOperations/GetCampaigns.php
Run result error:
[image: 1.png]
[0] InvalidArgumentException in
/google-ads-php/vendor/ulrichsg/getopt-php/src/Option.php
line 242
Option mode must be one of GetOpt::NO_ARGUMENT, GetOpt::OPTIONAL_ARGUMENT,
GetOpt::REQUIRED_ARGUMENT and GetOpt::MULTIPLE_ARGUMENT
Invoking code as follows (The test error shows in the red box ):
[image: 2.png]
$options = (new ArgumentParser())->parseCommandArguments([
ArgumentNames::CUSTOMER_ID => self::CUSTOMER_ID
]);
This code has an internal assignment error. We did a lot of research and found
no one had ever had s similar problem like us.
We will be appreciated if we could get your kindly help.
Thanks in advance.
Best regards,
Leo
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1dbb21bf-cb49-4f4d-837e-82ae24cd2755%40googlegroups.com.