We've just started on testing out the new Google Ads API, and have ran into the "Bad metadata value given" error message today. Yesterday, the following code worked:
$configuration = new Configuration($iniFileContents); $tokenBuilder = new OAuth2TokenBuilder(); $credentials = $tokenBuilder->from($configuration)->build(); $clientBuilder = new GoogleAdsClientBuilder(); $clientBuilder->from($configuration) ->withOAuth2Credential($credentials) ->withLoginCustomerId([customer ID as int]); $client = $clientBuilder->build(); $client->getCustomerServiceClient()->listAccessibleCustomers(); But when I started on it again this morning, it threw the "Bad metadata value given" error. I do not see why this has suddenly happened. Any ideas? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/951a1ab2-1bc4-4ce0-981d-12327c69458f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.