Hi,

 

Since last 2 days we have been getting “AuthenticationError. 
OAUTH_TOKEN_INVALID” error while calling feed service to create customer 
feeds for GMB location for all the accounts. We use GMB only to create 
location extensions in AdWords.

 

Attached is the request and response for a sample account.

 

*Error details:*

<faultstring>[AuthenticationError.*OAUTH_TOKEN_INVALID* @ 
operations[0].operand.systemFeedGenerationData.oAuthInfo; 
trigger:'https://www.googleapis.com/auth/plus.business.manage']</faultstring>

<trigger>https://www.googleapis.com/auth/plus.business.manage</trigger>

               
<errorString>AuthenticationError.OAUTH_TOKEN_INVALID</errorString>

               <ApiError.Type>AuthenticationError</ApiError.Type>

               <reason>OAUTH_TOKEN_INVALID</reason>

 

Also there were no changes (api/property) made at our end since last 2-3 
days which can lead to this error.Feed service creation was working fine a 
few days ago for the same soap request and response.

 

*Other Details:*

 

We use centralized/common GMB business account for multiple AdWords 
accounts, so the GMB account uses different sign-in email address from the 
one used for our AdWords account(s).

 

Request:

<operand>

                    <name>GMBLocationExtension</name>

                    <origin>ADWORDS</origin>

                    <systemFeedGenerationData xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201708"; 
xsi:type="ns2:PlacesLocationFeedData">

                        <ns2:oAuthInfo>

                            <ns2:httpMethod>GET</ns2:httpMethod>

                            <ns2:httpRequestUrl>
https://www.googleapis.com/auth/plus.business.manage</ns2:httpRequestUrl>

                            <ns2:httpAuthorizationHeader>GMB API user 
access token</ns2:httpAuthorizationHeader>

                        </ns2:oAuthInfo>

                        <ns2:emailAddress>
[email protected]</ns2:emailAddress>

                        <ns2:labelFilters>4177937093</ns2:labelFilters>

                    </systemFeedGenerationData>

                </operand> 

 

GMB refresh/access token is generated with scope (only GMB): 
https://www.googleapis.com/auth/plus.business.manage

Adwords refresh/access token is generated with scope (adwords and GMB): 
https://adwords.google.com/api/adwords  
https://www.googleapis.com/auth/plus.business.manage

 

Also other adwords api services like campaign creation, budget updates etc 
using same adwords access token is created successfully and GMB location 
are created successfully in GMB account using GMB access token. 

 

Any insight to why this is happening and how to resolve this would be great.

 


Thanks

Gurpreet Singh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/030eecd6-6914-40e9-b1a5-53b9b95d5f0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AdWords : Feed S... gurpreet . admaxlocal
    • Re: AdWords... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: AdW... gurpreet . admaxlocal
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to