AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread do
Hi

I am using a script very similar to upload_offline_conversions.pl with 
v201409
a difference is that i am setting the oauth handler in the script:

my $client = Google::Ads::AdWords::Client-new({version = 
v201409});
$client-set_developer_token($clientSettings-{developer_token});

$client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});

$client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});

$client-get_oauth_2_handler()-set_access_token($agent-{access_token});

$client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

it works fine in v201406 but in v201409 i am getting this error: 
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87f0ef2d-6050-47db-898a-64508de8ccd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread Danial Klimkin
Hello,


This error means you are not providing the clientCustomerId in the request, 
which is required as of v201409.

This is the CID of your account (string like 123-456-7890)


-Danial, AdWords API Team.

On Thursday, November 27, 2014 3:31:51 PM UTC+3, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fd64a34-32d1-485d-a63b-7b2defc993d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread do
How do i provide that to the request using the perl lib ?

On Thursday, November 27, 2014 1:31:51 PM UTC+1, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/63caa7cc-2975-4da4-a3bc-8fcf5b094d3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread Danial Klimkin
This should be:

  $client-set_client_id(123-456-7890)


-Danial.

On Thursday, November 27, 2014 4:09:31 PM UTC+3, d...@adservice.com wrote:

 How do i provide that to the request using the perl lib ?

 On Thursday, November 27, 2014 1:31:51 PM UTC+1, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/41c8f3dd-2367-4105-9364-af7ee65b8ae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.