Hi Federico,
Thanks for reaching out to the Google Ads API Forum.
Kindly see below responses to your queries:
1) How's that? What config/permission should I check? Is Desktop Oauth 2.0 Client Id supposed to be working in my cases?
>. I can see that you are pulling campaign data. You may need not to add LinkedCustomerId in your config file since it is not required for the pulling campaigns. The USER_PERMISSION_DENIED error usually indicates that you are authenticating as a user that does not have access to the account (7286318246) specified in your API request.
Also, since you specified the "login-customer-id": "4049465539", you may double check if the user / email address you used to generate your OAuth2 credentials indeed has access to the said 4049465539 MCC / manager account.
To avoid the above error, you will need to ensure that the user / email address you used to generate the credentials indeed has access to the account in your request. If the user / email address has access or is associated to the MCC / manager account, you will need to specify the said MCC / manager account's ID as the value of the login-customer-id field.
If you still persist with the error, you may provide us with the complete request, request header and response logs, with the request-id in text format along with the email address used to generate the OAuth2 credentials via reply privately to author option, so that we can continue to investigate further.
2) My final objective is to use Enhanced Conversions (mainly the https://github.com/googleads/google-ads-dotnet/blob/main/Google.Ads.GoogleAds/examples/Remarketing/UploadConversionEnhancement.cs ; example).
Is it even possible to test this API with a developer token using our production conversions? If it's not possible, how can I create a testing environment for Enhanced Conversions before requiring a production developer token? (p.s. we don't have https://workspace.google.com/ which seems a payment service)
>> Yes, it is possible to test this API with a developer token using your production conversions. You may need to use validate_only field to True, while sending API requests so this will not execute but validate the request.
Also, you may able to create a testing environment for Enhanced Conversions before requiring a production developer token but using Test account access level developer token. You may refer to this guide:https://developers.google.com/google-ads/api/docs/first-call/test-accounts
Regards,
|
||||||
Hi Federico,
Just to add, you may disregard typo account 7286318246 mentioned in above response.
Regards,