We have an adwords API key and I want our system to allow other clients to
access their MCC account data using our platform.
I would do this in any method possible, OAuth, adwords client library,
google apps.
I know this is possible because I have seen other software that does this.
If anyone
I keep getting, AuthorizationError.USER_PERMISSION_DENIED
What is the point of them logging in, if you need to get their permission
again.
I want anyone to be able to access their adwords account, via our platform.
Like so many other apps and websites do.
I have refresh tokens and I can access
s->Google_model->saveAuth($user, $tokenFilename);
echo "";
//print_r($user);
// Get a list of campaigns
//$camps = $this->Google_model->GetCampaignsExample($user);
$campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);
FAILS HERE
Authorizatio
tml/d...')
#6 {main}
thrown in
/var/www/html/dev/application/libraries/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php
on line 201
On Thursday, November 14, 2013 11:38:30 AM UTC-5, Christian Gibbs wrote:
>
> I keep getting, AuthorizationError.USER_PERMISSION_DENIED
>
>
this error. The OAuth2 flow only authorizes your
> access to an account, that account needs to be linked to all other accounts
> it wishes to access.
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Friday, 15 November 2013 15:53:28 UTC, Christian Gibbs wrote:
>>
ror code
> you're
> receiving<https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>is
> mostly connected to this error. The OAuth2 flow only authorizes your
> access to an account, that account needs to be linked to all other a
g<https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>is
> mostly connected to this error. The OAuth2 flow only authorizes your
> access to an account, that account needs to be linked to all other accounts
> it wishes to access.
>
old feature, which is being
> deprecated; it allowed you to capture an email/password to authorize with.
> See here: https://developers.google.com/accounts/docs/AuthForInstalledApps
>
>
> On Monday, December 9, 2013 6:54:38 AM UTC-8, Christian Gibbs wrote:
>>
>> Can some
This is the new favorite thing its doing now.
Uncaught exception 'OAuth2Exception' with message '{ "error" :
"invalid_request" }'
On Monday, December 9, 2013 6:21:48 PM UTC-5, Christian Gibbs wrote:
>
> Im using OAUTH2 and Ive done many
Now I am back to here,
[message:protected] => [AuthorizationError.USER_PERMISSION_DENIED @ ;
trigger:'']
On Monday, December 9, 2013 6:32:19 PM UTC-5, Christian Gibbs wrote:
>
> This is the new favorite thing its doing now.
>
>
> Uncaught exception 'OAuth2
I am trying to access accounts that are not linked to our MCC by the
consent of the user.
It first starts here,
$user = new AdWordsUser();
$user->SetOAuth2Info(array(
"response_type" => 'code',
"client_id" => $clientId,
"client_secret" => $clientSecret,
"access_token" => $access
> unlinked account
> <https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.AuthorizationError#reason>.
>
>
> Regards,
>
> - Paul, AdWords API Team.
>
>
> On Thursday, 14 November 2013 08:38:30 UTC-8, Christian Gibbs wrote:
>>
>
.
One of your colleague is saying it is possible.
On Tuesday, December 10, 2013 11:30:26 AM UTC-5, Christian Gibbs wrote:
>
> I updated everything over like you said with the OAuthHandler class.
>
> One of your staff said this.
>
>
> Takeshi Hagikura (AdWords API Team)[i
result->access_token;
$user = new AdWordsUser();
$user->SetOAuth2Info(array(
"client_id" => $clientId,
"client_secret" => $clientSecret,
"access_token" => $access_token,
"refresh_token" => ""
));
I save the Auth Info a
result->access_token;
$user = new AdWordsUser();
$user->SetOAuth2Info(array(
"client_id" => $clientId,
"client_secret" => $clientSecret,
"access_token" => $access_token,
"refresh_token" => ""
));
I save the Auth Info
UTC-5, Christian Gibbs wrote:
>
> I GOT IT!
>
>
>
> After getting the ?code= from the URL
>
>
> $url = "https://accounts.google.com/o/oauth2/token";;
> $params = array(
> "code" => $authCode,
> "client_id" => $c
ich
> sub account you're accessing.
>
> For more information on this please read the
> README<https://code.google.com/p/google-api-adwords-php/source/browse/README#56>
> .
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Tuesday, 10 December 2013
;
> Regards,
>
> - Paul, AdWords API Team.
>
> On Tuesday, 10 December 2013 12:58:26 UTC-8, Christian Gibbs wrote:
>>
>> By the way, your video helped. Because I didnt know there was a new
>> Auth.ini file.
>>
>> Now Im getting this error.
>>
>&
18 matches
Mail list logo