Hi, I'm trying to create campaign using Google ads api v11 nuget package
for .net core
and getting permission denied error.
Here is client creation:
All configs are created from manager account side
var client = new GoogleAdsClient(new
Google.Ads.GoogleAds.Config.GoogleAdsConfig
{
OAuth2Mode = Google.Ads.Gax.Config.OAuth2Flow.APPLICATION,
OAuth2ClientId = "clientId",
OAuth2ClientSecret = "clientSecret",
OAuth2RefreshToken = "refreshToken",
DeveloperToken = "devToken",
LoginCustomerId = "managerCustomerId"
});
var retVal = campaignService.MutateCampaigns(customerId, operations);
// where customerId is customer id of the account linked with manager
account.
Am I doing anything wrong here?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/986a3891-7268-4e7a-aeaa-9e3666777621n%40googlegroups.com.