1 more note to not confuse you: error happens when I am trying to create 
AdGroupAd

On Thursday, July 9, 2020 at 3:54:41 PM UTC+2, Uladzislau Zayats wrote:
>
> Hello.
>
> I am getting an error when I try to create google ads display campaign 
> (Beta API) that contains HTML5 or AMPHTML ad. 
> This is the error:  
> GrpcError: Unauthorized invocation of a service's method (get, mutate, 
> etc.)
>
>
>
> Here I post more info to better describe what happens.
>
> Ad group ad object (JSON):
>  {
>   name: 'vlad test amphtml.zip',
>   type: 21,
>   final_urls: [ 'https://google2.com' ],
>   display_url: 'https://google2.com',
>   display_upload_ad: {
>     media_bundle: { asset: 'customers/8497700244/assets/9264037065' },
>     display_upload_product_type: 2
>   }
> }
>
> Error:
> Trace: GrpcError: Unauthorized invocation of a service's method (get, 
> mutate, etc.)
>     at AdGroupAdService.<anonymous> 
> (/usr/src/app/node_modules/google-ads-api/build/services/service.js:200:23)
>     at Generator.throw (<anonymous>)
>     at rejected 
> (/usr/src/app/node_modules/google-ads-api/build/services/service.js:6:65) {
>   code: { operationAccessDeniedError: 2 },
>   request: {
>     customerId: '8497700244',
>     operationsList: [ [Object] ],
>     partialFailure: false,
>     validateOnly: false
>   },
>   request_id: '_SraD8mid48f6KlOmwmmNA',
>   location: 'operations[0].create.ad.display_upload_ad',
>   failure: Error: 3 INVALID_ARGUMENT: Unauthorized invocation of a 
> service's method (get, mutate, etc.)
>       at Object.exports.createStatusError 
> (/usr/src/app/node_modules/grpc/src/common.js:91:15)
>       at Object.onReceiveStatus 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:1209:28)
>       at InterceptingListener._callNext 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:568:42)
>       at InterceptingListener.onReceiveStatus 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:618:8)
>       at Object.onReceiveStatus 
> (/usr/src/app/node_modules/google-ads-node/build/lib/interceptor.js:109:17)
>       at InterceptingListener._callNext 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:568:42)
>       at InterceptingListener.onReceiveStatus 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:618:8)
>       at Object.onReceiveStatus 
> (/usr/src/app/node_modules/google-ads-node/build/lib/interceptor.js:161:13)
>       at InterceptingListener._callNext 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:568:42)
>       at InterceptingListener.onReceiveStatus 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:618:8)
>       at callback 
> (/usr/src/app/node_modules/grpc/src/client_interceptors.js:847:24) {
>     code: 3,
>     metadata: Metadata { _internal_repr: [Object], flags: 0 },
>     details: "Unauthorized invocation of a service's method (get, mutate, 
> etc.)"
>   }
> }
>
> I am able to create other kinds of ads: Responsive display ad, Image ad. I 
> am only struggling with HTML5 and AMPHTML ads.
>
> Here is request id if it matters for you: 
> _SraD8mid48f6KlOmwmmNA
>
> Please help me as I am fighting with this issue almost a week. Maybe there 
> is some kind of attributes that is not allowed by API?
> I have "Basic access" to api if it matters (no standard access).
>
> BR, Vlad
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2557e0c-300d-4ec6-82fe-591a93dbaaceo%40googlegroups.com.

Reply via email to