Highlighted

Performance Report API filter by segment

shalineed20

20-12-2016

I am trying to filter the performance report by segment names. I have tried parameter names: 'Segments', 'SegmentName', 'allSegments'. The API is working but when the report is compared with the report with all segments(No filtering by segment), I do not see any change in count values of successmetrics. Both the reports are same.

Please help to resolve the issue. 

Replies

ParitMittal

23-12-2016

Hi ,

The parameter name is "reportingSegmentLocalId" & for multiple params - either you can send comma separated list of IDs or concatenate individual localId param like this
"reportingSegmentLocalId=1&reportingSegmentLocalId=2&reportingSegmentLocalId=3"

Thanks & Regards

Parit Mittal

Highlighted

shalineed20

28-12-2016

Hi Parit,

Thanks for the response, I have tried the parameter “reportSegmentLocalId” by providing some segment value to this but it is not filtering by segment however API is not showing any error.

This parameter is looking for any specific Id for each segment, I looked into the Target Standard and Classic as well but I didn’t find any specific Id defined for each segment there. To make this parameter workable for Performance Report API, how could I get these Ids?

Please help to resolve this.

Highlighted

ParitMittal

02-01-2017

Hi Shalinee,

Did you check the campaign definition via APIs ?. pls check that and look for segmentLocalId field there.

Thanks & Regards

Parit Mittal

Highlighted

shalineed20

06-01-2017

Hi Parit,
Yes, I have checked the campaign definition via "Campaign View API" and tried different version of this API as well but I didn't find "reportSegmentLocalId" in any of the response of this API. 
Can you please guide where would I get this ID and if you can share a sample response of the API which gives this ID that would be great.

Thanks,
Shalinee Dutta

Highlighted

ParitMittal

12-01-2017

Hi Shalinee,

I have redirected your query to the concerned team and will get back to you on this ASAP.

Thanks & Regards

Parit Mittal

Highlighted

ParitMittal

18-01-2017

Hi Shalinee,

 

Can you please share your company details with us like  Client Code, Company Account Name in a private message so that we can help you with the Exact API Call.

 

Thanks & Regards

Parit Mittal