Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Retrieve standard segment IDs via API

Avatar

Avatar
Validate 1
Level 1
johannesw114391
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
johannesw114391
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
johannesw114391
Level 1

03-04-2019

Hello everybody,

I want to retrieve segmented data via the Adobe Analytics API. I have a script providing me with the segment IDs I need for structuring my API calls, however, they only provide me the IDs of the custom segments I created or somebody else created and shared with me:

library(RSiteCatalyst)

SCAuth("[MY_CREDENTIALS]", "[SHARED_SECRET]")

segments <- GetSegments("[REOPORTSUITE]")

print(segments)

I still need the standard segments like "Return Visits", "First Time Visits" etc, though. Unfortunately, until now I was not able to find information the API call I need in order to obtain those segments' IDs.

Can anyone tell me how to get these IDs?

Thanks a lot in advance,

Jonis

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
ankits28281247
Employee

Likes

21 likes

Total Posts

80 posts

Correct Reply

24 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Give Back 5
Employee
ankits28281247
Employee

Likes

21 likes

Total Posts

80 posts

Correct Reply

24 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile
ankits28281247
Employee

03-04-2019

Hi Jonis,

API's does not return the OOB segments, however you can create a copy of the standard segment from the UI and than you should be able to retrieve those from API's.

I think this is a useful resource too GET Shared Segments from Analytics API 2.0 

-Ankit

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
johannesw114391
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
johannesw114391
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
johannesw114391
Level 1

03-04-2019

Thank you very much for the quick response! This worked.