Expand my Community achievements bar.

SOLVED

Campaign Adobe IO Rest API - Not able to set Organizational Unit & Geo Unit

Avatar

Level 4

Hi,

We are using Adobe IO Rest API to create a profile and add the subscriptions to the profile.

We are always getting the error "orgUnit property is not valid for the 'profile' resource." when we trying to override the default value ("all") set by profileAndServicesExt/profile api. Same applicable for geoUnit.

Note: We are using custom profile that get extended from default one with

Any pointer to fix this will help us more.

-Prem

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Kornel,

I did verify from Engineering. They had released the feature to have Geo and Org units assigned based on the settings of security group used in Integration on Adobe.IO but the feature was removed as it lead to an issue which was too risky to fetch.

Now they are working on providing you with the ability to push geo and org unit on the API payload itself.

At the moment, you can have profiles created from API and then have a workflow running on the instance which updates profiles every 5 minutes with correct geo and org unit.

Regards,
Vipul

View solution in original post

15 Replies

Avatar

Employee

Hi Prem,

At the moment, ACS doesn't allow you to pass orgUnit and geoUnit in the payload. This is a feature which is part of the proposed enhancements of ACS.

At the moment, you need to have security groups defined per geoUnit + OrgUnit combination.

Then for these security groups, create an individual integration point in Adobe IO.

Use that specific integration to add profiles into ACS, they will get the designated geo and org unit details.

If this is cumbersome for you, the only other option is to have a workflow that runs every x minutes to update the profiles based on country or specific custom field that can help determine the relevant geo and org units.

Hope this helps.

Regards,
Vipul

Avatar

Level 4

Hi Vipul,

We have tried the first approach as you said, but we are always seeing the profile has been created with value of orgUnit and GeoUnit pointing to the value "all" instead of the one that we chosen on security group.

Steps Followed,

  1. Created custom security group with OrgUnit and GeoUnit pointing to our custom value on campaign server.
  2. Created mapping for that security group on adobe marketing cloud with the format "Campaign Standard - <Tenant ID> - <Security group>".
  3. Created Adobe IO integration for campaign with value pointed to the custom security group.
  4. Made Post call to the profileandservicesext api.

Any Pointer to fix this will help us more.

Thanks,

-Prem

Avatar

Employee

Hi Prem,

I've redid my test for step1 as done in past but it is not working anymore.

Can you please log a case with support to report this to Engineering.

Regards
Vipul

Avatar

Level 3

Hi,

I ran into the same issue on Adobe Campaign Standard. Our profile resource was extended with access authorization fields. We create profiles via the REST API and need to put the new profiles into the right Org and Geo units.

We have a lot of geo units to support (>60) and it would be too complicated generating so much api clients and switching between them when issuing the REST API calls.

Is there any other solution?

Is this feature expected to appear in a new release in the near future?

Thanks,

Kornel

Avatar

Level 10

Hi Kornel,

I will check if there are plans with the team. If you have the same issue, please do as Vipul suggested and raise a request to support so that our engineers have a look at it.

Thanks,

Florent

Avatar

Correct answer by
Employee

Hi Kornel,

I did verify from Engineering. They had released the feature to have Geo and Org units assigned based on the settings of security group used in Integration on Adobe.IO but the feature was removed as it lead to an issue which was too risky to fetch.

Now they are working on providing you with the ability to push geo and org unit on the API payload itself.

At the moment, you can have profiles created from API and then have a workflow running on the instance which updates profiles every 5 minutes with correct geo and org unit.

Regards,
Vipul

Avatar

Level 2

Hi Vipul,

We have tried to run the workflow but it doesn't allow to update the Geo Unit for us. What exactly do we set in the attribute of geoUnit? For instance, if we have to set 'all' do we specify 'all' as the value or do we look for the id of the geoUnit and update the id in the profile?

Thank you

Ravish Patel

Avatar

Employee

Hi Ravish.

Geo Unit and Org Units are separate schemas and hence if you wish to update them by workflow, you need to first use Reconciliation activity after your Data Loading one, to link the incoming population with two schemas.

Please check the definition of both the schemas to understand what values they hold and you will have to work accoordingly.

Regards,
Vipul

Avatar

Level 2

Hi

any update on this feature?

Is still not possible to update geo and org unit via API?

Any news on this?

Fabio

Avatar

Level 1

Hi,

same applies here. We want to make more use of the API and want to create a profile associated with a orgUnit.

However, the API-Doc (Adobe Campaign Standard API ) states to use the resource /orgUnitBase to retrieve all OrgUnits, but this fails with

RST-360011 An error has occurred - please contact your administrator.

Error rc=-2003

Surely we don't want to run a workflow every x minutes, since we need to trigger a double-op-in mail after profile creation as well.

Could you please help?

Thanks in advance

Steffen

Avatar

Employee Advisor

Hi Steffen,

you can use  profileAndServicesExt/orgUnitBase/  which should work

Avatar

Level 1

Hi Ramon,

thank you for the fast reply. Unfortunately it doesn't work.

First thing to notice, whenever i GET a profile, there is no mapping to the orgUnit in the Response. However, the Profile DB is extended and via browser the organizational Unit can be maintained and is used by our double opt in process and profiles subscribing through that process gat flagged with the correct orgUnit. But it is only visible via WEB.

When i call GET ...profileAndServicesExt/orgUnitBase/..still the following error occurs:

RST-360011 An error has occurred - please contact your administrator.

Error rc=-2003

Any suggestions?

Thank you

steffen

Avatar

Employee Advisor

Hi Steffen,

this was added with a recent release though would only be available upon republication of your custom data model.

Can you try doing a republication?

Normally "prepare publication" would then also show that orgUnitBase service will be added

Avatar

Level 2

Hello Ramon,

Are there any release notes around this feature introduction that we can send to client for reference? This has been a long standing pain point for one of our clients.

ThAnn you

Ravish Patel

Avatar

Employee Advisor

Hi Ravish,

The release notes just have a short sentence pointing to updated API documentation.

That one describes the endpoints quite good:

Adobe Campaign Standard API