Re: Setup Billing - the error code is not in this version.

2021-11-12 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Viktor,

The underlying error is CUSTOMER_BILLING_ERROR_CANNOT_CREATE_IN_PAST. You need 
to make sure that start_time is in the future.

I've filed a request to publish this error code in the next API version.

Cheers
Anash
ref:_00D1U1174p._5004Q2PJYmo:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/Vf9hC0R2H8NW00VPdsTpOPQKq5GzfbLK7RPg%40sfdc.net.


Re: Setup Billing - the error code is not in this version.

2021-11-09 Thread Viktor Shchepkin
Hello!

Client library version: v12.0.0

Google Ads API version:  v8

PHP Version => 7.3.31-2+ubuntu20.04.1+deb.sury.org+1

System => Linux dadicc 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 
UTC 2021 x86_64
Build Date => Oct 22 2021 12:34:45
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/7.3/cli
Loaded Configuration File => /etc/php/7.3/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.3/cli/conf.d
Additional .ini files parsed => /etc/php/7.3/cli/conf.d/10-mysqlnd.ini,
/etc/php/7.3/cli/conf.d/10-opcache.ini,
/etc/php/7.3/cli/conf.d/10-pdo.ini,
/etc/php/7.3/cli/conf.d/15-psr.ini,
/etc/php/7.3/cli/conf.d/15-xml.ini,
/etc/php/7.3/cli/conf.d/20-amqp.ini,
/etc/php/7.3/cli/conf.d/20-apcu.ini,
/etc/php/7.3/cli/conf.d/20-ast.ini,
/etc/php/7.3/cli/conf.d/20-bcmath.ini,
/etc/php/7.3/cli/conf.d/20-bz2.ini,
/etc/php/7.3/cli/conf.d/20-calendar.ini,
/etc/php/7.3/cli/conf.d/20-ctype.ini,
/etc/php/7.3/cli/conf.d/20-curl.ini,
/etc/php/7.3/cli/conf.d/20-dba.ini,
/etc/php/7.3/cli/conf.d/20-dom.ini,
/etc/php/7.3/cli/conf.d/20-enchant.ini,
/etc/php/7.3/cli/conf.d/20-exif.ini,
/etc/php/7.3/cli/conf.d/20-fileinfo.ini,
/etc/php/7.3/cli/conf.d/20-ftp.ini,
/etc/php/7.3/cli/conf.d/20-gd.ini,
/etc/php/7.3/cli/conf.d/20-gearman.ini,
/etc/php/7.3/cli/conf.d/20-geoip.ini,
/etc/php/7.3/cli/conf.d/20-gettext.ini,
/etc/php/7.3/cli/conf.d/20-gmp.ini,
/etc/php/7.3/cli/conf.d/20-gnupg.ini,
/etc/php/7.3/cli/conf.d/20-iconv.ini,
/etc/php/7.3/cli/conf.d/20-igbinary.ini,
/etc/php/7.3/cli/conf.d/20-imagick.ini,
/etc/php/7.3/cli/conf.d/20-imap.ini,
/etc/php/7.3/cli/conf.d/20-interbase.ini,
/etc/php/7.3/cli/conf.d/20-intl.ini,
/etc/php/7.3/cli/conf.d/20-json.ini,
/etc/php/7.3/cli/conf.d/20-ldap.ini,
/etc/php/7.3/cli/conf.d/20-lua.ini,
/etc/php/7.3/cli/conf.d/20-lz4.ini,
/etc/php/7.3/cli/conf.d/20-mbstring.ini,
/etc/php/7.3/cli/conf.d/20-mcrypt.ini,
/etc/php/7.3/cli/conf.d/20-memcache.ini,
/etc/php/7.3/cli/conf.d/20-mongodb.ini,
/etc/php/7.3/cli/conf.d/20-msgpack.ini,
/etc/php/7.3/cli/conf.d/20-mysqli.ini,
/etc/php/7.3/cli/conf.d/20-oauth.ini,
/etc/php/7.3/cli/conf.d/20-odbc.ini,
/etc/php/7.3/cli/conf.d/20-pcov.ini,
/etc/php/7.3/cli/conf.d/20-pdo_dblib.ini,
/etc/php/7.3/cli/conf.d/20-pdo_firebird.ini,
/etc/php/7.3/cli/conf.d/20-pdo_mysql.ini,
/etc/php/7.3/cli/conf.d/20-pdo_odbc.ini,
/etc/php/7.3/cli/conf.d/20-pdo_pgsql.ini,
/etc/php/7.3/cli/conf.d/20-pdo_sqlite.ini,
/etc/php/7.3/cli/conf.d/20-pgsql.ini,
/etc/php/7.3/cli/conf.d/20-phalcon.ini,
/etc/php/7.3/cli/conf.d/20-phar.ini,
/etc/php/7.3/cli/conf.d/20-pinba.ini,
/etc/php/7.3/cli/conf.d/20-posix.ini,
/etc/php/7.3/cli/conf.d/20-propro.ini,
/etc/php/7.3/cli/conf.d/20-ps.ini,
/etc/php/7.3/cli/conf.d/20-pspell.ini,
/etc/php/7.3/cli/conf.d/20-radius.ini,
/etc/php/7.3/cli/conf.d/20-raphf.ini,
/etc/php/7.3/cli/conf.d/20-readline.ini,
/etc/php/7.3/cli/conf.d/20-recode.ini,
/etc/php/7.3/cli/conf.d/20-redis.ini,
/etc/php/7.3/cli/conf.d/20-rrd.ini,
/etc/php/7.3/cli/conf.d/20-shmop.ini,
/etc/php/7.3/cli/conf.d/20-simplexml.ini,
/etc/php/7.3/cli/conf.d/20-smbclient.ini,
/etc/php/7.3/cli/conf.d/20-soap.ini,
/etc/php/7.3/cli/conf.d/20-sockets.ini,
/etc/php/7.3/cli/conf.d/20-solr.ini,
/etc/php/7.3/cli/conf.d/20-sqlite3.ini,
/etc/php/7.3/cli/conf.d/20-ssh2.ini,
/etc/php/7.3/cli/conf.d/20-stomp.ini,
/etc/php/7.3/cli/conf.d/20-sysvmsg.ini,
/etc/php/7.3/cli/conf.d/20-sysvsem.ini,
/etc/php/7.3/cli/conf.d/20-sysvshm.ini,
/etc/php/7.3/cli/conf.d/20-tideways.ini,
/etc/php/7.3/cli/conf.d/20-tidy.ini,
/etc/php/7.3/cli/conf.d/20-tokenizer.ini,
/etc/php/7.3/cli/conf.d/20-uopz.ini,
/etc/php/7.3/cli/conf.d/20-uploadprogress.ini,
/etc/php/7.3/cli/conf.d/20-uuid.ini,
/etc/php/7.3/cli/conf.d/20-wddx.ini,
/etc/php/7.3/cli/conf.d/20-xdebug.ini,
/etc/php/7.3/cli/conf.d/20-xhprof.ini,
/etc/php/7.3/cli/conf.d/20-xmlreader.ini,
/etc/php/7.3/cli/conf.d/20-xmlrpc.ini,
/etc/php/7.3/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.3/cli/conf.d/20-xsl.ini,
/etc/php/7.3/cli/conf.d/20-yaml.ini,
/etc/php/7.3/cli/conf.d/20-zip.ini,
/etc/php/7.3/cli/conf.d/20-zmq.ini,
/etc/php/7.3/cli/conf.d/25-apcu_bc.ini,
/etc/php/7.3/cli/conf.d/25-http.ini,
/etc/php/7.3/cli/conf.d/25-mailparse.ini,
/etc/php/7.3/cli/conf.d/25-memcached.ini,
/etc/php/7.3/cli/conf.d/25-swoole.ini,
/etc/php/7.3/cli/conf.d/30-decimal.ini,
/etc/php/7.3/cli/conf.d/30-ds.ini,
/etc/php/7.3/cli/conf.d/30-grpc.ini,
/etc/php/7.3/cli/conf.d/30-inotify.ini,
/etc/php/7.3/cli/conf.d/30-maxminddb.ini,
/etc/php/7.3/cli/conf.d/30-protobuf.ini,
/etc/php/7.3/cli/conf.d/30-vips.ini,
/etc/php/7.3/cli/conf.d/30-zstd.ini

PHP API => 20180731
PHP Extension => 20180731
Zend Extension => 320180731
Zend Extension Build => API320180731,NTS
PHP Extension Build => API20180731,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams 

RE: Setup Billing - the error code is not in this version.

2021-10-15 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Viktor,

Thanks for posting your concern to us. I had to delete your initial post as it 
contained your logs. I am reposting below without the sensitive log information 
for reference :

“Hello! I use lib google-ads-php last version. I try call 
google-ads-php/examples/Billing/AddBillingSetup.php and i have error.

I all ready tested all params. Also i see the same problem 
https://groups.google.com/g/adwords-api/c/4DfyztBRDBs/m/fb3PY-JvBQAJ

Thanks!

Method Name: 
/google.ads.googleads.v8.services.BillingSetupService/MutateBillingSetup

Host: googleads.googleapis.com

Response

---

Fault

---

Status code: 3

Details: Request contains an invalid argument.

Failure: {"errors":[{"errorCode":{"requestError":"UNKNOWN"},"message":"The 
error code is not in this 
version.","location":{"fieldPathElements":[{"fieldName":"operation"},{"fieldName":"create"},{"fieldName":"start_time"}]}}],".

Google Ads failure details:

request_error: The error code is not in this version.

”

Could you provide us with the complete request and response logs with the 
request-id when you encountered the error, so our team can better check?

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. PHP) > Logging documentation, which you 
can access from this link. You may then send the requested information via the 
Reply privately to author option. If this option is not available, you may send 
the details directly to our googleadsapi-supp...@google.com alias instead.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2PJYmo:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/STcpm0R10U0V00bsijIJxoQqW2pz4KywnLIQ%40sfdc.net.


Setup Billing - the error code is not in this version.

2021-10-14 Thread Viktor Shchepkin
Hello! I use lib google-ads-php last version. I try call 
google-ads-php/examples/Billing/AddBillingSetup.php and i have error. 
I all ready tested all params. Also i see the same problem 
https://groups.google.com/g/adwords-api/c/4DfyztBRDBs/m/fb3PY-JvBQAJ
Thanks!


Method Name: 
/google.ads.googleads.v8.services.BillingSetupService/MutateBillingSetup
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.3.31-1+ubuntu20.04.1+deb.sury.org+1 
gccl\/12.0.0 gapic\/12.0.0 gax\/1.9.1 grpc\/1.38.0 rest\/1.9.1",
"x-goog-request-params": "customer_id=4956792203",
"developer-token": "REDACTED",
"login-customer-id": "9279005797"
}
Request: 
{"customerId":"4956792203","operation":{"create":{"paymentsAccount":"customers/4956792203/paymentsAccounts/1742---","startDateTime":"2021-10-14","endDateTime":"2021-10-15"}}}

Response
---
Headers: {
"request-id": "KgYsCavVvAGD8ggiU3iP2A",
"date": "Thu, 14 Oct 2021 12:24:48 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; 
ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; 
ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
}

Fault
---
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"requestError":"UNKNOWN"},"message":"The 
error code is not in this 
version.","location":{"fieldPathElements":[{"fieldName":"operation"},{"fieldName":"create"},{"fieldName":"start_time"}]}}],"requestId":"KgYsCavVvAGD8ggiU3iP2A"}
  
Request with ID 'KgYsCavVvAGD8ggiU3iP2A' has failed.
Google Ads failure details:
request_error: The error code is not in this version.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/26282c39-8021-4bec-994d-e9c7c41cf8e6n%40googlegroups.com.