Hi Google Team,
We have upgrated the Google Ads API to the latest version V13. However, all
calls we made are stucked without any response.
This is an example of code.
public override SocialAudience CreateCustomAudience(SocialAudience
SAudience, List<SocialCampaignItemPage> EventSource = null)
{
configGoogleAdsApi.OAuth2RefreshToken =
SAudience.AdAccount.GoogleUser.Refresh_Token;
GoogleAdsClient client = new GoogleAdsClient(configGoogleAdsApi);
UserListServiceClient service =
client.GetService(Services.V13.UserListService);
Google.Ads.GoogleAds.V13.Services.UserListOperation operation;
Google.Ads.GoogleAds.V13.Resources.UserList userList = new
Google.Ads.GoogleAds.V13.Resources.UserList()
{
Name = SAudience.Audience.Name,
Description = SAudience.Audience.Description ?? "",
MembershipLifeSpan = 10000,
MembershipStatus =
UserListMembershipStatusEnum.Types.UserListMembershipStatus.Open,
CrmBasedUserList = new CrmBasedUserListInfo()
{
UploadKeyType =
Google.Ads.GoogleAds.V13.Enums.CustomerMatchUploadKeyTypeEnum.Types.CustomerMatchUploadKeyType.ContactInfo
}
};
operation = new Google.Ads.GoogleAds.V13.Services.UserListOperation()
{
Create = userList
};
try
{
Google.Ads.GoogleAds.Util.TraceUtilities.Configure(Google.Ads.GoogleAds.Util.TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE,
"C:\\logs\\details.log", System.Diagnostics.SourceLevels.All);
MutateUserListsResponse result =
service.MutateUserLists(SAudience.AdAccount.Social_ID, new[] { operation });
UserListName userListName =
UserListName.Parse(result.Results[0].ResourceName);
SAudience.Social_ID = userListName.UserListId;
SAudience.Size = 0;
return SAudience;
}
catch (GoogleAdsException E)
{
throw;
}
}
Any Help Please.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a7acdb9b-d194-400b-b1ce-e6d90b342d38n%40googlegroups.com.